Alias /trac/chrome/common /home/projects/xxx/htdocs/common
Alias /trac/chrome/site /home/projects/xxx/htdocs/site
Alias /trac/chrome/shared /home/projects/xxx/htdocs/shared
Alias /trac/chrome/userpictures /home/projects/xxx/htdocs/userpictures
<Directory /usr/share/trac/cgi-bin>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
<VirtualHost *:80>
ServerName trac.xxx.com
DocumentRoot /usr/share/trac/htdocs/
WSGIScriptAlias /trac/xxx /usr/share/trac/cgi-bin/trac.wsgi
<Location '/trac/xxx/login'>
AuthType Basic
AuthName "Trac"
AuthUserFile /home/svndata/svnconf/.passwd.conf
Require valid-user
</Location>
</VirtualHost>
# trac-admin /home/projects/xxx/ deploy /usr/share/trac
This is my profile, please help!
在 2016年6月17日星期五 UTC+8下午12:29:13,RjOllos写道:
>
>
>
> On Tuesday, June 14, 2016 at 12:37:43 AM UTC-7, Mingxing Tian wrote:
>>
>> 2016-06-14 15:33:38,813 Trac[chrome] WARNING: File userpictures.css not
>> found in any of
>> ['/usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg/userpictures/htdocs']
>> 2016-06-14 15:33:38,824 Trac[main] WARNING: [192.168.1.50] HTTPNotFound:
>> 404 Not Found (File userpictures.css not found)
>>
>>
>> After installing UserPicture Plugin emergence of this issue,On the
>> browser window F12 debugging found the following error
>>
>> http://trac.idouzi.com/trac/idouzi/chrome/userpictures/userpictures.css
>> Failed to load resource: the server responded with a status of 404 (Not
>> Found)
>>
>> http://trac.idouzi.com/trac/idouzi/chrome/userpictures/default-portrait.gif
>> Failed to load resource: the server responded with a status of 404 (Not
>> Found)
>> http://trac.idouzi.com/trac/idouzi/chrome/userpictures/userpictures.css
>> Failed to load resource: the server responded with a status of 404 (Not
>> Found)
>>
>> This seems to be some static resource is not found, what should I do?
>>
>
> I have not looked at this plugin in a while, so it could be an issue with
> the plugin. However, first I would look at your web server configuration.
> Are you mapping static resources? (1) If so, you may to run the "deploy"
> command (2) each time you install a plugin. Whether or not that is the case
> depends on how you've setup your Alias directive. I attempted to improve
> the documentation on that after discussion in (3). Feedback welcome.
>
> (1) https://trac.edgewall.org/wiki/TracInstall#MappingStaticResources
> (2) https://trac.edgewall.org/wiki/TracUpgrade#a5.Refreshstaticresources
> (3)
> https://groups.google.com/forum/#!msg/trac-users/MC9NzL1PMT4/4WJIVs9TQ40J
>
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.