iStormy
09-18-2003, 08:14 PM
I use a simple PHP template system on a web site that I just moved to a DirectAdmin server. I have a .htaccess that contains:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME}/body.php -f
RewriteRule .* /home/admin/domains/raincrazy.com/public_html/template/engine.php [L]
It checks to see if the requested file happens to be a directory with a body.php file in it, and if so, redirects to call my template script.
I get this error message in my logs when I try it:
[Thu Sep 18 20:55:48 2003] [error] [client 10.0.0.4] (13)Permission denied: access to /template/engine.php failed because search permissions are missing on a component of the path
Ideas? I'm not sure how it is losing the rest of the pathname. Open_basedir is commented out of /usr/local/lib/php.ini.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME}/body.php -f
RewriteRule .* /home/admin/domains/raincrazy.com/public_html/template/engine.php [L]
It checks to see if the requested file happens to be a directory with a body.php file in it, and if so, redirects to call my template script.
I get this error message in my logs when I try it:
[Thu Sep 18 20:55:48 2003] [error] [client 10.0.0.4] (13)Permission denied: access to /template/engine.php failed because search permissions are missing on a component of the path
Ideas? I'm not sure how it is losing the rest of the pathname. Open_basedir is commented out of /usr/local/lib/php.ini.