I want to remove /index.php/ |
[eluser]Blazeme[/eluser]
Set error_reporting(E_ALL). I think .htaccess is ok, at least, it works for me (both on linux and windows). I think you have error in your PHP code. Try something like this: Code: <?php
[eluser]bastones[/eluser]
No errors came up. I think its a problem with my webhost, have contacted them. Any suggestions in meanwhile appreciated .
[eluser]Blazeme[/eluser]
Well, probably, it's host's problem. Tell us what happened when u find out. Also, try on localhost?
[eluser]lmv4321[/eluser]
[quote author="bastones" date="1225912460"]The system folder is in root directory . Controller code: Code: <?php Try changing the line Code: echo anchor('site/register','Register'); Code: $this->register(); Code: redirect('site/register','Register');
[eluser]bastones[/eluser]
THANK GOD. Got it working with a config modification: $config['uri_protocol'] = "REQUEST_URI";
[eluser]ray73864[/eluser]
you shouldn't have to set 'uri_protocol' to that, at least i didn't with my one, which could point towards a faulty .htaccess setup
[eluser]alejandra[/eluser]
[quote author="Blazeme" date="1225910549"]Try this code: Code: <IfModule mod_rewrite.c> URL to your .htaccess: http://www.yoursite.com/.htaccess I think this should do the trick, if not, we'll think of something else [/quote] I'm trying to remove the index.php from my app and this did the trick for part of the site but when it transfer to the ssl it start losing links, I'm guessing is because of the RewriteBase should be different but I don't know how to work this. Maybe a condition if the port is different do a different RewriteBase. Can some one help me?
[eluser]Phil Sturgeon[/eluser]
You will need to tel apache to do the following. Not sure if you can sneak that line into a .htaccess or wether it needs to be in httpd.conf. Quote:Listen 443
|
Welcome Guest, Not a member yet? Register Sign In |