.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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -