views:

12

answers:

1

domain.name/index.php/pathinfo.php works

but domain.name/image.jpg/pathinfo.php will give a 404, where domain.name/image.jpg DOES exists,why?

A: 

Because they're different URLs, and the server is responding 404 to one?

Matthew Flaschen
It seems you don't know about path info?
wamp
@wamp, those URLs could mean anything. It depends how server is setup. For many MediaWiki installations, the first will take you to the article on Pathinfo.php while the second is a 404. If you have more info, you should provide it.
Matthew Flaschen