apache : alias pointing elsewhere than documentroot = php ko

Problems with the Windows version of XAMPP, questions, comments, and anything related.

apache : alias pointing elsewhere than documentroot = php ko

Postby scavenger » 18. July 2008 20:59

hello !

under windows, i got latest xampp and php running well

=> i tried to create an alias pointing to a rep outside the documentroot (H:\www\root) : alias /SHARES H:\XXX

It's working with html but not php scripts using the variable : $_SERVER['DOCUMENT_ROOT'] ! It calls for the documentroot from the apache httpd.conf, but since the script is placed elsewhere it cannot function !

how can i define another documentroot juste for this alias ? or maybe a vhost ?

i need an idea, please :)
-=ScavengeR=-
scavenger
 
Posts: 1
Joined: 15. July 2008 00:40
Location: paris

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 21 guests