Forum Moderators: coopster
I think you want to take a look at the Apache AddType [httpd.apache.org] directive.
<edit>Forgot to Welcome you here!<edit>
[edited by: coopster at 8:36 pm (utc) on Jan. 5, 2004]
I want to add a line so that .html files are read as .php files. Is it possible?
How do I do it?
<Files .htaccess>
deny from all
</Files>
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} MSIECrawler [OR]
<snip>
RewriteCond %{REMOTE_ADDR} ^192\.168\.****\.xx$
RewriteRule .* - [F]
Sorry for the long post, but that is the only way I know how to do it.
[edited by: jatar_k at 4:14 pm (utc) on Jan. 6, 2004]
[edit reason] snipped extra code and generalized IP [/edit]
Any other suggestions?