using mapped network drives with apache for windows?

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....


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-16-2004
Paul Wardlow
 
Posts: n/a
Default using mapped network drives with apache for windows?

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>


  #2 (permalink)  
Old 10-04-2004
NiTeHaWK
 
Posts: n/a
Default Re: using mapped network drives with apache for windows?

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:13 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0