.htaccess Deny From All Not working

Discussion in 'General' started by everyone00, Apr 17, 2009.

  1. everyone00

    everyone00 New Member

    I have the follwoing in an .htaccess file:

    order allow,deny
    deny from all
    allow from all

    However, I am able to access that directory anyway. How can I fix this?
  2. mistwang

    mistwang LiteSpeed Staff

    You can try change it to
    Order deny, allow
  3. mistwang

    mistwang LiteSpeed Staff

    should not use both
    Deny from all
    allow from all

    only use one.

Share This Page