Welcome Guest, Not a member yet? Register   Sign In
Can't remove index.php from the URL
#10

[eluser]Daniel Moore[/eluser]
@Dam1an: Yes, a dot can be used to specify the current directory, but that does not appear to be his problem at this point.

@DimCI: Chotz has stated he is running on his local Windows machine. Server admins would not be applicable.

@chotz: You have in your .htaccess file:
Code:
RewriteBase /GameDev/

Which is why I assumed you needed
Code:
RewriteRule ^(.*)$ GameDev/index.php/$1 [NC,L,QSA]

However, you have since stated:
[quote author="chotz" date="1243367961"]Dan
I actually have the code igniter "system" folder in htdocs(web root)folder.

but my controller classes are in /system/application/controller/GameDev/
[/quote]

This means you have set your RewriteBase WRONG. If your index.php is in your htdocs directory, that is, your web root. You SHOULD have the following:
Code:
RewriteBase /

That would mess you up fairly quickly.

If this does not fix your problem, then I need you to provide the following:

1. Since you have stated you are running on Windows, and have an htdocs directory, please verify that you are running XAMPP, and what version. If not XAMPP, then what server software are you running.

2. Give a breakdown of the directory structure you are using, starting with your DocumentRoot defined in apache.

For example:
--htdocs
------index.php
------system
----------application

If this example IS your setup, then please confirm that.

3. Give the values of the following from your system/application/config/config.php file:
$config['base_url']
$config['index_page']
$config['uri_protocol']


Messages In This Thread
Can't remove index.php from the URL - by El Forum - 05-25-2009, 03:18 PM
Can't remove index.php from the URL - by El Forum - 05-25-2009, 03:24 PM
Can't remove index.php from the URL - by El Forum - 05-25-2009, 04:39 PM
Can't remove index.php from the URL - by El Forum - 05-26-2009, 06:23 AM
Can't remove index.php from the URL - by El Forum - 05-26-2009, 06:56 AM
Can't remove index.php from the URL - by El Forum - 05-26-2009, 08:59 AM
Can't remove index.php from the URL - by El Forum - 05-26-2009, 09:54 AM
Can't remove index.php from the URL - by El Forum - 05-26-2009, 02:49 PM
Can't remove index.php from the URL - by El Forum - 05-26-2009, 03:46 PM
Can't remove index.php from the URL - by El Forum - 05-26-2009, 04:35 PM
Can't remove index.php from the URL - by El Forum - 05-26-2009, 08:59 PM
Can't remove index.php from the URL - by El Forum - 05-26-2009, 09:00 PM
Can't remove index.php from the URL - by El Forum - 05-27-2009, 07:04 AM
Can't remove index.php from the URL - by El Forum - 05-27-2009, 09:03 AM
Can't remove index.php from the URL - by El Forum - 05-27-2009, 09:13 AM
Can't remove index.php from the URL - by El Forum - 05-27-2009, 10:02 AM
Can't remove index.php from the URL - by El Forum - 05-27-2009, 11:05 PM
Can't remove index.php from the URL - by El Forum - 05-27-2009, 11:19 PM
Can't remove index.php from the URL - by El Forum - 05-28-2009, 01:58 AM
Can't remove index.php from the URL - by El Forum - 05-28-2009, 02:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB