Hi,
I have installed Trac 0.12.2 et i make apache configuration file
<IfModule mod_expires.c>
<FilesMatch "\.(jpg|gif|png|pdf|css|js)$">
ExpiresActive On
ExpiresDefault "access plus 1 month"
</FilesMatch>
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css text/js
application/x-javascript text/plain text/xml
</IfModule>
*Alias /trac/chrome/site /home/trac/OSAMES/deploy/htdocs*
*<Directory "/home/trac/OSAMES/deploy/htdocs">*
* Order allow,deny*
* Allow from all*
*</Directory>*
<Location /osames/login>
AuthName "Trac"
AuthType Basic
AuthUserFile /home/trac/OSAMES/.htpasswd
require valid-user
</location>
WSGIScriptAlias /osames /home/trac/OSAMES/deploy/cgi-bin/trac.wsgi
## This is required if you plan to use HTTP authorization. Without it the
## user name won't be passed
# WSGIPassAuthorization On
<Directory /home/trac/OSAMES/deploy/cgi-bin>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
*BUT: the alias absolutely doesn't work .*
If i want the alias to work, i must use this:
AliasMatch ^/(.+)/chrome/site(.*) /home/trac/OSAMES/deploy/htdocs/site$2
The wiki page on Trac is totaly incorrect.
--
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.