httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajasekaran Deepak <>
Subject [users@httpd] Hiding file extensions using htaccess
Date Wed, 25 Jun 2003 17:58:09 GMT
I want to hide file extensions. MultiViews is enabled but it
doesn't seem to be working. I had attached a copy of httpd.conf
with a previous mail. My htaccess file contains:

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME}\.shtml -f
    RewriteRule ^(.*)$              $1.shtml

But the above lines do not allow files to be accessed without
the ".shtml" extension. Could you tell me what the mistake in my
htaccess file is? A soft link to the whole htaccess file is at:

Thanks in advance,
Rajasekaran Deepak

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message