You are not logged in.

#1 2010-09-15 16:43:43

dsdeiz
Member
Registered: 2009-08-17
Posts: 69

[SOLVED] Getting warning in apache's error log

Hi!

I am for some reason often getting this error in my error log:

[warn] RewriteOptions: MaxRedirects option has been removed in favor of the global LimitInternalRecursion directive and will be ignored.

Someone advised me to check my configs but didn't find it in /etc/httpd/conf where I believe the configs were stored. I finally then found it in .htaccess in /srv/http. This was what I found:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteOptions MaxRedirects=1
   RewriteBase /
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_FILENAME} !-l
   RewriteRule ^([a-zA-Z0-9_-]+)$ redirect.php?alias=$1 [L]
</IfModule>

Is this "normal"? big_smile Can't seem to remember where that came from. sad I just removed the RewriteOptions MaxRedirects=1 and will try to observe in a few days if that removes the warning.

Thanks!

Last edited by dsdeiz (2010-09-16 07:16:38)

Offline

#2 2010-09-15 22:52:51

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: [SOLVED] Getting warning in apache's error log

pacman -Qo /srv/http/.htaccess

Offline

#3 2010-09-16 07:16:14

dsdeiz
Member
Registered: 2009-08-17
Posts: 69

Re: [SOLVED] Getting warning in apache's error log

Hi!

It didn't belong to any packages. Also already found where it belonged to (not a package). I've removed it now.

Thanks!

Offline

Board footer

Powered by FluxBB