On 06/07/2011 10:01 PM, fiona wrote: > How to config apache?you mean httpd.conf file?
Depends on how your distribution sets it up. > can you tell me how to configure it? ::)) Start here: http://trac.edgewall.org/wiki/TracInstall#RunningTraconaWebServer Basically, you need to set up apache conf sections for Trac. Exactly how to do this depends on how your Linux distribution does it, or if you're using Windows, it would be different still. Here is an edited version of mine which might help you get started. However, this depends on your apache being set up to do name based virtual hosts, so you'd need to enable that. # trac serves trac <VirtualHost *:80> ServerName trac.sixnetio.com ServerAlias trac WSGIDaemonProcess trac user=www-data group=www-data threads=50 WSGIScriptAlias /trac /opt/trac/eng/static-htdocs/cgi-bin/trac.wsgi RewriteEngine on # RewriteLog /var/log/apache2/rewrite.log # RewriteLogLevel 9 <Location "/trac/login"> AuthType Basic AuthName "Trac" AuthUserFile "/opt/trac/eng/eng.htpasswd" Require valid-user </Location> </VirtualHost> As far as more detail goes, I strongly suggest reading the excellent Apache documentation. You can start here: http://httpd.apache.org/docs/ -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 [email protected] -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
