This might be more of an apache question than a PHP question. Hopefully someone will be able to help me.
I've seen applications that pass the query string without a question mark. Something like this:
http://www.example.com/index.php/var1/var2/var3/var4/
However when i do that with my webserver I get a 404 error.
I'm using RHEL 5 with apache 2.2 and PHP 5.3.0. How can I enable this?
Thanks in advance
simple version in .htaccess
add:
RewriteEngine ON RewriteRule ^.*$ index.php [L]
then in index.php
$url = explode('/',$_SERVER['REQUEST_URI']); print_r($url);