29 lines
631 B
Plaintext
29 lines
631 B
Plaintext
<VirtualHost _default_:80>
|
|
ServerName ${SP_SERVER_NAME}:80
|
|
|
|
DocumentRoot /var/www/html
|
|
|
|
CustomLog /proc/self/fd/1 common
|
|
|
|
ErrorDocument 400 /error/
|
|
ErrorDocument 401 /error/
|
|
ErrorDocument 403 /error/
|
|
ErrorDocument 404 /error/
|
|
ErrorDocument 500 /error/
|
|
ErrorDocument 502 /error/
|
|
ErrorDocument 503 /error/
|
|
ErrorDocument 504 /error/
|
|
|
|
<FilesMatch "\.(cgi|shtml|phtml|php)$">
|
|
SSLOptions +StdEnvVars
|
|
</FilesMatch>
|
|
<Directory /usr/lib/cgi-bin>
|
|
SSLOptions +StdEnvVars
|
|
</Directory>
|
|
|
|
<Location /error>
|
|
AllowOverride All
|
|
Options +Indexes
|
|
Require all granted
|
|
</Location>
|
|
</VirtualHost> |