![]() |
Since 4 days trying to solve this: set up friendly urls in dreamhost getting a 404 - 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: Since 4 days trying to solve this: set up friendly urls in dreamhost getting a 404 (/showthread.php?tid=24482) |
Since 4 days trying to solve this: set up friendly urls in dreamhost getting a 404 - El Forum - 11-11-2009 [eluser]jorgeakanieves[/eluser] I´m in trouble... I´ve a codeigniter 1.5.2 modular project in DREAMHOST and I want to set friendly urls in .htaccess... When I go to a frienly url, there is a white page with: "No input file Specified" or "404 file not found" For example this http://www.project.com/contact But if I go to http://www.project.com/index.php/users/public/form_contact all goes right I´ve no problem in localhost(my local pc dev) with the friendly urls... I´ve set up my .htaccess with this: Code: <ifmodule mod_rewrite.c> and other parameters in config.php: Code: $config['index_page'] = ""; What´s wrong??? Since 4 days trying to solve this: set up friendly urls in dreamhost getting a 404 - El Forum - 11-11-2009 [eluser]jorgeakanieves[/eluser] I´ve seen in the server error log this: [Wed Nov 11 00:34:19 2009] [error] 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 think is due by a redirection??? How could I do to avoid the redirection??? Since 4 days trying to solve this: set up friendly urls in dreamhost getting a 404 - El Forum - 11-11-2009 [eluser]überfuzz[/eluser] Code: $config['uri_protocol'] = "REQUEST_URI" or $config['uri_protocol'] = "PATH_INFO"; Start out with this rewrite rule: Code: RewriteEngine on And now try all the different protocols, one by one! Code: | 'AUTO' Default - auto detects Since 4 days trying to solve this: set up friendly urls in dreamhost getting a 404 - El Forum - 11-11-2009 [eluser]jorgeakanieves[/eluser] And where do I set the friendly urls? does it correct? Code: RewriteEngine on ???? Code: if I go to http://www.mydomain.com/index.php/users/public/form_contact all goes right I need to create this url: Code: http://www.mydomain.com/contact |