.htaccess - Apache rewrite all paths to index.php -


how rewrite paths like:

/xyz/ijk?a=b&c=d 

to index.php:

/index.php/xyz/ijk?a=b&c=d 

but variable path_info = /xyz/ijk it's when don't use rewrite (/index.php/xyz/ijk?a=b&c=d)

try this:

rewritecond %{request_filename} !-f rewriterule ^(.*)$ index.php/$1 [qsa ] 

Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -