Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Setting up virtual hosts |
|
Author |
|
Mike-H
Joined: 29 Dec 2008 Posts: 16
|
Posted: Mon 29 Dec '08 22:09 Post subject: Setting up virtual hosts |
|
|
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
|
Posted: Tue 30 Dec '08 10:54 Post subject: |
|
|
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 |
|
|
|
|
|
|