View Single Post
  #2  
Old 01-21-2013, 11:53 AM
5404 5404 is offline
Member
 
Join Date: Jan 2013
Posts: 6
Gender: Female
Credits: 619
5404 is on a distinguished road
Default

I'm not sure but this could be problem with .htaccess.

.htaccess of just downloaded and unzipped file looks like that:
Quote:
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
And according to this it just catch all requests and shows index.php:
Quote:
Next, you say you are trying to catch all requests that don't contain "index.php".. and ensure they do, creating a PATH_INFO parameter out of the original request. Something like this will work better..

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php/$1 [R,L]

The first two lines check that the requested resource doesn't actually exist (including requests for index.php itself). It's slightly wasteful, but required for your catch-all rule. The RewriteRule catches all other requests and directs them to /index.php/*something*.

*something* will then be available as your PATH_INFO variable.

If you don't want the new address to show up in the user's address bar, remove the [R] flag.
Source: http://corz.org/serv/tricks/htaccess2.php
Reply With Quote