| | |
| | | ifOption(templateVars, query, "multiviews", "+MultiViews", "-MultiViews"); |
| | | ifOption(templateVars, query, "htdocsfallback", Boolean.TRUE, Boolean.FALSE); |
| | | ifOption(templateVars, query, "letsencrypt", Boolean.TRUE, Boolean.FALSE); |
| | | ifOption(templateVars, query, "php5", Boolean.TRUE, Boolean.FALSE); |
| | | ifOption(templateVars, query, "phplatest", Boolean.TRUE, Boolean.FALSE); |
| | | final boolean isSetLetsencryptOption = templateVars.get("letsencrypt").equals(Boolean.TRUE); |
| | | final Processor domSetupProcessor = new CompoundProcessor( |
| | | isSetLetsencryptOption ? new NullProcessor() : new ShellProcessor("rm -f /etc/apache2/pems-generated/" + domName + ".crt"), |
| | |
| | | Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch |
| | | </Location> |
| | | |
| | | #if( ${php5} ) |
| | | FcgidInitialEnv HTTP_PHP_BIN /usr/lib/cgi-bin/php5.6 |
| | | #if( ${phplatest} ) |
| | | FcgidInitialEnv HTTP_PHP_BIN /usr/lib/cgi-bin/php7.3 |
| | | |
| | | #end |
| | | RewriteEngine On |