Jan Nordgreen
unread,Feb 18, 2009, 9:07:22 PM2/18/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to .htaccess, jannor...@gmail.com
This is my .htaccess file at /public_html/mygis:
Options +Indexes
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*).html$ index.php?page=$1 [L]
AuthType Basic
AuthName "mygis"
AuthUserFile "/home/easyques/.htpasswds/public_html/mygis/passwd"
require valid-user
ErrorDocument 404 /mygis/404.php
---
The problem is that 404.php never gets called even for non-existing
urls.
Urls that ends in html I catch in my index.php, but those that ends in
htm, php or has no ending at all just gives the browser's 404 page.
Regards,
Jan Nordgreen