fixed missing configs and install
This commit is contained in:
44
apache-conf/sites-enabled/typo3.localhost.conf
Normal file
44
apache-conf/sites-enabled/typo3.localhost.conf
Normal file
@ -0,0 +1,44 @@
|
||||
<Directory /var/www/html>
|
||||
Options FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<IfModule mod_mime.c>
|
||||
RemoveType .html .htm
|
||||
<FilesMatch ".+\.html?$">
|
||||
AddType text/html .html
|
||||
AddType text/html .htm
|
||||
</FilesMatch>
|
||||
|
||||
RemoveType .svg .svgz
|
||||
<FilesMatch ".+\.svgz?$">
|
||||
AddType image/svg+xml .svg
|
||||
AddType image/svg+xml .svgz
|
||||
</FilesMatch>
|
||||
<IfModule mod_headers.c>
|
||||
#Header set Content-Security-Policy "default-src 'self' 'unsafe-inline'; img-src * data:; font-src 'self' data:;"
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
||||
|
||||
<VirtualHost *:80>
|
||||
DocumentRoot /var/www/html
|
||||
# ServerName typo3.localhost
|
||||
UseCanonicalName On
|
||||
# ServerAlias altogether.at
|
||||
|
||||
# RewriteEngine on
|
||||
# RewriteCond %{HTTP_HOST} ^altogether\.at$ [NC]
|
||||
# RewriteCond %{HTTP_HOST} !^www\. [NC]
|
||||
# RewriteRule ^(.*)$ https://www.%1altogether.at%{REQUEST_URI} [R=301,L]
|
||||
|
||||
# SSLEngine on
|
||||
# SSLOptions +StrictRequire
|
||||
# SSLCertificateFile /etc/ssl/certs/CF-altogether.at.crt
|
||||
# SSLCertificateKeyFile /etc/ssl/private/CF-altogether.at.key
|
||||
|
||||
# Header always set Content-Security-Policy "default-src 'self'; font-src *;img-src *; script-src 'none'; style-src 'unsafe-inline' *; connect-src 'self'"
|
||||
# Header set Content-Security-Policy "default-src 'self' 'unsafe-inline'; img-src * data:; font-src 'self' data:;"
|
||||
|
||||
</VirtualHost>
|
Reference in New Issue
Block a user