Tuesday, October 5, 2010

treating different versions of website urls as one

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-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment