This is a discussion on using mapped network drives with apache for windows? within the Linux Web Servers forums, part of the Web Server and Related Forums category; i get a 404 file not found. why? z:/ is a mapped network drive. <VirtualHost *:80> ServerName pacificrealm....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
i get a 404 file not found. why?
z:/ is a mapped network drive. <VirtualHost *:80> ServerName pacificrealm.servegame.com DocumentRoot Z:\pacificrealm.servegame.com\htdocs # ErrorLog Z:/pacificrealm.servegame.com/logs/error_log.txt # CustomLog Z:/pacificrealm.servegame.com/logs/access_log.txt common ServerAdmin XXX </VirtualHost> |
|
|||
|
Paul Wardlow wrote:
> i get a 404 file not found. why? > z:/ is a mapped network drive. > <VirtualHost *:80> > ServerName pacificrealm.servegame.com > DocumentRoot Z:\pacificrealm.servegame.com\htdocs > # ErrorLog Z:/pacificrealm.servegame.com/logs/error_log.txt > # CustomLog Z:/pacificrealm.servegame.com/logs/access_log.txt common > ServerAdmin XXX > </VirtualHost> > > Try this <VirtualHost *:80> ServerName pacificrealm.servegame.com DocumentRoot Z:\pacificrealm.servegame.com/htdocs ErrorLog Z:\pacificrealm.servegame.com/logs/error_log.txt CustomLog Z:\pacificrealm.servegame.com/logs/access_log.txt common ServerAdmin XXX </VirtualHost> The "Z:\" specifies the drive the way that windows can understand it and follow it, so the win32 version of apache your using should follw that okay, BUT.... given the linux/unix filesystem conventions to change directorys you need to use the "/" not the "\" Heres what I mean... (lets pretend Z drive is local drive) To execute a untility on Z drive located in a directory youed type.. z:\utilitys\nameOfUntil.exe but with the way the linux/unix file system works it would be... /utilities/nameOfUntil So, to specify a drive use "\" but to go down the directory tree use "/" and you should be right Good luck, NiTeHaWK |
| Thread Tools | |
| Display Modes | |
|
|