Hello,
I've been developing a website. The server I was developing it on was Apache1.3. Then I moved it to a hosting with Apache2.2. The site itself is working as usual, no problems at all. Problems came from the .htaccess file. This file was removing the "index.php" from the URLs, so instead of looking like this:
http://site.com/index.php/something/something_else
they were looking like that:
http://site.com/something/something_else
With Apache1.3 the file was OK. When I moved it to the Apache2.2 it got broken. Here is the file itself:
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>
What I want to ask is what should be changed in those settings so the .htaccess would work like it worked on Apache1.3?
A few notes: first, I don't have access to the httpd.conf on the new hosting. Second, mod_rewrite is allowed, since I tried a redirect to google.com through the .htaccess and it worked. Third, the directory where the website resides is the root (not a real root, but a jailed one).
I'm sorry if there had been a thread on this one before, couldn't find it.
Thank you!