HTTP 404 - not found admin.php
  • I can't open j.ip-srv.ru/admin.php

    Not Found

    The requested URL /var/www/sasnya/data/www/j.ip-srv.ru/admin.php was not found on this server.

    Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at j.ip-srv.ru Port 80


    error log
    File does not exist: /var/www/sasnya/data/www/j.ip-srv.ru/admin
    [Mon Feb 07 09:26:21 2011] [error] [client 71.200.90.146] File does not exist: /var/www/sasnya/data/www/j.ip-srv.ru/var, referer: http://j.ip-srv.ru/admin/login.php?request=cb9011e09837501d2 2ef995d741876a90ea6e938
    [Mon Feb 07 09:26:32 2011] [error] [client 71.200.90.146] File does not exist: /var/www/sasnya/data/www/j.ip-srv.ru/admin
    [Mon Feb 07 09:28:37 2011] [error] [client 71.200.90.146] File does not exist: /var/www/fsasnya/data/www/j.ip-srv.ru/var
    [Mon Feb 07 09:28:38 2011] [error] [client 71.200.90.146] File does not exist: /var/www/sasnya/data/www/j.ip-srv.ru/var, referer: http://j.ip-srv.ru/admin/login.php?request=cb9011e09837501d2 2ef995d741876a90ea6e938

    cam some help me?

    htaccess

    # There might be no access to apache config, set options here

    DirectoryIndex index.php index.html
    Options -Indexes FollowSymLinks -MultiViews

    AddType video/ogg .ogm
    AddType video/ogg .ogv
    AddType audio/ogg .ogg
    AddType video/mp4 .mp4
    AddType video/webm .webm



    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteCond %{REQUEST_URI} /+get_img$
    RewriteRule . get_img.php [L]

    RewriteCond %{REQUEST_URI} /+attachment/+
    RewriteRule . attachment.php [L]

    RewriteCond %{REQUEST_URI} !\.php$
    RewriteCond %{REQUEST_URI} !\.html$
    RewriteCond %{REQUEST_URI} !\.css$
    RewriteCond %{REQUEST_URI} !\.js$
    RewriteCond %{REQUEST_URI} !/+admin
    RewriteCond %{REQUEST_URI} !/+install
    RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+javascript
    RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+css
    RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+images
    RewriteCond %{REQUEST_URI} !/+templates
    RewriteCond %{REQUEST_URI} !/+videos
    RewriteRule . index.php [L]

    RewriteCond %{REQUEST_URI} .tpl$
    RewriteRule . index.php [L]

    RewriteCond %{REQUEST_URI} /+admin$|/+admin/+.*|/+admin-files
    RewriteRule . admin.php [L]
    </IfModule>

    # Uncomment it for gui backup/restore process
    # NOTE: It can be incompatible on some shared hosting
    #php_value output_buffering Off
  • 1 Comment sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi,

    first off, you should open j.ip-srv.ru/admin instead
    second, check apache virtual host configuration for AllowOverride parameter. It should be has value All (None by default)