Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Parsing .html files for php code' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Parsing .html files for php code
Authored by: Beernd on May 31, '03 04:15:37AM

That's true, though it depends on your server how important this is.
To overcome this problem, one could put XBitHack on in httpd.conf. From then on, all files with their executable bit set will be server-parsed, and the others won't. That way you don't have to rename all the files containing SSI to their .shtml equivalent, you only need to set their x bit (chmod a+x file.html), and still not every .html file is parsed.

---
"Perhaps nothing is quite true, and not even that!"
Multatuli, Ideen 1

[ Reply to This | # ]