I want to check the URL to see if any path is passed, 
http://domain.tdl
or
http://domain.tdl/
as such, both of these are considered not to have a path,
my problem is that I only want to rewrite the path, 
if either of the two are true, meaning it has no path,
this fails:
    acl has_path_uri path_beg -i /
If the url has no path I want to add a ww to it as such:
http://domain.tdl/ww
so that my wthttp app will work,
but if I use
    acl has_ww_uri path_beg -i /ww
    reqirep ^([^\ :]*)\ /(.*) \1\ /ww/\2 if !has_ww_uri
it rewrites every url that does not have ww in it, 
which is not what I want, because it rewrites resources like css and images,
so how do I determine if the url has no path?

Thanks for any help.

Reply via email to