Koozali.org: home of the SME Server

htaccess file isn't working

Joe

htaccess file isn't working
« 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

Thor Anthrax

Re: htaccess file isn't working
« Reply #1 on: April 22, 2002, 04:33:05 AM »

Pierre Coetzer

Re: htaccess file isn't working
« Reply #2 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.