> Hi there. I'm trying to come up with a way to do > PATH_INFO urls without having to call a script. Let me > explain. > > I know how to make it work with a url like this: > > http://foo.com/bar.php/arg1/arg2/etc > > or even: > > http://foo.com/bar/arg1/arg2/etc > > What I'm trying to figure out is how to make it call > index.php without specifying it, like this: > > http://foo.com/arg1/arg2/etc > > Any pointers?
This is something that will need to be done on the Apache level with rewrites, I believe. The PATH_INFO hack is a useful one, but if you don't want to call a script directly, I think you'll need a rewrite. There also may be another way to do it in Apache, but I don't think there's anything in PHP you can do to accomplish this. -- [ joel boonstra | [EMAIL PROTECTED] ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php