On Dec 9, 6:16 pm, Lakshman Prasad wrote:
> You can just replace the regex ^/comments/$ with ^/sees/comments/$ within
> the urls.py
>
> Why can't you do that?
Because it will not work.
Based on description he is mounting Django application on /sees in
Apache, likely as:
Hi Amit,
2009/12/9 Amit Sethi
> Hi all , I need some help understanding the mod rewrite module of apache .
> What I wished to do want that i had a comments folder by the name of
> /comments/ . Now i run a django project on /sees and i want all the call to
> /comments/
You can just replace the regex ^/comments/$ with ^/sees/comments/$ within
the urls.py
Why can't you do that?
On Wed, Dec 9, 2009 at 12:10 PM, Amit Sethi wrote:
> Hi all , I need some help understanding the mod rewrite module of apache .
> What I wished to do want that
Hi all , I need some help understanding the mod rewrite module of apache .
What I wished to do want that i had a comments folder by the name of
/comments/ . Now i run a django project on /sees and i want all the call to
/comments/ be redirected to /sees/comments and than be handled by the wsgi
4 matches
Mail list logo