> 1) Within Apache's httpd.conf file I have the following set:
> DocumentRoot "D:/Program Files/Apache Group/Apache/realdocs"
> <Directory "D:/Program Files/Apache Group/Apache/realdocs">
> RedirectMatch permanent ^/$ "P:/Main Projects/Test/index.php"
> ScriptAlias /php/ "d:/php/"
> AddType application/x-httpd-php .php .phtml
> Action application/x-httpd-php "/php/php.exe
I don't think you can have files outside of DocumentRoot be served up...
I suspect RedirectMatch only works to mangle one path within DocumentRoot to
Even if Apache was willing to do it, PHP as a CGI is probably compiled to
not allow that, *especially* if safe_mode is on, or any of the other
security directives. Check those with a phpinfo()
You *COULD* create VirtualHosts with different DocumentRoot, and make
P:/whatever be a different hostname...
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]