apache2 redirectmatch

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:...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-20-2007
dariusz.malec@gmail.com
 
Posts: n/a
Default apache2 redirectmatch

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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0