403 Forbidden errors 403 Forbidden errors
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

403 Forbidden errors

Started by Anne, February 09, 2005, 04:07:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Anne

Recently, I've been getting this error when trying to batch add files:

Forbidden

You don't have permission to access /gallery/displayimage.php on this server.


This doesn't happen with all folders, only some so far. I read on the board that it may be cause by the .htaccess file. This is what is in the file:



RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite\.com [NC]
rewriterule \.(jpe?g|gif|png|bmp|mp3|mov|wmv|rm|ram|asf|wma)$ - [NC,F]
RewriteCond %{HTTP_REFERER} !^http://mysite.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mysite.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mysite.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mysite.com$      [NC]


Is anything in it causing the 403 errors? If not, what else might cause it? I'm pretty sure the permissions on the folders are correct...

Anne

Nevermind, I think I figured out the problem. I changed 'Allow several consecutive comments on one file from the same user (disable flood protection)' to Yes in the Config panel. Batch add seems to work fine now.

Joachim Müller

although I can't see how your problem and solution should be related (batch-add = searchnew.php vs. displayimage.php), but thanks anyway for reporting back that you were able to resolve this.

Joachim

vietkool

I have same problem with this error, How do I fix it ?  I am using version 1.2

thanks

Joachim Müller

you already posted this in another thread - don't cross-post! Locking this thread now.

Joachim