FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Need a .htaccess file to process ssi AND allow scripts

 


patasarriba
I use a .htaccess file to allow SSI on .html pages. The file I have now says the following:

Quote:

AddType text/html .shtml
AddHandler server-parsed .html
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes


It does its job as far as allowing SSI. BUT, whenever I try to use scripts (blog, shopping cart, etc.), I get a very evil 403 Forbidden message.

Quote:

Forbidden
You don't have permission to access /cart/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Does anyone know how I could write a .htaccess file to allow my SSI on all pages but also allow scripts and programs? Thank you in advance!!!!!

Sandra
MrBlueSky
And the scripts, like /cart/index.php, work if you don't put the .htaccess file in the directory?
patasarriba
When I eliminate .htaccess files from the CGI directories, or modify them, or do anything else, it makes no difference! The .htaccess file in the root directory seems to be blocking permission throughout the entire site.
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.