Forum Moderators: phranque

Message Too Old, No Replies

Apache Directory Configure

vista

         

smyomin

9:40 am on Apr 20, 2006 (gmt 0)

10+ Year Member



Hi guys!

greeting again. i would like to know about the defining the apache directory.

i can define to document root to any folder of local drive editting with conf file even a temp drive like Flash Drive.

However, the problem is i can't define the network map drive to apache root. so it is possible? if possible please kindly guide me how do i do?

highly apreiciate with your helps.

smyomin

hakre

6:39 pm on Apr 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi smyomin,

what is the thingy you call "network map drive", what kind of os you are using and what is the exact error message you get if you say you "can't do that".

in general you can map the root to whereever you want in your drivespace.

smyomin

9:40 am on Apr 21, 2006 (gmt 0)

10+ Year Member



first of all thanks for ur reply,

i am using WinXP SP2. well, i made the virtual drive in my computer to mapping the sharing folder of other computer through the LAN or WAN.

and after that i edit document directory in apache config file to defining that virtual drive.

example : i made virtual directory z:/ map to other computer within LAN.

then i edit in config file as followed:_

DocumentRoot "z:/newfolder" IN STEAD OF

DocumentRoot "C:/Program Files/xampp/htdocs"

And

<Directory "z:/newfolder"> IN STEAD OF <Directory "C:/Program Files/xampp/htdocs">

but it doesnt work.

smyomin

hakre

10:10 am on Apr 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



- are you using pro or home?

- check the permissions. does the user apache is running with has access to the share?

- what is the error message by apache. i think it checks webroot while starting, just check the error.log

- if it's not possible to map to a removeable drive with apache (internally a network drive is handled quite like a cd-rom) which i doubt but which i am not 100% sure about, you can try to map map the network drive into your harddisk by creating a junction point. maybe this helps.

but before that i would try to figure out what apache is complaining about.

jdMorgan

2:15 pm on Apr 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Remember that Windows uses backslashes as filepath element separators, and that may come into play at this network-drive level.

Jim