1
0
mirror of https://github.com/php/systems.git synced 2026-03-24 07:42:12 +01:00
Files
archived-systems/downloads.php.net/apache2/shared.php.net.conf

93 lines
2.9 KiB
Plaintext

<VirtualHost *:80>
ServerAdmin systems@php.net
ServerName shared.php.net
DocumentRoot /local/www/sites/shared.php.net
<Directory /local/www/sites/shared.php.net/>
Options FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
<FilesMatch ".(eot|ttf|otf|woff)">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
# Logging
ErrorLog ${APACHE_LOG_DIR}/shared.php.net-error.log
CustomLog ${APACHE_LOG_DIR}/shared.php.net-access.log combined
ExpiresActive On
ExpiresDefault "access plus 1 month"
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin systems@php.net
ServerName shared.php.net
DocumentRoot /local/www/sites/shared.php.net
<Directory /local/www/sites/shared.php.net/>
Options FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
<FilesMatch ".(eot|ttf|otf|woff)">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
# Logging
ErrorLog ${APACHE_LOG_DIR}/shared.php.net-error.log
CustomLog ${APACHE_LOG_DIR}/shared.php.net-access.log combined
ExpiresActive On
ExpiresDefault "access plus 1 month"
SSLEngine on
# A self-signed (snakeoil) certificate can be created by installing
# the ssl-cert package. See
# /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
# If both key and certificate are stored in the same file, only the
# SSLCertificateFile directive is needed.
#SSLCertificateFile /local/this-box/wildcard-php.net.crt
#SSLCertificateKeyFile /local/this-box/wildcard-php.net.key
#SSLCertificateFile /local/this-box/STAR_php_net.crt
#SSLCertificateKeyFile /local/this-box/STAR_php_net.key
SSLCertificateFile /local/this-box/star_php_net_2019.crt
SSLCertificateKeyFile /local/this-box/star_php_net_2019.crt
# Server Certificate Chain:
# Point SSLCertificateChainFile at a file containing the
# concatenation of PEM encoded CA certificates which form the
# certificate chain for the server certificate. Alternatively
# the referenced file can be the same as SSLCertificateFile
# when the CA certificates are directly appended to the server
# certificate for convinience.
#SSLCertificateChainFile /local/this-box/wildcard-php.net.GODADDY-CA.crt
#SSLCertificateChainFile /local/this-box/wildcard-php.net.cabundle
#SSLCertificateChainFile /local/this-box/STAR_php_net.ca-bundle
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
<Location /server-status>
SetHandler server-status
Allow from all
</Location>
</VirtualHost>
</IfModule>