Sample configuration for apache2 and fcgid

Hello,
the following sample configuration seems to work for my setup on
debian with apache 2.0.55, rt 3.4.4 and libapache2-mod-fcgid 1.07.

Please check for insanity.

Regards,
Harald

NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot “/usr/share/request-tracker3.4/html”
<Directory /usr/share/request-tracker3.4/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

     <Directory "/usr/share/request-tracker3.4/libexec">
        Options +ExecCGI
        SetHandler fcgid-script
     </Directory>

     RewriteEngine On
     RewriteRule /(.*)$ "/usr/share/request-tracker3.4/libexec/ 

mason_handler.fcgi/$1"
Alias /NoAuth “/usr/share/request-tracker3.4/html/NoAuth”

     ErrorLog /var/log/apache2/error.log
     # Possible values include: debug, info, notice, warn, error,  

crit,
# alert, emerg.
LogLevel debug

     CustomLog /var/log/apache2/access.log combined
     ServerSignature On

Harald Wagener
Technischer Leiter

Foote Cone & Belding
FCB Wilkens
An der Alster 42
20099 Hamburg
Germany

T: +49 (0)40 2881 1252
F: +49 (0)40 2881 1217
hwagener@hamburg.fcb.com
http://www.footeconebelding.de

Hello,
the following sample configuration seems to work for my setup on
debian with apache 2.0.55, rt 3.4.4 and libapache2-mod-fcgid 1.07.

Please check for insanity.

    RewriteEngine On
    RewriteRule /(.*)$ "/usr/share/request-tracker3.4/libexec/ 

mason_handler.fcgi/$1"

Why isn’t that just a “ScriptAlias”?

Jesse

(resent to the list and added info)Am 27.02.2006 um 19:25 schrieb Jesse Vincent:

On Mon, Feb 27, 2006 at 01:36:00PM +0100, Harald Wagener wrote:

Hello,
the following sample configuration seems to work for my setup on
debian with apache 2.0.55, rt 3.4.4 and libapache2-mod-fcgid 1.07.

Please check for insanity.

    RewriteEngine On
    RewriteRule /(.*)$ "/usr/share/request-tracker3.4/libexec/

mason_handler.fcgi/$1"

Why isn’t that just a “ScriptAlias”?

I couldn’t remember ScriptAliasMatch, but had RewriteRule in mind.

I tested with ScriptAliasMatch, and that works as well. It also works
without the NoAuth alias.

Regards,
Harald

Harald Wagener
Technischer Leiter

Foote Cone & Belding
FCB Wilkens
An der Alster 42
20099 Hamburg
Germany

T: +49 (0)40 2881 1252
F: +49 (0)40 2881 1217
hwagener@hamburg.fcb.com
http://www.footeconebelding.de