X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d1285de53d37d8fa1f8e3076ce29cd4a59ec4dfb..80b3f0c1ee3c244cd003088cc43bc5348fb17b2c:/doc/forum/Apache_XBitHack.mdwn?ds=sidebyside diff --git a/doc/forum/Apache_XBitHack.mdwn b/doc/forum/Apache_XBitHack.mdwn index 63d33287e..d5da0825e 100644 --- a/doc/forum/Apache_XBitHack.mdwn +++ b/doc/forum/Apache_XBitHack.mdwn @@ -17,4 +17,12 @@ I gather from the [[security]] page that having the executable bit set on files >> So how about this: if something has a page-type (i.e. mdwn or whatever authorized page types there are) >> then add something at the end of the process (would that be the "changes" hook?) >> which sets the x bit on the generated page file. Would that work? + +>> Or is there a way to say "tell me all the generated files that end in .html" and use that as a list to start from? + >> --[[KathrynAndersen]] + +>>> Yes, the `change` hook is passed the names of source files that got +>>> built. Use `pagetype` to check which got htmlized (and filter out ones +>>> that got copied), and then use `htmlpage` to get the name of the html +>>> file that was generated, and chmod it. --[[Joey]]