Koozali.org: home of the SME Server

.htaccess and .htpasswd files

Dwayne Vos

.htaccess and .htpasswd files
« on: February 08, 2001, 04:15:00 AM »
Hello,

Does anyone know if .htaccess and .htpasswd authentication to web folders is available?  I have tried to get this working with no avail as of yet.  As I understood this was available to be used in any linux distribution.  I would appreciate any help.  

Thank you in advance.

Dan Brown

Re: .htaccess and .htpasswd files
« Reply #1 on: February 08, 2001, 05:53:11 AM »
It's not so much a matter of Linux as of Apache.  It's turned off in e-smith, presumably for security reasons, by use of the AllowOverride None directive in httpd.conf.

Dwayne Vos

Re: .htaccess and .htpasswd files
« Reply #2 on: February 08, 2001, 06:50:59 AM »
So can you be a little more specific on how to change it?
I'm running version 4.0.1 and I'm assuming that I will have to create a new template in the /etc/e-smith/templates-custom/etc/ directory for httpd?

Thanks

Charlie Brady

Re: .htaccess and .htpasswd files
« Reply #3 on: February 08, 2001, 07:51:22 AM »
Dwayne Vos wrote:
>
> So can you be a little more specific on how to change it?
> I'm running version 4.0.1 and I'm assuming that I will have
> to create a new template in the
> /etc/e-smith/templates-custom/etc/ directory for httpd?

Correct. See Apache documentation for the exact syntax of the changes. It will be similar to .htaccess syntax, but contained within a Directory directive.

Charlie

Dwayne Vos

Re: .htaccess and .htpasswd files
« Reply #4 on: February 08, 2001, 08:13:53 PM »
Can you give me some sort of idea what files I have to edit?
I looked at the template files under the httpd.conf directory and I can't seem to figure out which files I have to edit.

Thanks.

Garret

Re: .htaccess and .htpasswd files
« Reply #5 on: March 09, 2001, 04:15:41 AM »
I have ran into the same thing, and am given the above information like it should be enough. It is not enough. I have been to Apache.org, read the information but the one thing it does not tell me is where in the e-smith httpd.conf file do I make the changes. Can't believe that the information isn't there! Maybe if some people could lower themselves to our level for a minute and answer a question rather than give cryptic half ass answers, maybe we could all get on to the next item on the plate.