[rt-users] Help httpd.conf

陈然 ran.chen at net263.com
Sun Jun 18 21:29:55 EDT 2006


This works for me:



NameVirtualHost *:80

<VirtualHost *:80>

   ServerAdmin root

#   ServerName rt.example.com

   ServerName localhost

   ServerAlias localhost

#   DocumentRoot /var/www/html/

   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/ /opt/rt3/share/html/NoAuth/

 </VirtualHost>

FastCgiIpcDir /tmp

FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes 4

ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi

ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/











----- Original Message ----- 
From: "Zhiming Liu" <liuzmus at yahoo.com>
To: <rt-users at lists.bestpractical.com>
Sent: Monday, June 19, 2006 8:01 AM
Subject: [rt-users] Help httpd.conf


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