httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajasekaran Deepak <deepa...@students.iiit.net>
Subject [users@httpd] Hiding file extensions using htaccess
Date Tue, 17 Jun 2003 11:00:24 GMT
I want to hide file extensions. 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:

    http://students.iiit.net/~deepak_r/htaccess

Thanks in advance,
Rajasekaran Deepak

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message