Page 1 of 1

Prevent viewing of html files

Posted: 26 Mar 2010, 07:15
by House
What code do I need to add to my .htaccess file to prevent the viewing of the Style's HTML Source files?
It used to be on here but now its gone.

Re: Prevent viewing of html files

Posted: 26 Mar 2010, 07:23
by Stoker
Here you go: viewtopic.php?f=9&t=481
Just posted it ;)

Re: Prevent viewing of html files

Posted: 26 Mar 2010, 08:09
by House
How did you get the 403 error to display on the style pages?

Re: Prevent viewing of html files

Posted: 26 Mar 2010, 09:57
by Stoker
The error pages is handled by the server. They are not part of the forum.

Re: Prevent viewing of html files

Posted: 26 Mar 2010, 14:57
by BettyBoop
House ยป 26 Mar 2010, 07:09 wrote:How did you get the 403 error to display on the style pages?
Great article here hon on how you can accomplish this.. ;)