httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Schmidt <Daniel.Schm...@tomtom.com>
Subject [users@httpd] RewriteMap look up produces error message
Date Mon, 23 Mar 2015 14:53:28 GMT
Hi,

When I do a look up via RewriteMap, I get the message “Error” in the console/error log
file. The look up still works like expected, but I don’t know why I get the error message
and I would like to get rid of it.

If I would add a second look up, I get a second “Error” in the console/error log. Please
see below my code and the console output.

Does anybody know where the Error comes from? It’s a generic message which doesn’t help
at all. Did I do something wrong?


I use Apache/2.2.15 on CentOS 6.4.

Here is my VirtualHost:

<VirtualHost *:80>
  ServerName ttt.dev
  ServerAlias ttt.dev
  DocumentRoot /var/www/htdocs/cocoon/web/ttt

  RewriteEngine On
  RewriteMap locale2regions txt:/var/www/htdocs/cocoon/conf/rewritemaps/locale2regions.txt

  <Directory /var/www/htdocs>
    Options FollowSymLinks
    AllowOverride none
    Order allow,deny
    Allow from all
  </Directory>

  RewriteCond %{REQUEST_URI} ^/(de_de|en_gb)/(.*)$
  RewriteRule ^(.*)$ $1?regions=${locale2regions:%1} [R=301]
</VirtualHost>


Works fine so far, but I get error messages:



# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: Error
                                                           [  OK  ]


# apachectl configtest
Error
Syntax OK


# cat /var/log/httpd/error_log
Error
Error
Error
[Mon Mar 23 14:27:56 2015] [notice] caught SIGTERM, shutting down
Error
[Mon Mar 23 14:27:56 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 23 14:27:56 2015] [notice] Digest: generating secret for digest authentication ...
[Mon Mar 23 14:27:56 2015] [notice] Digest: done
[Mon Mar 23 14:27:56 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.22 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips
mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations


Mime
View raw message