www.webdeveloper.com
Results 1 to 2 of 2

Thread: htaccess problem

  1. #1
    Join Date
    Feb 2007
    Posts
    7

    htaccess problem

    - Hi there , i write a .htaccess file like below
    Code:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /zero/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /zero/index.php [L]
    </IfModule>
    - everthing was fine, except a problem when i try request a missing resource like image, javascript, file ..etc. it will send me a index.php page, not a 404 error .

    Code:
    http://localhost/zero/images/test.gif << missing image
    - I need help to modify htaccess to send a 404 error when user request a missing resouces. Thanks .

  2. #2
    Join Date
    Feb 2007
    Posts
    7
    nobody know this?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles