Koozali.org: home of the SME Server

htaccess

Jeroen

htaccess
« on: October 09, 2001, 11:54:39 AM »
Hello,
I've a small question. I've made an ibay and I want the page to be password protected, so I've made an .htaccess file and a password file but apache won't read the file with as result I don't have any password at all at that ibay.
Am I forgetting something or can't I use a .htaccess here?

greets

IS

Re: htaccess
« Reply #1 on: October 09, 2001, 01:29:15 PM »
Hi,

You can put a password for your i-bay by using the e-smith-manager.

IS

Dominik

Re: htaccess
« Reply #2 on: October 09, 2001, 11:08:53 PM »
It is better to use the e-smith-manager to set a password.
If you want to use a .htaccess file you have to change the httpd.conf file.

Change:

AllowOverride None

to

AllowOverride All

Dan Brown

Re: htaccess
« Reply #3 on: October 09, 2001, 11:32:20 PM »
...and if you change the httpd.conf file, it will be overwritten the next time any changes are made to the apache configuration in the e-smith manager.

Dominik

Re: htaccess
« Reply #4 on: October 10, 2001, 10:07:52 PM »
Ok, ok. You're right.
You have to change the template file:

/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess10primary