Koozali.org: home of the SME Server

mod_auth_mysql

Des Dougan

mod_auth_mysql
« on: February 19, 2002, 01:20:08 AM »
Given that SME doesn't make use of .htaccess files, can someone point me to what I'd need to use in their place. I'd like to use the mod_auth_mysql module but I'm not clear on how to replace the .htaccess it requires.

Thanks,

Des Dougan

Charlie Brady

Re: mod_auth_mysql
« Reply #1 on: February 19, 2002, 05:57:41 PM »
Des Dougan wrote:

> Given that SME doesn't make use of .htaccess files, can
> someone point me to what I'd need to use in their place. I'd
> like to use the mod_auth_mysql module but I'm not clear on
> how to replace the .htaccess it requires.

You need a template fragment containing a Location block. I think the block contains the same text as you would otherwise put in the .htaccess file:


# stuff you would put in .htaccess
order deny,allow
... etc


Let me know if that works for you.

Regards

Charlie

Des Dougan

Re: mod_auth_mysql
« Reply #2 on: February 25, 2002, 07:20:56 AM »
Charlie Brady wrote:
>
>
> # stuff you would put in .htaccess
> order deny,allow
> ... etc
>

>
> Let me know if that works for you.

Charlie,

Apologies for the delay in replying. I've just spent some time checking the documentation for the Location directive. This does look like it will meet the need. I'll need to do some more work on it, as I'm not too familiar with Apache and its features.

Many thanks,

Des