Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Joe on April 22, 2002, 02:30:55 AM

Title: htaccess file isn't working
Post by: Joe on April 22, 2002, 02:30:55 AM
I would like to restrict access to one directory on my web server (sme 5.12 with updates).
I have used htaccess file based on:
- ip/domain restrictions - doesn't work.
- user name/password (.htaccess sotored in dir that I would like to restrict & .htpasswd - with user/password info, in cgi-bin). - doesn't work either.
I'm restricting access through file sytem.

thank you for any help,
Joe
Title: Re: htaccess file isn't working
Post by: Thor Anthrax on April 22, 2002, 04:33:05 AM
Please read before you ask

http://sme.nightspirit.nl/howto/?id=1&lang=en
Title: Re: htaccess file isn't working
Post by: Pierre Coetzer on April 22, 2002, 12:38:23 PM
Hi

What I did was to setup an alias to my resticted directory in /etc/httpd/conf/httpd.conf

-> add an ibay, and look in the httpd.conf file for an example of what your alias entry should look like.- Works like a dream.