.htaccess - htaccess Rewrite with Colons in URL -
my htaccess looks that
rewritecond %{the_request} go/(.+)/?$ rewriterule ^go/([^/]*)/?$ go/test.php?name=$1 [l,qsa]
so url mydomain.com/go/sitename correctly routed /go/test.php?name=sitename
however, if url looks (the numbers used identifier), "access denied" message in browser: mydomain.com/go/sitename::123 happens if colons (:) included in url. can use urls colons?
update: problem (access denied) occurs, if there existing directory same name, in case: /go
but have directory same name.
Comments
Post a Comment