Re: [Lurker-users] htaccess

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Wesley W. Terpstra
Date:  
To: Baurzhan Ismagulov
CC: lurker-users
Subject: Re: [Lurker-users] htaccess
On Apr 10, 2006, at 1:09 AM, Baurzhan Ismagulov wrote:
> now my setup is working. I have lurker 2.1 running on Debian unstable.
> /etc/lurker/apache.conf includes archive1/apache.conf and
> archive2/apache.conf. Those alias /lurker-archiveX to
> /opt/ibr/var/www/lurker/archiveX, define that directory


Good up till here.

> and set CONFIG
> to /etc/lurker/archiveX/lurker.conf. The latter has dbdir of
> /opt/ibr/var/lib/lurker/archiveX and frontend of
> /opt/ibr/var/www/lurker/archiveX.


In lurker >= 2.0 you don't need two configs / dbdirs.
Just set multiple 'frontend' directives in the config.

> I started with creating a .htaccess file in
> /opt/ibr/var/www/lurker/archiveX:
>
> AuthType Basic
> AuthName lurker
> AuthUserFile /etc/apache2/passwd
> Require valid-user
>
> This didn't work. My expectation was that when I try to access
> https://server/lurker-archiveX/, apache should have required
> authentication before serving
> /opt/ibr/var/www/lurker/archiveX/index.html. But the page is served
> without the browser asking anything. Why didn't it do what I wanted it
> to, and how should I set that up properly?


This is really more of an apache question than a lurker question.
Is apache setup to allow .htaccess override in that directory?
What do your logs say when you access the page?



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Lurker-users mailing list

https://lists.sourceforge.net/lists/listinfo/lurker-users