.htaccess |
[eluser]nmweb[/eluser]
In your CI directory (so where the index.php is situated) you place a file named .htaccess with these contents: <code> RewriteEngine On RewriteBase /{your CI directory}/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </code> That's it. http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html for an explanation. |
Messages In This Thread |
.htaccess - by El Forum - 12-17-2007, 06:56 AM
.htaccess - by El Forum - 12-17-2007, 07:18 AM
.htaccess - by El Forum - 12-17-2007, 07:51 AM
.htaccess - by El Forum - 12-17-2007, 07:52 AM
.htaccess - by El Forum - 12-17-2007, 08:44 AM
.htaccess - by El Forum - 12-17-2007, 09:12 AM
.htaccess - by El Forum - 12-17-2007, 09:34 AM
.htaccess - by El Forum - 12-17-2007, 10:29 AM
.htaccess - by El Forum - 12-17-2007, 04:23 PM
.htaccess - by El Forum - 12-17-2007, 09:02 PM
.htaccess - by El Forum - 12-17-2007, 09:05 PM
.htaccess - by El Forum - 12-17-2007, 09:10 PM
.htaccess - by El Forum - 12-18-2007, 12:20 AM
|