htaccess in sub directory issues

installing a website into sub domain that requires a specific .htaccess file causes server to redirect to: 403 error.

if .htaccess file is removed, the index.php is served up by server.

However, website will not work without .htaccess file in same directory.

The .htaccess file is:

RewriteEngine on
RewriteBase /a/
RewriteRule ^(.*).html$ index.php?pg=$1 [nc]
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^rssfeed.xml$ rssfeed.php [L]

Any suggestions as to “why” this is happening will be much appreciated.

I’d say the problem is the RewriteBase line. It must reflect the actual path (is the folder called “a”?). Can’t you remove that line and put the htaccess in your webroot folder? The server should work its way up the tree to find the htaccess.

Tim