Path Info with index.php
Posted: Tue Jul 11, 2006 11:17 am
I'm trying to get path info working with the index.php.
The directives I've set are:-
AcceptPathInfo On
DirectoryIndex index.php
Now this all works fine if I provide the index.php in the url:-
http://localhost/index.php/arg
and it works as the directory index:-
http://localhost/
but I can't pass the argument to index.php as the directory index.
http://localhost/arg
I get URL /arg not found.
I'm using apache 2.2 and PHP 5.1.4
Is it possible to do this without using mod_rewrite?
The directives I've set are:-
AcceptPathInfo On
DirectoryIndex index.php
Now this all works fine if I provide the index.php in the url:-
http://localhost/index.php/arg
and it works as the directory index:-
http://localhost/
but I can't pass the argument to index.php as the directory index.
http://localhost/arg
I get URL /arg not found.
I'm using apache 2.2 and PHP 5.1.4
Is it possible to do this without using mod_rewrite?