getting 404s for my CI urls - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: getting 404s for my CI urls (/showthread.php?tid=9502) Pages:
1
2
|
getting 404s for my CI urls - El Forum - 06-27-2008 [eluser]philk[/eluser] ok http://www.mydomain.com/pages/postajob or on my local machine http://localhost/pages/postajob This brings up a generic 404 however... http://localhost/index.php/pages/postajob at least brings up the postajob page although I get an error alert getting 404s for my CI urls - El Forum - 06-27-2008 [eluser]philk[/eluser] or do you mean within the source? like: Code: [quote]<li><a >Post A Job</a></li>[/quote] edit: damn it's not letting me post the html source - should be (li)(a href="/pages/postajob")Post A Job(/a)(/li) with angled brackets It's 11pm here and I've spent about ten man hours on this seemingly simple problem, it's driving me cracked... getting 404s for my CI urls - El Forum - 06-27-2008 [eluser]Pascal Kriete[/eluser] The first is what I was referring to and it outlines the problem. The links are not created through CI, so you really do need a .htaccess . I'm sorry to say I can't help you with the file naming problem. Try renaming it from the command line. getting 404s for my CI urls - El Forum - 06-27-2008 [eluser]philk[/eluser] yahey I got it working - added Code: AccessFileName ht.acl .htaccess to my httpd.conf file, changed my .htaccess file name to ht.acl uncommented this line: Code: #LoadModule rewrite_module modules/mod_rewrite.so and voila - it works! Thankyou Google and inparo |