404 Forbiden Error 404 Forbiden Error
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

404 Forbiden Error

Started by Buzz, March 11, 2005, 10:51:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Buzz

I get the following error while trying to create a new category

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

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

I send the error to my server provider and they gave me this for an answer:
You need to make changes to the script in the catmgr.php file in the createcat section, as it is sending illegal requests to the server .  This is the server logs that we get for the error page:

mod_security: Access denied with code 403. Pattern match "cat\\x20" at THE_REQUEST. [hostname "www.hondaclub.gr"] [uri "/gallery/catmgr.php?op=createcat"]

Such illegal requests sent from the browser are blocked by the server for security reasons.

Can I get some help please


Joachim Müller

There's nothing we can do to help you solve this. If your webhost refuses to help you on this issue, this probably means that you can't use coppermine on your webserver. You might want to consider moving to a new webhost...

Joachim

Nibbler

You can try changing all occurences of createcat to something else in coppermine's code. That might work.

Buzz

Quote from: Nibbler on March 12, 2005, 04:45:10 PM
You can try changing all occurences of createcat to something else in coppermine's code. That might work.

Can you please give me an example?

Nibbler

Um, moggle ? anything that doesn't end with 'cat' apparently. Just use the find/replace in your text editor.

Buzz

Thank you you are a champ (https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.greekblabla.gr%2Fgreekblabla%2Fforum%2Fhtml%2Femoticons%2Fworthy.gif&hash=0a14558bee75cb95c7b13b3e27a5748e00dc0e37)