Forum Moderators: phranque

Message Too Old, No Replies

Files allow deny

Detrimental to my friend?

         

kwasher

7:54 pm on Jan 11, 2005 (gmt 0)

10+ Year Member




If I tell my friends to add this to the top of their htaccess file...

<Files *>
Order allow,deny
Allow from all
# DENY FROM - PUT DENY_LINES HERE
</Files>

So they can ban a few IP's or domains, could it be detrimental to them because of what they may already have in their .htaccess file?

--Kenn

jdMorgan

12:34 am on Jan 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, it could cause problems if:

  • They use custom error pages.
  • They already have an "order" directive in their file.
  • They don't have mod_access loaded (unlikely).
  • Their server is not configured with AllowOverride Limit (or All).

    Jim

  • kwasher

    5:21 am on Jan 12, 2005 (gmt 0)

    10+ Year Member



    I guess its onward to personal customization.

    Thanks Jim.