httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Skwar <>
Subject [users@httpd] RewriteCond: cannot compile regular expression
Date Thu, 10 Apr 2003 11:41:54 GMT

I'm having a problem with Apache-1.3.26-1.1 (Debian Package) on Debian

In my /etc/apache/httpd.conf, I've got thsi:

<IfModule mod_rewrite.c>
       RewriteEngine   On
       RewriteCond     ${lowercase:%{HTTP_HOST}} ^(www\.|)([^.]+)\$

To be honest, I did not come up with this myself.  It's from

When I now try to start apache, I get this error:

RewriteCond: cannot compile regular expression

I also tryed escaping the all the dots (ie. info\.dyndns\.tv).  Didn't
change anything.

What strikes me, is that I'm able to use this on a SuSE 7.2 server with
Apache 1.3.19.

Any ideas about what I might have done wrong?  Or how I could further
debug this problem?

Thanks a lot,

Alexander Skwar
How to quote: (german) (english)
                       Uptime: 20 days 6 hours 20 minutes

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message