This is a discussion on apache2 redirectmatch within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, i have a problem with apache2 Server version: Apache/2.0.55 Server built: Jul 26 2006 17:59:...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi, i have a problem with apache2
Server version: Apache/2.0.55 Server built: Jul 26 2006 17:59:52 I tired to use redirectmatch option on virtualserver to redirect all sub-URL's to main site. My idea was: RedirectMatch ^/(.*)$ / or RedirectMatch ^/.+$ / I think that's the same. But this does not work, I get info i my web browser about ciclic redirect. I found out that when exclude a '.' or 'x' char from regexp it works. For example RedirectMatch ^/[^.]+$ / or RedirectMatch ^/[^x]+$ / Any sugestions? Anyone knows why '.' and 'x' cannot be used together? --- Darek |