Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

Isolate my url GeoPath

  •  03-14-2010, 4:38 AM

    Isolate my url GeoPath

    Hi (sorry for my english), 

    i have a problem with my rewrite rule. 

    This URLs: 
    www.mydomain.com/area/state/region/city/month 
    www.mydomain.com/area/state/region/month 
    www.mydomain.com/area/state/region/type/month 
    www.mydomain.com/area/state/region/city/type/month 

    the problem is in the middle because it is variable in 
    length but separator must always be "/"... the result is: 

    www.mydomain.com/area/default.asp? 
    Geo=<geo>&month=<month>&type=<type> 

    i use: ([^/]+)/([^/]+), but obviously not working 

    any suggestion? 

    thanks in advance, 
    pierpaolo 
    Filed under: , ,
View Complete Thread