PDA

View Full Version : httpd.conf help needed



harrylmh
May 23rd, 2002, 06:27
Hello all,

What directives do I need to add to my httpd.conf to allow access to a directory outside documentroot?
documentroot is C:\Apache\www
folder is C:\Apache\Secret

I also tried to use this in my .htaccess in \www\:
php_value include_path /secret/

but it also didn't help


Please tell me how.
Thanks

YUPAPA
May 23rd, 2002, 08:14
NameVirtualHost your_ip_address
<VirtualHost your_ip_address>
ServerName myserver.com
ServerAlias www.myserver.com
DocumentRoot C:\Apache\Secret
</VirtualHost>

REPLACE your_ip_address with your real IP address.
NOW, restart apache and go to http://your_ip_address

harrylmh
May 23rd, 2002, 13:39
I got it to work already thanks.