Clicking the default links for the admin page http://sitename/admin results in a "Page not found" error.
Manually navigating to the URL http://sitename/?q=admin works as expected.

This is the only node that has an issue. Clean URLs work perfectly everywhere else.

I marked this as "minor" priority mostly because I can easily navigate to the child pages and skip the main admin page.

Thanks.

System Info:
___________________________

Drupal
Version 5.7
Configuration file sites/default/settings.php
Cron Last run 45 min 20 sec ago

Web server
Type Apache
Version 1.3.37
Operating system Linux
PHP interface cgi
URL http://dfbrigade.org

PHP
Version 4.4.7
Magic quotes GPC On
Magic quotes runtime Off
Memory limit 64M
Register globals On
Safe mode Off
Session cache limiter none
Session cookie domain .dfbrigade.org
Session name SESSbe0121b73baef910505c323ec95d184c
Session save handler user
Upload max filesize 64M
Extensions
CURL version l
GD version bundled (2.0.28 compatible)
FreeType support Enabled
JPG support Enabled
PNG support Enabled
Multibyte support Enabled
XML support Enabled
Zip support Disabled
Zlib support Enabled

Database
Host localhost
Name *****************
Type MySQL
Version 4.1.22
Charset utf8
Collation utf8_general_ci
Permissions
Create temporary tables Disallowed
Lock tables Disallowed
Table prefix

Comments

damien tournoud’s picture

That's probably a conflict with your webhosting / apache configuration, that maps "/admin" to something else (probably a panel administration).

XGI-Wrath’s picture

Hmmm... I see... Thanks.

But wouldn't that lead me to the panel application rather than to a '404' error?? I know our web host uses CPanel, but we access it using a different port. I had originally assumed that was to avoid potential conflicts like the one you're describing. However, I'm not sure. This isn't really my area of expertise.

Below is our .httaccess file. I didn't see anything glaring, but again I'm not that familiar with apache setups.
Thanks again for the help.

#
# Apache/PHP/Drupal settings:
#

# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
  Order allow,deny
</FilesMatch>

# Don't show directory listings for URLs which map to a directory.
Options -Indexes

# Follow symbolic links in this directory.
Options +FollowSymLinks

# Customized error messages.
ErrorDocument 404 /index.php

# Set the default handler.
DirectoryIndex index.php

# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.

# PHP 4, Apache 1.
<IfModule mod_php4.c>
  php_value magic_quotes_gpc                0
  php_flag register_globals                 off
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>

# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
  php_value magic_quotes_gpc                0
  php_flag register_globals                 off
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
  php_value magic_quotes_gpc                0
  php_flag register_globals                 off
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>

# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
  # Enable expirations.
  ExpiresActive On
  # Cache all files for 2 weeks after access (A).
  ExpiresDefault A1209600
  # Do not cache dynamically generated pages.
  ExpiresByType text/html A1
</IfModule>
kbahey’s picture

Probably Plesk on your server or some other control panel that is hijacking /admin. Ask your host.

CWitt-1’s picture

I had this exact same problem (actually with ver 6.2). I looked into my root directory of my install and found a folder [admin]. It was listed in the root installation, and it was empty. I deleted it, now it works fine!

CWitt-1’s picture

Status: Active » Fixed

[note -> fixed]

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.