• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting 404s for my CI urls

#11
[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

#12
[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...

#13
[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 Sad .

I'm sorry to say I can't help you with the file naming problem. Try renaming it from the command line.

#14
[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 Smile


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.