Internal Server Errors |
[eluser]phused[/eluser]
I recently read the documentation and have started to use CodeIgniter by creating some custom controllers although I am having a problem, this is what my controller file is currently looking like: Code: <?php I'm trying to access my controller using the following URLs: # http://domain.com/tickets/ # http://domain.com/tickets/new # http://domain.com/tickets/reply However, none of these URLs work, Apache returns the following error: Quote:Internal Server Error This is what my error logs says: Quote:[Fri Sep 12 14:41:46 2008] [error] [client 82.22.74.xxx] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary. Can anyone tell me what I'm doing wrong and how to solve this problem? Thanks in advance
[eluser]Sumon[/eluser]
give a try with http://domain.com/index.php/tickets/new if you are not using any .htaccess moreover,set config\config.php file base_url as Code: $config['base_url'] = "http://domain.com/";
[eluser]phused[/eluser]
Looks like my .htaccess was messed up, thanks for pointing that out!
[eluser]chrisco23[/eluser]
Care to say what change was necessary? I'm hitting the same problem. I have a site that works fine on my server, but does not work on the target server (my friend's shared host server). The only other significant difference I've identified is that on my VPS I am using mod_php whereas the shared host is running PHP as a CGI. |
Welcome Guest, Not a member yet? Register Sign In |