Welcome Guest, Not a member yet? Register   Sign In
How remove index.php from URLs? [SOLVED]
#26

[eluser]ibnclaudius[/eluser]
[quote author="vertexdata" date="1324229135"]1. Please ensure “Options FollowSymLinks” is done for the directory in which CI is installed. This is done in the httpd.conf file. In your httpd.conf file you need to add the following lines. Make sure that you change the Directory to the one relevant to you (/Users/Ashok/Sites/starwood2012 - This should be changed in the following code block to your CI installation directory).

<Directory “/Users/Ashok/Sites/starwood2012”>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>

2. The .htaccess file should be in the CI installation directory. To me you sounded like you have it in your application directory.

3. In the contents of the .htaccess file you provided - I see you do not have the RewriteBase line. Please add this line.

RewriteBase should be everything between your domain name and the controller with NO trailing /

Please refer once again to my original post and ensure the you have the RewriteBase with the correct path in it.

Thanks.[/quote]

I solved the forbidden error, had to add this line to my .conf:

Quote:Options +Indexes +FollowSymLinks +ExecCGI


Messages In This Thread
How remove index.php from URLs? [SOLVED] - by El Forum - 05-21-2010, 11:50 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 05-21-2010, 03:56 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 06-03-2010, 10:52 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-19-2010, 12:26 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-20-2010, 10:11 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-20-2010, 10:16 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-20-2010, 10:26 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-20-2010, 06:22 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-20-2010, 08:51 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-21-2010, 09:00 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-22-2010, 09:50 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-22-2010, 09:59 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-28-2011, 10:34 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 02-05-2012, 10:36 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 02-06-2012, 04:54 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 02-06-2012, 02:07 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 02-06-2012, 04:47 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 02-06-2012, 04:54 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 02-06-2012, 04:55 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 02-06-2012, 04:58 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 03-18-2012, 12:22 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 05-01-2012, 05:44 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 07-31-2012, 11:13 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 08-13-2012, 12:28 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 08-15-2012, 06:01 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 03-08-2013, 02:07 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 12-24-2013, 04:40 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 12-24-2013, 04:45 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 03-09-2014, 06:32 AM
How remove index.php from URLs? [SOLVED] - by El Forum - 03-10-2014, 12:17 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 03-10-2014, 12:31 PM
How remove index.php from URLs? [SOLVED] - by El Forum - 03-10-2014, 01:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB