coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: mtbnico on September 28, 2006, 01:50:40 PM

Title: No permission to acces categories
Post by: mtbnico on September 28, 2006, 01:50:40 PM
Helo,
I'm new to this forum and installed a few days ago coppermine 1.4.9

Here's the link.
http://www.mtbnico.be/fotoalbum

What I would like to do is

Make 2 categories

Categorie A
Categorie B

dees have then some subcategories (if this is possible) with albums in it.
Something like this.

MtbNico (catA)
-> Marathons (subcat)
   -> Dolomiti Superbike (album)
   -> Spessart Bike Marathon (album)
-> XC (subcat)
   -> 3h Duo XC Xoffraix (album)


I don't know if this is possible, maybe without the subcat's...
But when I wan't to edit the categorie "User Galleries"  (change cat name and discription) and press "edit/crieer" I get following message...



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

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: No permission to acces categories
Post by: Nibbler on September 28, 2006, 03:39:55 PM
Check if your host is using mod_security. If so they need to adjust the rules.
Title: Re: No permission to acces categories
Post by: mtbnico on September 28, 2006, 07:16:45 PM
and where can I find if my host is using mod_security Nibble?

Should I find it in one of the directory's?
Title: Re: No permission to acces categories
Post by: Sami on September 28, 2006, 07:25:04 PM
ask them ....
Title: Re: No permission to acces categories
Post by: mtbnico on September 30, 2006, 02:13:57 PM
There not answering for the moment and I really want to move on.
Is there another way to create categories?

Or what dus Nibbler mean by
"If so they need to adjust the rules."


Grtz Nico
Title: Re: No permission to acces categories
Post by: Nibbler on September 30, 2006, 02:19:21 PM
Some hosts have mod_security set to block requests that contain linux commands for security reasons. Since `cat` is a linux command it can be blocked by some hosts. This obviously interferes with the valid operation of a category manager. See http://forum.coppermine-gallery.net/index.php?topic=15741.0 for a workaround.
Title: Re: No permission to acces categories
Post by: mtbnico on October 02, 2006, 10:18:07 PM
I got an answer from my host and I do have mod_security on my server.

I looked at the topic that you suggested.

But, I don't really understand what I have to do.

I changed the catmgr.php into something else. (if that is wat the topic suggest)
but when I click on categories in my album it says that the catmgt.php is gone...

Can you perhaps explain (step by step  ;D ) what I have to do.

Many thx Nico
Title: Re: No permission to acces categories
Post by: Joachim Müller on October 03, 2006, 02:43:32 AM
Quote from: mtbnico on October 02, 2006, 10:18:07 PM
I changed the catmgr.php into something else. (if that is wat the topic suggest)
but when I click on categories in my album it says that the catmgt.php is gone...
That was to be expected. When changing a file name, you will of course either have to change the navigation to reflect the name change or you will have to access the changed file name manually (address bar of the browser).
However, the thread Nibbler refered to did not suggest to just change the file name (e.g. from catmgr.php to foobar.php), so you should undo your changes and ask your webhost for support instead: make them re-consider their hardening patch.