Improved Options settings for vhost.
| | |
| | | |
| | | <Directory /home/doms/${dom.name}/> |
| | | PassengerEnabled On |
| | | AllowOverride AuthConfig FileInfo Indexes Limit Options=IncludesNoExec,Indexes,MultiViews,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv |
| | | AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,IncludesNoExec,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv |
| | | </Directory> |
| | | |
| | | <Location /cgi-bin/> |
| | | PassengerEnabled Off |
| | | SetHandler cgi-script |
| | | Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch |
| | | Options +ExecCGI -Includes -Indexes -MultiViews +SymLinksIfOwnerMatch |
| | | </Location> |
| | | |
| | | <Location /fastcgi-bin/> |
| | | PassengerEnabled Off |
| | | SetHandler fcgid-script |
| | | Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch |
| | | Options +ExecCGI -Includes -Indexes -MultiViews +SymLinksIfOwnerMatch |
| | | </Location> |
| | | |
| | | RewriteEngine On |
| | |
| | | |
| | | <Directory /home/doms/${dom.name}/> |
| | | PassengerEnabled On |
| | | AllowOverride AuthConfig FileInfo Indexes Limit Options=IncludesNoExec,Indexes,MultiViews,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv |
| | | AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,IncludesNoExec,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv |
| | | </Directory> |
| | | |
| | | <Location /cgi-bin/> |
| | | PassengerEnabled Off |
| | | SetHandler cgi-script |
| | | Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch |
| | | Options +ExecCGI -Includes -Indexes -MultiViews +SymLinksIfOwnerMatch |
| | | </Location> |
| | | |
| | | <Location /fastcgi-bin/> |
| | | PassengerEnabled Off |
| | | SetHandler fcgid-script |
| | | Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch |
| | | Options +ExecCGI -Includes -Indexes -MultiViews +SymLinksIfOwnerMatch |
| | | </Location> |
| | | |
| | | RewriteEngine On |