Jump to content

Is this a feature of apache? or will it work on all hosts?


Prismatic

Recommended Posts

I just discoverd that I can also access files, especially php files, by removing the .php part. IE, insted of profile.php?id=SomeUser, I can do profile?id=SomeUser

Will this work on all hosts or is it just mine? (I run my own server actually)
It sounds like you may have multiviews enabled on your server. See http://httpd.apache.org/docs/1.3/content-negotiation.html

A quick test would be to call profile.txt or some other extension that you know doesn't exist, and see what your server comes back with ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.