mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-10 05:56:27 +02:00
example configuration
This commit is contained in:
parent
dc2b4f7086
commit
64991348da
23 changed files with 563 additions and 189 deletions
|
@ -1,35 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de" xml:lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>iFrame message passing test</title>
|
||||
<meta name="description" content="iFrame message passing test">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
</head>
|
||||
<body>
|
||||
<div style='text-align:center;border:2px solid black;'>
|
||||
<div style='height:90px;border:0px solid blue;background-color:grey;'>Lastenrad Bayern</div>
|
||||
<!--iframe style="width: 100%; height:100vh; padding:0; margin:10px 0; border: 0;" src="https://konrad.copri-bike.de"></iframe-->
|
||||
|
||||
<!--
|
||||
https://github.com/davidjbradshaw/iframe-resizer
|
||||
for me it works only with onload="iFrameResize({log:true})"
|
||||
-->
|
||||
<div style="margin:0 20% 0 20%;border:1px solid green;text-align:left;">Registrieren
|
||||
<iframe id="myIframe" onload="iFrameResize()" src="https://shareeapp-bayern.copri-bike.de" style="width:100%;height:672px;border:none;" scrolling="auto"></iframe>
|
||||
</div>
|
||||
|
||||
<!--iframe id="myIframe" onload="iFrameResize({log:true})" src="https://shareeapp-bayern.copri-bike.de" style="width:100%;height:672px;border:none;" scrolling="auto"></iframe-->
|
||||
<!-- Original SWK -->
|
||||
<!--iframe id="myIframe" src="https://konrad.tink-konstanz.de/" style="width:100%;height:672px;border:none;" scrolling="auto"></iframe-->
|
||||
<!--script src="https://www.stadtwerke-konstanz.de/scripts/iframeResizer.min.js"></script-->
|
||||
<!--script>iFrameResize({log:true}, '#myIframe')</script-->
|
||||
|
||||
<!--script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script-->
|
||||
<script type="text/javascript" src="/js/iframeResizer.min.js" defer></script>
|
||||
|
||||
<!--script>iFrameResize({log:true})</script-->
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1 +0,0 @@
|
|||
shareeweb-operator_devel.conf
|
114
copri4/shareeweb-project/apache/shareeweb-operator.conf
Normal file
114
copri4/shareeweb-project/apache/shareeweb-operator.conf
Normal file
|
@ -0,0 +1,114 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName shareeweb-project.example.tld
|
||||
ServerAlias shareeweb-project1.example.tld
|
||||
|
||||
ServerAdmin info@gnu-systems.de
|
||||
DocumentRoot /var/www/copri4/shareeweb-project
|
||||
|
||||
ErrorLog /var/log/apache2/shareeweb-project-error.log
|
||||
LogLevel info ssl:warn
|
||||
CustomLog /var/log/apache2/shareeweb-project-access.log combined
|
||||
ServerSignature Off
|
||||
RewriteEngine on
|
||||
RewriteCond %{SERVER_NAME} =shareeweb-project.example.tld
|
||||
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||
</VirtualHost>
|
||||
|
||||
<IfModule mod_ssl.c>
|
||||
<VirtualHost *:443>
|
||||
ServerName shareeweb-project1.example.tld
|
||||
|
||||
ServerAdmin info@gnu-systems.de
|
||||
DocumentRoot /var/www/copri4/shareeweb-project
|
||||
AddHandler cgi-script .cgi .sh .pl
|
||||
|
||||
<Directory /var/www/copri4/shareeweb-project>
|
||||
Options -Indexes +FollowSymLinks +ExecCGI
|
||||
AllowOverride None
|
||||
</Directory>
|
||||
|
||||
<FilesMatch ".(eot|ttf|otf|woff|woff2)">
|
||||
Header set Access-Control-Allow-Origin "example.tld"
|
||||
</FilesMatch>
|
||||
|
||||
<Directory /var/www/copri4/shareeweb-project/site>
|
||||
Options -Indexes +FollowSymLinks -ExecCGI
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Directory /var/www/copri4/shareeweb-project/cache>
|
||||
Options -Indexes +FollowSymLinks
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
ForceType application/octet-stream
|
||||
Header set Content-Disposition attachment
|
||||
</Directory>
|
||||
|
||||
ErrorLog /var/log/apache2/shareeweb-project-error.log
|
||||
LogLevel info ssl:warn
|
||||
CustomLog /var/log/apache2/shareeweb-project-access.log combined
|
||||
ServerSignature Off
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
|
||||
SSLCertificateFile /etc/letsencrypt/live/example.tld-0003/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/example.tld-0003/privkey.pem
|
||||
</VirtualHost>
|
||||
|
||||
|
||||
<VirtualHost *:443>
|
||||
ServerName shareeweb-project.example.tld
|
||||
|
||||
ServerAdmin info@gnu-systems.de
|
||||
DocumentRoot /var/www/copri4/shareeweb-project
|
||||
|
||||
PerlOptions +Parent
|
||||
PerlRequire /var/www/copri4/shareeweb-project/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 /APIvelo>
|
||||
SetHandler perl-script
|
||||
PerlInitHandler Apache2::Reload
|
||||
PerlResponseHandler Mod::APIvelo
|
||||
</Location>
|
||||
|
||||
<Location /APIjsonserver>
|
||||
SetHandler perl-script
|
||||
PerlInitHandler Apache2::Reload
|
||||
PerlResponseHandler Mod::APIjsonserver
|
||||
</Location>
|
||||
|
||||
<Location /FileOut>
|
||||
SetHandler perl-script
|
||||
PerlInitHandler Apache2::Reload
|
||||
PerlResponseHandler Mod::FileOut
|
||||
</Location>
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RedirectMatch ^/$ /frame/Karte
|
||||
SSLProxyEngine On
|
||||
RewriteCond %{REQUEST_URI} ^/(site|img|data|css|js|jquery)
|
||||
RewriteRule ^(.*)$ https://shareeweb-project1.example.tld/$1 [P,L]
|
||||
</IfModule>
|
||||
|
||||
ErrorLog /var/log/apache2/shareeweb-project-error.log
|
||||
LogLevel info ssl:warn
|
||||
CustomLog /var/log/apache2/shareeweb-project-access.log combined
|
||||
ServerSignature Off
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/example.tld-0003/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/example.tld-0003/privkey.pem
|
||||
</VirtualHost>
|
||||
|
||||
</IfModule>
|
||||
|
|
@ -1,114 +0,0 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName shareeweb-project.copri-bike.de
|
||||
ServerAlias shareeweb-project1.copri-bike.de
|
||||
|
||||
ServerAdmin info@gnu-systems.de
|
||||
DocumentRoot /var/www/copri4/shareeweb-project
|
||||
|
||||
ErrorLog /var/log/apache2/shareeweb-project-error.log
|
||||
LogLevel info ssl:warn
|
||||
CustomLog /var/log/apache2/shareeweb-project-access.log combined
|
||||
ServerSignature Off
|
||||
RewriteEngine on
|
||||
RewriteCond %{SERVER_NAME} =shareeweb-project.copri-bike.de
|
||||
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||
</VirtualHost>
|
||||
|
||||
<IfModule mod_ssl.c>
|
||||
<VirtualHost *:443>
|
||||
ServerName shareeweb-project1.copri-bike.de
|
||||
|
||||
ServerAdmin info@gnu-systems.de
|
||||
DocumentRoot /var/www/copri4/shareeweb-project
|
||||
AddHandler cgi-script .cgi .sh .pl
|
||||
|
||||
<Directory /var/www/copri4/shareeweb-project>
|
||||
Options -Indexes +FollowSymLinks +ExecCGI
|
||||
AllowOverride None
|
||||
</Directory>
|
||||
|
||||
<FilesMatch ".(eot|ttf|otf|woff|woff2)">
|
||||
Header set Access-Control-Allow-Origin "copri-bike.de"
|
||||
</FilesMatch>
|
||||
|
||||
<Directory /var/www/copri4/shareeweb-project/site>
|
||||
Options -Indexes +FollowSymLinks -ExecCGI
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Directory /var/www/copri4/shareeweb-project/cache>
|
||||
Options -Indexes +FollowSymLinks
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
ForceType application/octet-stream
|
||||
Header set Content-Disposition attachment
|
||||
</Directory>
|
||||
|
||||
ErrorLog /var/log/apache2/shareeweb-project-error.log
|
||||
LogLevel info ssl:warn
|
||||
CustomLog /var/log/apache2/shareeweb-project-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 shareeweb-project.copri-bike.de
|
||||
|
||||
ServerAdmin info@gnu-systems.de
|
||||
DocumentRoot /var/www/copri4/shareeweb-project
|
||||
|
||||
PerlOptions +Parent
|
||||
PerlRequire /var/www/copri4/shareeweb-project/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 /APIvelo>
|
||||
SetHandler perl-script
|
||||
PerlInitHandler Apache2::Reload
|
||||
PerlResponseHandler Mod::APIvelo
|
||||
</Location>
|
||||
|
||||
<Location /APIjsonserver>
|
||||
SetHandler perl-script
|
||||
PerlInitHandler Apache2::Reload
|
||||
PerlResponseHandler Mod::APIjsonserver
|
||||
</Location>
|
||||
|
||||
<Location /FileOut>
|
||||
SetHandler perl-script
|
||||
PerlInitHandler Apache2::Reload
|
||||
PerlResponseHandler Mod::FileOut
|
||||
</Location>
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RedirectMatch ^/$ /frame/Karte
|
||||
SSLProxyEngine On
|
||||
RewriteCond %{REQUEST_URI} ^/(site|img|data|css|js|jquery)
|
||||
RewriteRule ^(.*)$ https://shareeweb-project1.copri-bike.de/$1 [P,L]
|
||||
</IfModule>
|
||||
|
||||
ErrorLog /var/log/apache2/shareeweb-project-error.log
|
||||
LogLevel info ssl:warn
|
||||
CustomLog /var/log/apache2/shareeweb-project-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