403 Forbidden errors 403 Forbidden errors
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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