I got Drupal installed, so its status reports no problems. I can create content just fine. But when I delete the content I get a 404 page and this error:

The requested URL /admin/content was not found on this server.

What configuration should I be checking and change?
Thanks.
cmn

Comments

oxide23’s picture

I see the same problem on my installation.

cloudmaker’s picture

Not sure what to do. I get it after administering content node and the hitting save, but not every time.

cloudmaker’s picture

Still the same

booting’s picture

Tom17’s picture

I just had this problem on a new install of Drupal 7.10. My first time using it and this is my first post here, hi!

Anyway, this problem was fixed by allowing .htaccess files to take effect. I found hints to this answer in a few other places and put it together.

In your Apache config, for the inside the directive that the Drupal installation lives inside, make sure that "AllowOverride All" is present. I had "AllowOverride None" in mine...

I thought I should post an an answer in here as this was the first thread that came up when I did a Google search on the problem. Hate it when you do those searches only to find the thread has no answer :)

Thanks,

Tom...

jalbrizio’s picture

I had this once and it was because I didn't copy the .htaccess and .gitignore over. they are hidden files so I didn't notice them right away.
If you are copying everything from the default drupal directory to your sites directory, don't forget these. :)

helonaut’s picture

Indeed, under Linux they show up fine after you extract the .tar file. But under OS X / Windows they aren't visible after extracting, by default.

wrg20’s picture

Clean urls needed to be enabled..

alltooeasy’s picture

Hmm Getting weirdness when I try to enable clean Urls? Am guessing this means I need to address the AMP stack for Drupal.

Again, its strange as the issue is intermittent - now more frequent having edited a content type and updated a piece of content!
The content is in place, but it still throws back this error screen.

wmoreno3’s picture

Not Found

The requested URL /drupal/admin/content was not found on this server.

My problem is when I try to edit contents via toolbar-menu -> content (toolbar-link-admin-content) -> edit content -> save

modifications are ready, but web page crashed, I must be to reload the original

No Problem: When I do edit via main-content

Item ... has been updated.

I was testing

mkdir /usr/local/www/drupal7/admin
mkdir /usr/local/www/drupal7/admin/content

Then the error messages dissapear but the browser doesn't return to /drupal

Any ideas ?

fmantov’s picture

I have sucessfully installed Drupal 8 on localhost and it shows me the homepage. But if I click on any link:

Not Found

The requested URL /nofears/drupal8/user was not found on this server.
Apache/2.2.22 (Debian) Server at localhost Port 80

h3ik3l’s picture

Hey I just installed Drupal 8 and I have the same problem than you. This is the first time I use drupal and this is my first time with Ubuntu too. Could you fix the problem? Can you help me? Please!!!

brennanhm’s picture

I was getting the same error whenever I clicked the "save" button after editing content.

I configured the "RewriteBase" parameter in .htaccess to point to Drupal's subdirectory and set "AllowOverride All" in apache2.conf as others had suggested. However, it seems that the cause was that the Apache rewrite module wasn't enabled, because enabling it is what fixed the problem for me.

To see if it's enabled, issue apache2ctl -M
If rewrite_module is not in the list, try enabling it by issuing sudo a2enmod rewrite and restarting the apache service sudo service apache2 restart

These instructions are also available in the Clean URLs documentation.