Forum Moderators: phranque
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
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
- 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.