Advanced search  

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

Pages: [1]   Go Down

Author Topic: 403 Forbidden errors  (Read 5638 times)

0 Members and 1 Guest are viewing this topic.

Anne

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
403 Forbidden errors
« on: February 09, 2005, 04:07:27 pm »

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

Code: [Select]
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:

Code: [Select]

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...
« Last Edit: February 11, 2005, 04:16:20 pm by GauGau »
Logged

Anne

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: 403 Forbidden errors
« Reply #1 on: February 09, 2005, 06:56:11 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 403 Forbidden errors
« Reply #2 on: February 11, 2005, 04:16:01 pm »

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
Logged

vietkool

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: 403 Forbidden errors
« Reply #3 on: February 13, 2005, 08:24:14 am »

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

thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 403 Forbidden errors
« Reply #4 on: February 14, 2005, 08:08:19 am »

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

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.