Re: Apache: Request exceeded the limit of 10 internal redirects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Lynch wrote:
James Guarriman wrote:

RewriteEngine on
RewriteOptions MaxRedirects=15
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /$1.php
</Directory>
</VirtualHost>



...

I know its due to the way my Apache is setup (not rewrite rules)
but the following always works for me:

http://www.somedomain.com/doit

runs

http://www.somedomain.com/doit.php

--
apache just does its magic - I believe its to do with the DocumentIndex apache conf setting
(i.e. Apache makes use of the extensions found there) - please someone correct me if I'm wrong.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux