[Lurker-users] Multiple frontend in a VirtualHost? (Apache c…

Top Page
Attachments:
Message as email
+ (text/plain)
+ multifrontend_apache.conf (text/plain)
+ (text/plain)
+ (text/plain)
Delete this message
Reply to this message
Author: _legolas558_
Date:  
To: lurker-users
Subject: [Lurker-users] Multiple frontend in a VirtualHost? (Apache config problem)
Hi all,

I am new to lurker but I definitively like the efficiency and features
of this little linux nugget.

I am experiencing a problem with multiple frontends: I have a group with
four mailing lists and I have configured a VirtualHost (see attachment)
to handle them, but the thing does not work.

Basically, there is a directory (a copy of /usr/local/var/www/lurker)
for each mailing list under /var/www/lurker.

The splash/index.en.html is not created and any search generates a 404
error, and I think it's normal because the search URL is not
/listname/search/* but /search/* (on the root). I don't know how to use
a different ScriptAlias which could specify the correct ENV parameters
to bounce.cgi.

Can somebody please help me? This is for a medium-sized open source
project (I will disclose details when I get this to work).

Thank you!
--
Daniele C. (aka legolas558)


<VirtualHost *>
    ServerName    lists.example.com
    DocumentRoot    /var/www/lurker/
    ScriptAlias /cgi-lurker /usr/local/lib/cgi-bin


<Directory /var/www/lurker/>
    Options +Indexes
</Directory>


<Directory /var/www/lurker/.*/>
    Options -Indexes
  # set access control here
  Order allow,deny
  Allow from all


AddType text/xml .xsl
AddType text/xml .xml
AddType message/rfc822 .rfc822
AddDefaultCharset UTF-8

# invoke lurker if the requested file does not exist
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^(attach|list|mbox|message|mindex|search|splash|thread|zap)/[^/]+$ /cgi-lurker/lurker.cgi [L,PT,E=LURKER_CONFIG:/usr/local/etc/lurker/lurker.conf,E=LURKER_FRONTEND:%{REQUEST_FILENAME}]
</Directory>

</VirtualHost>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Lurker-users mailing list

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