开发者

httpd.conf: ignore certain directories?

I have an httpd.conf file that looks like this:

Alias /media/ /var/projects/potato_gun/media/
WSGIScriptAlias / /var/projects/potato_gun/django.wsgi

The problem is, I 开发者_运维问答broke all my URLs that start with /~username because they get sent off to django.wsgi instead. Is there anyway I can get it to ignore any URL that starts with /~?


how about AliasMatch?

I think it would be /(*~)media/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜