I'm following various tutorials online that uses the PATH_INFO to do this,
however Apache isn't playing nicely. I read a few documents that Apache has
a built in look back feature, but a query on google on lead me back to a few
articles that I just read so I'm assuming this feature is made up in the
article?

I've gotten the .htaccess to run a file as a .php, however I can't attach
arguments to the right hand side of the URL. An example would be, I have a
file called index.php. I turn this into index and run it as a .php file. It
works fine, though I should be able to add /name/1 which shows up under the
PATH_INFO variable.

However, I get a blank page and this error logged in Apache:

[Sat Jan 11 10:33:40 2003] [error] [client 127.0.0.1] PHP Fatal error:
Unable to open c:\apache\www\www.mxportal.com\public_html\dir\resources\d in
Unknown on line 0

So it looks like Apache is not reading back to resources, but thinks there
is  folder called resources and a file called d in which it's trying to open
and pass it to PHP.

This however works under *NIX systems. I'm not sure if there's a different
of doing it under Windows or if this is a bug in Apache. Any ideas?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to