CodeIgniter Forums
The all famous mod_rewrite issue - 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: The all famous mod_rewrite issue (/showthread.php?tid=53278)

Pages: 1 2


The all famous mod_rewrite issue - El Forum - 07-18-2012

[eluser]selman555[/eluser]
[quote author="Aken" date="1342643372"]Your RewriteBase is probably wrong. It doesn't use URLs, it uses paths.

Try a simple .htaccess:

Code:
RewriteEngine On
RewriteBase /Tong-Il/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

You might need to adjust $config['uri_protocol'] if the .htaccess alone doesn't work. Might also need to add the ? into the RewriteRule - it all depends on your setup. Try stuff, see what works.[/quote]
Next time you see me, you've got permission to slap me in the face Smile

That did it. /Tong-Il/ as rewritebase solved my problems!