1 2 3 4 5 6 7 8 9 10 | ExtFilterDefine rst2html mode=output \ intype=text/x-rst outtype=text/html \ EnableEnv=supports_html \ cmd="/usr/bin/rst2html" AddType text/x-rst .rst <FilesMatch "\.rst$"> SetEnvIf Accept text/html supports_html SetOutputFilter rst2html </FilesMatch> |
needs apache2 module ext_filter https://httpd.apache.org/docs/current/mod/mod_ext_filter.html