Welcome Guest, Not a member yet? Register   Sign In
remove index.php from urls using apache httpd.conf
#6

[eluser]bretticus[/eluser]
Code:
RewriteBase /CodeIgniter/

Depends on where your htaccess file is located. You should be able to use:

Code:
RewriteBase /

if your htaccess file is in the CodeIgniter folder.

If you have access to your apache config files (httpd.conf) then use virtualhosts and directory apache directives to specify exactly which directory (folder) the rewrite base refers to (plus it's much faster for apache.)

Oh, and make sure that you have mod_rewrite enabled (reason for the error perhaps.) You can check with a simple phpinfo() call (look for apache2handler.)


Messages In This Thread
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 05:08 AM
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 05:12 AM
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 06:19 AM
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 06:44 AM
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 07:57 AM
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 10:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB