Page 1 of 1

apache : alias pointing elsewhere than documentroot = php ko

PostPosted: 18. July 2008 20:59
by scavenger
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 :)