[nycphp-talk] Minimal overhead
Rolan Yang
rolan at omnistep.com
Sun Sep 2 21:49:52 EDT 2007
You might be able to create a modified XBitHack Apache module which,
essentially checks to see if the a file has the "x" (execute) bit set
under permissions. If so, then it parses the file, if not, then it
displays as a regular html file. This is normally used for server side
includes, but you could probably modify the script to execute it as a
php file instead.
~Rolan
Elliotte Harold wrote:
> Suppose I don't want it to be so obvious that I'm using PHP on a site,
> Or that I just want the freedom to not always use PHP in a given
> document. Thus I decide to configure Apache to treat all .html files
> as PHP files.
>
> How much overhead does this add for the common case when a file only
> contains static data, no PHP? Would I notice the hit?
>
More information about the talk
mailing list