mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-10 05:56:27 +02:00
Initial commit
This commit is contained in:
parent
b686656e88
commit
5e91fe947d
177 changed files with 41037 additions and 0 deletions
113
copri4/shareedms-operator/apache/shareedms-operator.conf
Normal file
113
copri4/shareedms-operator/apache/shareedms-operator.conf
Normal file
|
@ -0,0 +1,113 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName shareedms-operator.copri-bike.de
|
||||
ServerAlias shareedms-operator1.copri-bike.de
|
||||
|
||||
ServerAdmin info@gnu-systems.de
|
||||
DocumentRoot /var/www/copri4/shareedms-operator
|
||||
|
||||
ErrorLog /var/log/apache2/shareedms-operator-error.log
|
||||
LogLevel info ssl:warn
|
||||
CustomLog /var/log/apache2/shareedms-operator-access.log combined
|
||||
ServerSignature Off
|
||||
RewriteEngine on
|
||||
RewriteCond %{SERVER_NAME} =shareedms-operator.copri-bike.de
|
||||
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
<IfModule mod_ssl.c>
|
||||
<VirtualHost *:443>
|
||||
ServerName shareedms-operator1.copri-bike.de
|
||||
ServerAdmin info@gnu-systems.de
|
||||
DocumentRoot /var/www/copri4/shareedms-operator
|
||||
AddHandler cgi-script .cgi .sh .pl
|
||||
|
||||
<Directory /var/www/copri4/shareedms-operator>
|
||||
Options -Indexes +FollowSymLinks +ExecCGI
|
||||
AllowOverride None
|
||||
</Directory>
|
||||
|
||||
<FilesMatch ".(eot|ttf|otf|woff|woff2)">
|
||||
Header set Access-Control-Allow-Origin "*"
|
||||
</FilesMatch>
|
||||
|
||||
<Directory /var/www/copri4/shareedms-operator/site>
|
||||
Options +Indexes +FollowSymLinks -ExecCGI
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Directory /var/www/copri4/shareedms-operator/cache>
|
||||
Options -Indexes +FollowSymLinks
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
ForceType application/octet-stream
|
||||
Header set Content-Disposition attachment
|
||||
</Directory>
|
||||
|
||||
ErrorLog /var/log/apache2/shareedms-operator-error.log
|
||||
#LogLevel debug
|
||||
LogLevel info ssl:warn
|
||||
CustomLog /var/log/apache2/shareedms-operator-access.log combined
|
||||
ServerSignature Off
|
||||
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/copri-bike.de-0003/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/copri-bike.de-0003/privkey.pem
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:443>
|
||||
ServerName shareedms-operator.copri-bike.de
|
||||
ServerAdmin info@gnu-systems.de
|
||||
DocumentRoot /var/www/copri4/shareedms-operator
|
||||
|
||||
|
||||
PerlOptions +Parent
|
||||
PerlRequire /var/www/copri4/shareedms-operator/startup.pl
|
||||
<Location />
|
||||
SetHandler perl-script
|
||||
PerlResponseHandler Mod::Indexsharee
|
||||
PerlInitHandler Apache2::Reload
|
||||
PerlOptions +ParseHeaders +GlobalRequest
|
||||
Options -ExecCGI +FollowSymLinks
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Location>
|
||||
|
||||
<Location /ajax_json>
|
||||
SetHandler perl-script
|
||||
PerlInitHandler Apache2::Reload
|
||||
PerlResponseHandler Mod::ajax_json
|
||||
</Location>
|
||||
|
||||
<Location /ajax_post>
|
||||
SetHandler perl-script
|
||||
PerlInitHandler Apache2::Reload
|
||||
PerlResponseHandler Mod::ajax_post
|
||||
</Location>
|
||||
|
||||
<Location /FileOut>
|
||||
SetHandler perl-script
|
||||
PerlInitHandler Apache2::Reload
|
||||
PerlResponseHandler Mod::FileOut
|
||||
</Location>
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RedirectMatch ^/$ /DMS/Mietjournal
|
||||
SSLProxyEngine On
|
||||
RewriteCond %{REQUEST_URI} ^/(site|img|data|css|js|jquery)
|
||||
RewriteRule ^(.*)$ https://shareedms-operator1.copri-bike.de/$1 [P,L]
|
||||
</IfModule>
|
||||
|
||||
ErrorLog /var/log/apache2/shareedms-operator-error.log
|
||||
LogLevel info ssl:warn
|
||||
CustomLog /var/log/apache2/shareedms-operator-access.log combined
|
||||
ServerSignature Off
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
|
||||
SSLCertificateFile /etc/letsencrypt/live/copri-bike.de-0003/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/copri-bike.de-0003/privkey.pem
|
||||
</VirtualHost>
|
||||
|
||||
</IfModule>
|
Loading…
Add table
Add a link
Reference in a new issue