[rt-users] Help httpd.conf
Nazar Kulynych
nazark at auska.com
Sun Jun 18 20:46:40 EDT 2006
This works for me.
<VirtualHost *:80>
ServerName tickets.localhost.com
DocumentRoot /www/apps/rt-3.4.5/share/html
AddDefaultCharset UTF-8
# these four lines apply to Apache2+mod_perl2 only: {{{
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html
# }}}
PerlModule Apache::DBI
PerlRequire /www/apps/rt-3.4.5/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
Thanks
Nazar
Zhiming Liu wrote:
> Hi, Installed RT3.4.4 on RHEL3, modified httpd.conf:
> <VirtualHost localhost:80>
> ServerAdmin root
> ServerName localhost
> DocumentRoot /opt/rt3/share/html/
> AddDefaultCharset UTF-8
> # Adding the following for RT (the ticket tracker)
> AddHandler fastcgi-script fcgi
> <Directory "/opt/rt3/share/html">
> Options FollowSymLinks ExecCGI
> AllowOverride None
> </Directory>
> # Pass through requests to for noauth
> Alias /NoAuth/images
> /opt/rt3/share/html/NoAuth/images
> ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
> </VirtualHost>
> FastCgiIpcDir /tmp
> FastCgiServer /opt/rt3/bin/mason_handler.fcgi
> -idle-timeout 120 -processes 4
>
> Tried http://localhost, RT doesn't work. Thanks for
> help, Zhiming.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
>
More information about the rt-users
mailing list