Re: Help with apache mod rewrite engine

2009-12-09 Thread Graham Dumpleton
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:

Re: Help with apache mod rewrite engine

2009-12-08 Thread Thomas Sutton
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/

Re: Help with apache mod rewrite engine

2009-12-08 Thread Lakshman Prasad
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

Help with apache mod rewrite engine

2009-12-08 Thread 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/ be redirected to /sees/comments and than be handled by the wsgi