Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: polarair on October 12, 2005, 12:18:28 PM

Title: Newbie: How to make .htaccess work in virtual sites
Post by: polarair 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
Title: Re: Newbie: How to make .htaccess work in virtual sites
Post by: raem on October 13, 2005, 04:42:11 AM
polarair

http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/htaccess%20configuration%20with%20custom%20templates%20HOWTO%20for%20sme%20server.htm
Title: Re: Newbie: How to make .htaccess work in virtual sites
Post by: polarair on October 14, 2005, 03:52:15 PM
Quote from: "RayMitchell"
polarair

http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/htaccess%20configuration%20with%20custom%20templates%20HOWTO%20for%20sme%20server.htm


Thanks it works!!!! :hammer: