403 Forbidden

Nellie4469

Joined: 2006-12-12
Posts: 33
Posted: Mon, 2006-12-18 19:01

When uploading a pic from my pc, I get the following error:

You don't have permission to access /fine_art/main.php on this server.

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

Any suggestions as to what to do to sort this out?

Cheers

Nellie

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-12-18 20:10
 
Nellie4469

Joined: 2006-12-12
Posts: 33
Posted: Mon, 2006-12-18 20:25

phpinfo link is here. I am also battling to add my own header, sidebar and footer, following the info here http://codex.gallery2.org/index.php/Gallery2:How_to_visually_embed_Gallery_in_your_own_website_by_editing_theme_templates.

I have created the 'local' directory in 'themes' copied across theme.tpl and added my includes, but when I look at the source of the page in my browser, it does not show the includes and my header, footer and sidebar are not loading.

Cheers

Nellie

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-12-18 22:53

> mod_security,

see documentation -> troubleshooting -> known issues -> mod_security

probably that's related.

 
andrabr

Joined: 2007-09-05
Posts: 18
Posted: Thu, 2007-09-06 21:25

A solution that worked for me:
add "SecFilterEngine Off" to your .htaccess

I wonder if snippet this belongs in the mod_security section of the codex?

A>