![]() |
Newbie help with .htaccess problem - 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: Newbie help with .htaccess problem (/showthread.php?tid=6666) |
Newbie help with .htaccess problem - El Forum - 03-06-2008 [eluser]kingconnections[/eluser] I am having an issue with a website I got from someone else. I am not very good with CI yet and have not done much with htaccess. I was hoping you guys could help me. The basic problem is that the Symlinks in the htaccess files are not working properly. This is my htaccess file as of now: Options +FollowSymLinks Options -Indexes RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] Example of the issue is here: http://www.ussecondhomes.com/agents/details/50 Any ideas or help would be great. Thanks in advance guys! Newbie help with .htaccess problem - El Forum - 03-06-2008 [eluser]Avatar[/eluser] luckily I had my htaccess file pulled up from the last time I help a guy with this problem today. This is what my htaccess looks like can we stick this thread I remember reading about htaccess problems like 2 years ago. Code: Options -indexes Newbie help with .htaccess problem - El Forum - 03-07-2008 [eluser]kingconnections[/eluser] HMMM.... no dice. I even copied and pasted it out of yours. It displays, but it is still not picking the id from the url passed to it. I changed it to this: Code: Options +FollowSymLinks Newbie help with .htaccess problem - El Forum - 03-07-2008 [eluser]Avatar[/eluser] that's something with your server configuration I think, do you have control of this server? Newbie help with .htaccess problem - El Forum - 03-07-2008 [eluser]kingconnections[/eluser] No, it is a godaddy server. ![]() Newbie help with .htaccess problem - El Forum - 03-08-2008 [eluser]nevercraft[/eluser] Try: Options +FollowSymLinks Options -Indexes DirectoryIndex index.php RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.php/$1 [L] ^--- Note the 'php/' instead of 'php?' If that doesn't work, I'd say its a server configuration issue. Newbie help with .htaccess problem - El Forum - 03-09-2008 [eluser]kingconnections[/eluser] When I used the / instead of the ? it gave me a 404 page error. |