ITeye博客

Set up Admin Page In Apache

eonbell · 2011-02-25 13:32 · 编程语言 · Markdown

Modify the settings in apache, change the media root to the own python path like this:

RewriteRule? /(media)($|(/(.*))) /usr/local/lib/python2.6/site-packages/django/contrib/admin/$0

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。