Quote:
Originally Posted by ShocK
|
yea, that's my homepage..
http://sinarjayamobil.netai.net/Onli...llers/main.php
i already tried in local with that link and i use codeigniter,, and now i want to implement in online
Quote:
Originally Posted by d3iti
Hello,
CodeIgniter is a framework for websites using the Model-View-Controller pattern.
In the Spanish section of the forum, another user had a similar problem and solved it as follows:
"All you have to do is create an .htaccess file in the same level as the directory that make up the example application, system, index.php.
With the following code:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
I hope this shed some light on the solution of the problem.
|
what this code do ?
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]