Why not redirect all variants to http://mysite.com/?

Nginx could do the job for you ;)

Best regards.

On 5 out, 13:17, harryos <oswald.ha...@gmail.com> wrote:
> hi
> I am trying out a web app where it needs to process user given website
> addresses .My problem is that ,I need to treat
>  http://mysite.com,www.mysite.com,
> mysite.com,www.mysite.com/index.html,www.mysite.com/index.php...etc as the 
> same and not different urls.How
> can I do the validation in this case?Do I have to manually do the
> string parsing and validate?
> Any suggestions most welcome
> thanks
> harry

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to