Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Jeroen on October 09, 2001, 11:54:39 AM

Title: htaccess
Post by: Jeroen 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
Title: Re: htaccess
Post by: IS 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
Title: Re: htaccess
Post by: Dominik 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
Title: Re: htaccess
Post by: Dan Brown 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.
Title: Re: htaccess
Post by: Dominik 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