Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Dwayne Vos on February 08, 2001, 04:15:00 AM

Title: .htaccess and .htpasswd files
Post by: Dwayne Vos 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.
Title: Re: .htaccess and .htpasswd files
Post by: Dan Brown 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.
Title: Re: .htaccess and .htpasswd files
Post by: Dwayne Vos 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
Title: Re: .htaccess and .htpasswd files
Post by: Charlie Brady 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
Title: Re: .htaccess and .htpasswd files
Post by: Dwayne Vos 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.
Title: Re: .htaccess and .htpasswd files
Post by: Garret 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.