CodeIgniter Forums
htaccess/routing/server issues - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: htaccess/routing/server issues (/thread-25249.html)

htaccess/routing/server issues - El Forum - 12-05-2009

for the life of me i don't know how many times i've run into the most retarded issues when going from one server to another...ugh... here's my issue.... does NOT route and i get the following back:
Not Found
The requested URL / was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.33 Server at Port 80

but if i go directly to i get what i expect.

there are multiple ci installs (i.e. folderA is one of them) and i have an htaccess file within each of my main folders (again, i.e. folderA) with the following:
RewriteEngine On
RewriteCond $1 !^(index\.php|robots\.txt|images|css|js)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ index.php/$1 [L]

even more strange is the fact that in another folder with another ci install only works returns a CI 404 error page as opposed to the default 404 i got in the other case. both htaccess files are identical. CI's config.php has index.php removed and i've had to change my URI protocol to request_uri due to this server the client has - never even had to bother with it before, but don't think that's part of the issue. correct WTF is going on here? any thoughts? suggestions to seeing the madness? everything else is pretty much default.

htaccess/routing/server issues - El Forum - 12-05-2009

Have you tried
RewriteRule ^(.*)/$ /folderA/index.php/$1 [L]

htaccess/routing/server issues - El Forum - 12-08-2009

that just results in a 404 like:

The requested URL / was not found on this server.