On a Drupal 5.7 site when I visit /node/291 and am logged in as user #1, I see:

Forbidden
You don't have permission to access /node/291 on this server.

but it's completely unstyled, just black text on a white page.

The page /admin/content/node of course works fine for this user, as do MOST pages. The page /node/add however is the same "Forbidden" page. That's in FF. In IE if I am NOT logged in at all and I visit /node/291 I see:

HTTP Error 403 - Forbidden
Internet Explorer

but if I visit /home then I see the fully styled page from Drupal with the text "You are not authorized to access this page" which is correct, b/c the site is now not open to anonymous visitors.

When logged in as user #1 the URL /node/291/edit actually works just fine.

This is quite bizarre, no?

Any ideas how to fix this?

Thanks.

Comments

davedelong’s picture

I've come across this as well. In my case, it was because the node could only be accessed by members of a specific role (using content access), and since User #1 didn't have that role, I couldn't access the node. Might that be a similar problem? Might some of those pages be restricted to roles you don't have?

HTH,

Dave

FredJones’s picture

As far as I know, user with ui 1 should always have full access to everything in Drupal 5.x. Anyhow, the problem fixed itself. I don't know what it was.

Thanks.

intchanter’s picture

Looks like it's been a while since your question was asked, and since the most recent activity, but I just found this post as I was searching for information to help in #drupal-support.

This sounds to me like Apache is trying to serve a file called node/291 instead of passing q=node/291 to Drupal's index.html, as the Forbidden error described is an Apache error rather than a Drupal one.

I'd check to see if clean URLs are enabled and properly supported, and whether there's another directory needed, e.g. http://www.example.com/mydrupalsite/node/291, or even http://www.example.com/mydrupalsite/index.php?q=node/291