By Anonymous (not verified) on
Hi I'm having a bit of a weird problem with a page - whenever I try to go to it I get a 403 forbidden error.
Whenever I create a page with the URL alias of 'example.com/resources' I get a 403 error. Deleting and recreating the page makes no difference. If I change the URL alias to something different I can access the page again. Also if I directly enter the node ID, eg: example.com/node/266 the page loads with no problem.
It seems that the system has a real problem with that particular alias. Any way I can check to see what's happening?
Thanks!
BTW I've got Clean URLs turned on, with the Pathauto token set to [menupath-raw]. This works fine for everything else
Comments
same
I'm having the same problem;
For me the page mysite/drupal/portfolio gives acces denied, but when i put the url path settings back to 'automatic alias' the url changes to mysite/drupal/content/portfolio and it shows the page again.
Even mysite/drupal/node/8 (it's node 8) will display th page when the alias is set like the first case and the alias returns this error.
a little extra info:
running the site local, on win 7, with xampp.
The page with the alias error contained some jQuery which is now broken somehow.
But the jQuery I used for the main menu still works.
edit:
fixed the broken jQuery, don't think it had anything to do with the alias.. but haven't found anything near a solution
Same problem here: creating a
Same problem here: creating a new page with an alias gives a 403 error on that alias, but not on node/[id]. Changing the alias fixes it, but changing it back to the original alias brings back the 403.
Also, when changing the alias, I sometimes get the message that my changes could not be saved, as an other user has made changes to the page (while I'm the only one working on it).
Using Drupal 6.22
had this very same problem
had this very same problem with the url alias and i just found out that somehow there are 'reserved' words that cannot be used in the url alias.. like the word 'repository'. I created a content type named 'Document Repository' and all contents created on this content type are saved successfully and can be viewed using the url alias(/document-repository) but when i changed the content type name to 'Repository', all of the contents created on this content type, with url alias '/repository/title' are now displaying '403 Forbidden'. I had no other options but not to use the word 'Repository'. Just changed it to 'Repositories' and it all went well.
Wow, thanks, you're bloody
Wow, thanks, you're bloody brilliant!
I spent almost an hour and a half looking for WHY this darn thing kept redirecting me.
MERCI!
htaccess
I just ran into this problem with using the path /profiles for student profiles. For your protection the default .htaccess file that comes with Drupal disallows access to certain paths:
Probably best to choose a different path rather than try to muck with the regex to permit yours, unless you really know what you are doing. Those exclusions were put in place for a reason. In my case, I changed the path to be /profile (without the s)
Thanks for this observation!
Thanks for this observation! This is definitely going on my bookmarks list.