CodeIgniter Forums
.htaccess problems - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: .htaccess problems (/showthread.php?tid=1839)



.htaccess problems - El Forum - 06-30-2007

[eluser]vwenberg[/eluser]
I am having problems with setting .htaccess. I have followed the directions in the wiki and I get a 500 Internal Server Error. Looking at my error log, I get the following:

Code:
[Sat Jun 30 00:48:29 2007] [error] [client 192.168.2.2] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to  increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

I don't know much about mod_rewrite so I don't know where to begin.


.htaccess problems - El Forum - 06-30-2007

[eluser]marcoss[/eluser]
[quote author="vwenberg" date="1183203178"]I am having problems with setting .htaccess. I have followed the directions in the wiki and I get a 500 Internal Server Error. Looking at my error log, I get the following:

Code:
[Sat Jun 30 00:48:29 2007] [error] [client 192.168.2.2] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to  increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

I don't know much about mod_rewrite so I don't know where to begin.[/quote]

How does your htaccess looks like and which is your current directory structure?


.htaccess problems - El Forum - 06-30-2007

[eluser]vwenberg[/eluser]
My .htaccess is the standard .htaccess provided in the wiki ...

Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /index.php
</IfModule>

The directory where CI files are kept is /var/www/codeigniter.

Much thanks for any help.


.htaccess problems - El Forum - 07-01-2007

[eluser]Matthew Pennell[/eluser]
Have you deleted the index page name from config/config.php?


.htaccess problems - El Forum - 07-03-2007

[eluser]vwenberg[/eluser]
[quote author="Buddy Bradley" date="1183336181"]Have you deleted the index page name from config/config.php?[/quote]

Yes.