First time here? Check out the FAQ!

Revision history  [back]

Where Location of Admin Media on Nginx?

Hello,

I have installed Askbot with Nginx but while I use for production site, CSS and image not loaded. I have followed instruction on http://askbot.org/en/question/677/location-of-media-folder and http://askbot.org/en/question/3138/location-of-media-folder but not correct.

Whatever page is work but only when I access Django Administration is not work.

This is some information of my AskBot site:

1) Askbot forum folder = /home/mysite/forum --> Work fine

2) Location /m/ = /usr/lib/python2.6/site-packages/askbot-0.7.43-py2.6.egg/askbot/skins/ --> Work fine

3) Location /admin/media/ = /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/contrib/admin/media/ --> Not work

4) Location /upfiles/ = /home/mysite/forum/askbot/upfiles/

Please see link image for details:

http://i50.tinypic.com/35m30pd.png

Anyone help me please?

Where Location of Admin Media on Nginx?

Hello,

I have installed Askbot with Nginx but while I use for production site, CSS and image not loaded. I have followed instruction on http://askbot.org/en/question/677/location-of-media-folder and http://askbot.org/en/question/3138/location-of-media-folder but not correct.

Whatever page is work but only when I access Django Administration is not work.

This is some information of my AskBot site:

1) Askbot forum folder = /home/mysite/forum /home/diskusi/forum --> Work fine

2) Location /m/ = /usr/lib/python2.6/site-packages/askbot-0.7.43-py2.6.egg/askbot/skins/ --> Work fine

3) Location /admin/media/ = /usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/contrib/admin/media/ --> Not work

4) Location /upfiles/ = /home/mysite/forum/askbot/upfiles//home/diskusi/forum/askbot/upfiles/

Please see link image for details:

http://i50.tinypic.com/35m30pd.png

Anyone help me please?