Hello,
Did anybody try RT on RedHat 9, using standard CGI?
Created an Apache2 config like this:
<VirtualHost *>
ServerName myserver.mydomain.com
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
ScriptAlias /rt3-cgi/ "/opt/rt3/bin/"
Action html-mason /rt3-cgi/mason_handler.fcgi
<LocationMatch "\.html$">
SetHandler html-mason
</LocationMatch>
So, if I try to access index.html, the web server should fork and
invoke something like this:
mason_handler.fcgi /opt/rt3/share/html/index.html
When executing it from the command line, it simply hangs, which is
exactly what apache seems to be doing when this is invoked.
mod_perl2 doesn’t seem to work at all with apache 2.0.45 (Need it
instead of the stock RH9 Apache because of the LDAP module).
Thanks!
Emilio
hi. what i did is compile apache-1.3.2x series, with mod_perl and run it
on localhost:8080. then i use apache2 with virtual hosts and mod_rewrite
or mod_proxy to enable clients to connect to rt. granted that there is
the extra load of the second web server, still it gives me the best of
both worlds as my users can still use apache2.
hth,
– vince.On Fri, 2003-07-04 at 13:09, Emilio F Panighetti wrote:
Hello,
Did anybody try RT on RedHat 9, using standard CGI?
Created an Apache2 config like this:
<VirtualHost *>
ServerName myserver.mydomain.com
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
ScriptAlias /rt3-cgi/ "/opt/rt3/bin/"
Action html-mason /rt3-cgi/mason_handler.fcgi
<LocationMatch "\.html$">
SetHandler html-mason
</LocationMatch>
So, if I try to access index.html, the web server should fork and
invoke something like this:
mason_handler.fcgi /opt/rt3/share/html/index.html
When executing it from the command line, it simply hangs, which is
exactly what apache seems to be doing when this is invoked.
mod_perl2 doesn’t seem to work at all with apache 2.0.45 (Need it
instead of the stock RH9 Apache because of the LDAP module).
Thanks!
Emilio
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
This one time, at band camp, Emilio F Panighetti wrote:
Did anybody try RT on RedHat 9, using standard CGI?
Yep. I built mod_fastcgi from source, packaged it as an RPM. If you want
it let me know.
<VirtualHost *:443>
ServerName rt:443
DocumentRoot /usr/share/rt/html
AddDefaultCharset UTF-8
Alias /error /var/www/error
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script fcgi
FastCgiIpcDir /tmp/rt-fcgi
FastCgiServer /usr/bin/mason_handler.fcgi -idle-timeout 3600
ScriptAlias / /usr/bin/mason_handler.fcgi/
</IfModule>
<IfModule mod_ssl.c>
SSLEngine On
SSLCertificateFile /etc/ssl/rt_crt
SSLCertificateKeyFile /etc/ssl/rt_key
</IfModule>
ServerAdmin jamie@anchor.net.au
CustomLog /var/log/httpd/rt_access_log combined
ErrorLog /var/log/httpd/rt_error_log
jaq@spacepants.org http://spacepants.org/jaq.gpg