Newbie help with .htaccess problem |
[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!
[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
[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
[eluser]Avatar[/eluser]
that's something with your server configuration I think, do you have control of this server?
[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.
[eluser]kingconnections[/eluser]
When I used the / instead of the ? it gave me a 404 page error. |
Welcome Guest, Not a member yet? Register Sign In |