Forum Moderators: coopster
This is my .htaccess:
--------------------------------------------------------
AddHandler server-parsed .html
Options Indexes FollowSymLinks Includes
AddType application/x-httpd-php htm
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from 208.xx.x.
deny from 208.xx.xx.xx
deny from 208.xx.xx.xx
deny from 67.xx.xx.
deny from 67.xx.xx.xx
--------------------------------------------------------
I have two questions:
1) I want to use both SSI and PHP code on .HTML pages - but when I change the following line:
AddType application/x-httpd-php htm
in to
AddType application/x-httpd-php html
Then when I open my webpage it gives me a download option instead of just showing the HTML page.
Does anyone know how can I accomplish this?
PS. When I just use SSI on HTML pages and PHP on HTM pages it works perfectly (as you would expect from the .htaccess above)
2) If I use "deny from 208.84.120." does this mean "deny from 208.84.120.x" (ie. all the addresses in 208.84.120?)
Any help is appreciated ;)
Thanks
Roel
[edited by: jatar_k at 3:40 pm (utc) on July 26, 2004]
[edit reason] generalized ips [/edit]