On Aug 20, 3:18 am, "Ryan James R." <[EMAIL PROTECTED]> wrote: > Alrighty, have read the faq dealing css and image problems. Have > searched google. Have gotten very very cranky over this. > > Trac 'appears' to work. But the stylesheets don't show up. I'm using > Trac w/mod_python. > > My apache access_log returns 404 errors on those files. Permissions on > the files are correct and owner:group is the same as httpd. > > Here is my relevant vhost config: > > =============================================================== > > <VirtualHost *:80> > ServerName domain.net > DocumentRoot "/home/domain.net/htdocs" > > <Location /> > SetHandlermod_python > PythonHandler trac.web.modpython_frontend > PythonOption TracEnvParentDir /var/lib/trac/ > PythonOption TracUriRoot / > Order allow,deny > Allow from all > </Location> > > Alias /myproject/css "/usr/share/trac/htdocs/css"
What happens if you use: Alias /myproject/css/ /usr/share/trac/htdocs/css/ Ie. add trailing slashes to URL and physical directory? The use of trailing slashes here is important. Graham > <Location /myproject/css> > SetHandler none > </Location> > > <Location /trac> > SetHandler none > </Location> > > <LocationMatch "/[^/]+/login"> > AuthType Basic > AuthName "My trac projects" > AuthUserFile /var/svn/conf/developers > Require valid-user > </LocationMatch> > > <IfDefine SVN> > <IfModule !mod_dav_svn.c> > LoadModule dav_svn_module modules/mod_dav_svn.so > </IfModule> > <Location /svn> > DAV svn > SVNPath /var/svn/repos/ > AuthType Basic > AuthName "My Project" > AuthUserFile /var/svn/conf/developers > Require valid-user > </Location> > </IfDefine> > > </VirtualHost> > > ====================================================== > > Here is htdocs_location in my trac.ini. I have also used this w/o the > trailing /trac. > htdocs_location = /home/domain.net/htdocs/trac > > I have added: > templates_dir = /usr/share/trac/templates > > If I need to include anything else let me know. > -- > Ryan James --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
