Koozali.org: home of the SME Server

Newbie: How to make .htaccess work in virtual sites

Offline polarair

  • **
  • 32
  • +0/-0
    • http://www.cosoprinting.nl
Newbie: How to make .htaccess work in virtual sites
« on: October 12, 2005, 12:18:28 PM »
Hi, I have tried everything to ge the .htaccess files to work in 6.5rc2  
I have placed a correct .htaccess file in the directory i want to protect.
example to protect: /home/e-smith/files/ibays/website/html/protect
(Where protect is the directory)
then I placed a .htpassword file in a diferent directory.
/home/e-smith/files/ibays/website
Thus outside the webarea

But it does nothing to protect.
Here is the .htaccess file
AuthType Basic
AuthName "Verboden Toegang!"
AuthUserFile /home/e-smith/files/ibays/website/.htpasswd
AuthGroupFile /dev/null
<Limit GET>
require valid-user
</Limit>
Any help i getting crazy....

Thanks
Mike
live is to short not to enjoy it :lol: ......


Offline polarair

  • **
  • 32
  • +0/-0
    • http://www.cosoprinting.nl
live is to short not to enjoy it :lol: ......