logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Setting up virtual hosts
Author
Mike-H



Joined: 29 Dec 2008
Posts: 16

PostPosted: Mon 29 Dec '08 22:09    Post subject: Setting up virtual hosts Reply with quote

Hi,

I decided to do my testing locally on my computer, so installed Apache 2.2 and PHP. I am having trouble getting virtual hosts to work as follows:

If my web files are located in a folder on my c: drive, vhosts works fine and I can serve html or php files just fine.

If I move my web files to a networked hard drive which is mapped to my pc as the L: drive, and change the paths in extra/httpd-vhosts.conf to reflect the path on the L: drive, Apache will not load. Is this not allowed to have a virtual host directory on a network drive?

I am running on XP Professional, the network drive is on a Windows Server 2008 in another part of the building.

Thanks,
Mike
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 30 Dec '08 10:54    Post subject: Reply with quote

If you are running apache as service apache is not allowed to access a networkdrive. The system user is limited. You can try to run the service as a different user.
Back to top


Reply to topic   Topic: Setting up virtual hosts View previous topic :: View next topic
Post new topic   Forum Index -> Apache