example configuration
BIN
copri4/main/img/LastenradBay_Standortpfeil_blau_03a.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
57
copri4/main/img/LastenradBay_Standortpfeil_blau_03a.svg
Executable file
|
@ -0,0 +1,57 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100px"
|
||||||
|
height="100px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
|
||||||
|
<style type="text/css">
|
||||||
|
.st0{display:none;}
|
||||||
|
.st1{display:inline;fill:#0000FF;}
|
||||||
|
.st2{display:inline;fill:#FF0000;}
|
||||||
|
.st3{fill:#009BDA;}
|
||||||
|
.st4{display:inline;fill:#3F4A75;}
|
||||||
|
.st5{display:inline;fill:#00813E;}
|
||||||
|
.st6{display:inline;fill:#FFFFFF;}
|
||||||
|
.st7{clip-path:url(#SVGID_2_);fill:#FFFFFF;}
|
||||||
|
</style>
|
||||||
|
<g id="Ebene_7" class="st0">
|
||||||
|
<rect x="-21" y="-8" class="st1" width="142" height="113"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_1" class="st0">
|
||||||
|
<path class="st2" d="M80.1,69.9c7-7.4,11.3-17.4,11.3-28.4C91.4,18.6,72.9,0,50,0S8.6,18.6,8.6,41.4c0,11,4.3,21,11.3,28.4l0,0
|
||||||
|
l0.3,0.3c0.4,0.4,0.8,0.8,1.2,1.2L50,100l28.7-28.7c0.4-0.4,0.8-0.8,1.2-1.2L80.1,69.9L80.1,69.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_1_Kopie">
|
||||||
|
<path class="st3" d="M80.1,69.9c7-7.4,11.3-17.4,11.3-28.4C91.4,18.6,72.9,0,50,0S8.6,18.6,8.6,41.4c0,11,4.3,21,11.3,28.4l0,0
|
||||||
|
l0.3,0.3c0.4,0.4,0.8,0.8,1.2,1.2L50,100l28.7-28.7c0.4-0.4,0.8-0.8,1.2-1.2L80.1,69.9L80.1,69.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_1_Kopie_Kopie_3" class="st0">
|
||||||
|
<path class="st4" d="M80.1,69.9c7-7.4,11.3-17.4,11.3-28.4C91.4,18.6,72.9,0,50,0S8.6,18.6,8.6,41.4c0,11,4.3,21,11.3,28.4l0,0
|
||||||
|
l0.3,0.3c0.4,0.4,0.8,0.8,1.2,1.2L50,100l28.7-28.7c0.4-0.4,0.8-0.8,1.2-1.2L80.1,69.9L80.1,69.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_1_Kopie_Kopie_2" class="st0">
|
||||||
|
<path class="st5" d="M80.1,69.9c7-7.4,11.3-17.4,11.3-28.4C91.4,18.6,72.9,0,50,0S8.6,18.6,8.6,41.4c0,11,4.3,21,11.3,28.4l0,0
|
||||||
|
l0.3,0.3c0.4,0.4,0.8,0.8,1.2,1.2L50,100l28.7-28.7c0.4-0.4,0.8-0.8,1.2-1.2L80.1,69.9L80.1,69.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_1_Kopie_Kopie" class="st0">
|
||||||
|
<path class="st6" d="M80.1,69.9c7-7.4,11.3-17.4,11.3-28.4C91.4,18.6,72.9,0,50,0S8.6,18.6,8.6,41.4c0,11,4.3,21,11.3,28.4l0,0
|
||||||
|
l0.3,0.3c0.4,0.4,0.8,0.8,1.2,1.2L50,100l28.7-28.7c0.4-0.4,0.8-0.8,1.2-1.2L80.1,69.9L80.1,69.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_2_Kopie_Kopie_Kopie_Kopie_Kopie">
|
||||||
|
<g>
|
||||||
|
<defs>
|
||||||
|
<circle id="SVGID_1_" cx="50" cy="41.4" r="38.4"/>
|
||||||
|
</defs>
|
||||||
|
<clipPath id="SVGID_2_">
|
||||||
|
<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
|
||||||
|
</clipPath>
|
||||||
|
<path class="st7" d="M88.4,29.2c-3.7-1-15.8-3.9-35.7-4l6.9,22.4h0c3.1-6.9,11.2-10,18.1-6.9c3.1,1.4,5.5,3.8,6.9,6.9h3.8V29.2z
|
||||||
|
M88.4,50.4h-5.6c-1.6-6-7.7-9.5-13.6-8c-3.9,1-6.9,4.1-8,8h-3.8c-2.7-8.7-7.4-24.1-10.1-32.8c-0.7-2.3-2.9-3.9-5.3-3.9h-2v2.8h2
|
||||||
|
c1.2,0,2.3,0.8,2.7,2c0,0,9.8,32,9.8,32H38.3c0,0-7.4-19.8-9.4-25.2l5.9-1.4c0.4-0.1,0.6-0.5,0.5-0.8c-0.1-0.3-0.4-0.5-0.7-0.5
|
||||||
|
l-11.9,0v2.8h3.1l1,2.8l-4.1,9.1c-3.8-1.2-7.9-0.8-11.3,1.2v3.4c2.9-2.3,6.7-3,10.2-2l-5.2,11.6c-0.3,0.7,0,1.5,0.7,1.9
|
||||||
|
c0.2,0.1,0.4,0.1,0.6,0.1h11.5c-1.5,6-7.6,9.6-13.6,8c-1.5-0.4-2.9-1.1-4.2-2.1v3.4c6.7,3.9,15.2,1.6,19.1-5.1
|
||||||
|
c0.8-1.3,1.3-2.7,1.6-4.2h28.7c0,0,0,0,0,0c0,6.2,5,11.2,11.2,11.2c6.2,0,11.2-5,11.2-11.2c0,0,0,0,0,0h5.2V50.4z M20,50.4
|
||||||
|
l4.3-9.6c3.4,2,5.4,5.7,5.4,9.6H20z M32.5,50.4c0-5-2.7-9.7-7.1-12.2l2.9-6.5l7,18.7H32.5z M72.1,44.9c3.5,0,6.7,2.2,7.9,5.5H64.2
|
||||||
|
C65.4,47.1,68.6,44.9,72.1,44.9L72.1,44.9z M72.1,61.6c-4.6,0-8.4-3.7-8.4-8.4l0,0c0,0,0,0,0,0h16.7c0,0,0,0,0,0
|
||||||
|
C80.5,57.8,76.7,61.6,72.1,61.6L72.1,61.6z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.3 KiB |
BIN
copri4/main/img/LastenradBay_Standortpfeil_gruen_03a.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
32
copri4/main/img/LastenradBay_Standortpfeil_gruen_03a.svg
Executable file
|
@ -0,0 +1,32 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="82.87" height="100" viewBox="0 0 82.87 100">
|
||||||
|
<defs>
|
||||||
|
<style>
|
||||||
|
.cls-1 {
|
||||||
|
fill: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cls-2 {
|
||||||
|
fill: #00813e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cls-3 {
|
||||||
|
clip-path: url(#clip-path);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cls-4 {
|
||||||
|
fill: #fff;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<clipPath id="clip-path" transform="translate(-8.57 0)">
|
||||||
|
<circle class="cls-1" cx="50" cy="41.43" r="38.43"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
<g id="Ebene_1_Kopie_Kopie_2" data-name="Ebene 1 Kopie Kopie 2">
|
||||||
|
<path class="cls-2" d="M80.12,69.86a41.43,41.43,0,1,0-60.24,0h0l.27.27c.38.39.76.78,1.15,1.15L50,100,78.71,71.29c.39-.37.77-.76,1.15-1.15l.27-.27Z" transform="translate(-8.57 0)"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_2_Kopie_Kopie_Kopie_Kopie_Kopie" data-name="Ebene 2 Kopie Kopie Kopie Kopie Kopie">
|
||||||
|
<g class="cls-3">
|
||||||
|
<path class="cls-4" d="M88.43,29.19c-3.72-1-15.77-3.86-35.74-4l6.89,22.39h0a13.72,13.72,0,0,1,25,0h3.82Zm0,21.18H82.88a11.15,11.15,0,0,0-21.56,0H57.5c-2.7-8.72-7.4-24.13-10.09-32.84a5.59,5.59,0,0,0-5.35-3.94h-2v2.79h2a2.83,2.83,0,0,1,2.68,2s9.83,32,9.82,32H38.27s-7.36-19.79-9.39-25.2l5.92-1.43a.68.68,0,0,0,.52-.83.7.7,0,0,0-.68-.54H22.74v2.8h3.15l1,2.8-4.06,9.09a13.94,13.94,0,0,0-11.3,1.18v3.38a11.16,11.16,0,0,1,10.16-2L16.55,51.2a1.4,1.4,0,0,0,.71,1.85,1.29,1.29,0,0,0,.58.12H29.38a11.18,11.18,0,0,1-17.81,6V62.5a14,14,0,0,0,19.09-5.13,13.7,13.7,0,0,0,1.59-4.2H60.94v0a11.16,11.16,0,0,0,22.32,0v0h5.17ZM20,50.37l4.29-9.61a11.21,11.21,0,0,1,5.45,9.61Zm12.54,0a14,14,0,0,0-7.1-12.18l2.9-6.48,7,18.66ZM72.1,44.85A8.38,8.38,0,0,1,80,50.37H64.25a8.36,8.36,0,0,1,7.85-5.52Zm0,16.73a8.36,8.36,0,0,1-8.36-8.36h0v0H80.46v0a8.37,8.37,0,0,1-8.36,8.35Z" transform="translate(-8.57 0)"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
BIN
copri4/main/img/LastenradBay_Standortpfeil_klenze-blau_03a.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
57
copri4/main/img/LastenradBay_Standortpfeil_klenze-blau_03a.svg
Executable file
|
@ -0,0 +1,57 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100px"
|
||||||
|
height="100px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
|
||||||
|
<style type="text/css">
|
||||||
|
.st0{display:none;}
|
||||||
|
.st1{display:inline;fill:#0000FF;}
|
||||||
|
.st2{display:inline;fill:#FF0000;}
|
||||||
|
.st3{display:inline;fill:#009BDA;}
|
||||||
|
.st4{fill:#3F4A75;}
|
||||||
|
.st5{display:inline;fill:#00813E;}
|
||||||
|
.st6{display:inline;fill:#FFFFFF;}
|
||||||
|
.st7{clip-path:url(#SVGID_2_);fill:#FFFFFF;}
|
||||||
|
</style>
|
||||||
|
<g id="Ebene_7" class="st0">
|
||||||
|
<rect x="-21" y="-8" class="st1" width="142" height="113"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_1" class="st0">
|
||||||
|
<path class="st2" d="M80.1,69.9c7-7.4,11.3-17.4,11.3-28.4C91.4,18.6,72.9,0,50,0S8.6,18.6,8.6,41.4c0,11,4.3,21,11.3,28.4l0,0
|
||||||
|
l0.3,0.3c0.4,0.4,0.8,0.8,1.2,1.2L50,100l28.7-28.7c0.4-0.4,0.8-0.8,1.2-1.2L80.1,69.9L80.1,69.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_1_Kopie" class="st0">
|
||||||
|
<path class="st3" d="M80.1,69.9c7-7.4,11.3-17.4,11.3-28.4C91.4,18.6,72.9,0,50,0S8.6,18.6,8.6,41.4c0,11,4.3,21,11.3,28.4l0,0
|
||||||
|
l0.3,0.3c0.4,0.4,0.8,0.8,1.2,1.2L50,100l28.7-28.7c0.4-0.4,0.8-0.8,1.2-1.2L80.1,69.9L80.1,69.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_1_Kopie_Kopie_3">
|
||||||
|
<path class="st4" d="M80.1,69.9c7-7.4,11.3-17.4,11.3-28.4C91.4,18.6,72.9,0,50,0S8.6,18.6,8.6,41.4c0,11,4.3,21,11.3,28.4l0,0
|
||||||
|
l0.3,0.3c0.4,0.4,0.8,0.8,1.2,1.2L50,100l28.7-28.7c0.4-0.4,0.8-0.8,1.2-1.2L80.1,69.9L80.1,69.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_1_Kopie_Kopie_2" class="st0">
|
||||||
|
<path class="st5" d="M80.1,69.9c7-7.4,11.3-17.4,11.3-28.4C91.4,18.6,72.9,0,50,0S8.6,18.6,8.6,41.4c0,11,4.3,21,11.3,28.4l0,0
|
||||||
|
l0.3,0.3c0.4,0.4,0.8,0.8,1.2,1.2L50,100l28.7-28.7c0.4-0.4,0.8-0.8,1.2-1.2L80.1,69.9L80.1,69.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_1_Kopie_Kopie" class="st0">
|
||||||
|
<path class="st6" d="M80.1,69.9c7-7.4,11.3-17.4,11.3-28.4C91.4,18.6,72.9,0,50,0S8.6,18.6,8.6,41.4c0,11,4.3,21,11.3,28.4l0,0
|
||||||
|
l0.3,0.3c0.4,0.4,0.8,0.8,1.2,1.2L50,100l28.7-28.7c0.4-0.4,0.8-0.8,1.2-1.2L80.1,69.9L80.1,69.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_2_Kopie_Kopie_Kopie_Kopie_Kopie">
|
||||||
|
<g>
|
||||||
|
<defs>
|
||||||
|
<circle id="SVGID_1_" cx="50" cy="41.4" r="38.4"/>
|
||||||
|
</defs>
|
||||||
|
<clipPath id="SVGID_2_">
|
||||||
|
<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
|
||||||
|
</clipPath>
|
||||||
|
<path class="st7" d="M88.4,29.2c-3.7-1-15.8-3.9-35.7-4l6.9,22.4h0c3.1-6.9,11.2-10,18.1-6.9c3.1,1.4,5.5,3.8,6.9,6.9h3.8V29.2z
|
||||||
|
M88.4,50.4h-5.6c-1.6-6-7.7-9.5-13.6-8c-3.9,1-6.9,4.1-8,8h-3.8c-2.7-8.7-7.4-24.1-10.1-32.8c-0.7-2.3-2.9-3.9-5.3-3.9h-2v2.8h2
|
||||||
|
c1.2,0,2.3,0.8,2.7,2c0,0,9.8,32,9.8,32H38.3c0,0-7.4-19.8-9.4-25.2l5.9-1.4c0.4-0.1,0.6-0.5,0.5-0.8c-0.1-0.3-0.4-0.5-0.7-0.5
|
||||||
|
l-11.9,0v2.8h3.1l1,2.8l-4.1,9.1c-3.8-1.2-7.9-0.8-11.3,1.2v3.4c2.9-2.3,6.7-3,10.2-2l-5.2,11.6c-0.3,0.7,0,1.5,0.7,1.9
|
||||||
|
c0.2,0.1,0.4,0.1,0.6,0.1h11.5c-1.5,6-7.6,9.6-13.6,8c-1.5-0.4-2.9-1.1-4.2-2.1v3.4c6.7,3.9,15.2,1.6,19.1-5.1
|
||||||
|
c0.8-1.3,1.3-2.7,1.6-4.2h28.7c0,0,0,0,0,0c0,6.2,5,11.2,11.2,11.2c6.2,0,11.2-5,11.2-11.2c0,0,0,0,0,0h5.2V50.4z M20,50.4
|
||||||
|
l4.3-9.6c3.4,2,5.4,5.7,5.4,9.6H20z M32.5,50.4c0-5-2.7-9.7-7.1-12.2l2.9-6.5l7,18.7H32.5z M72.1,44.9c3.5,0,6.7,2.2,7.9,5.5H64.2
|
||||||
|
C65.4,47.1,68.6,44.9,72.1,44.9L72.1,44.9z M72.1,61.6c-4.6,0-8.4-3.7-8.4-8.4l0,0c0,0,0,0,0,0h16.7c0,0,0,0,0,0
|
||||||
|
C80.5,57.8,76.7,61.6,72.1,61.6L72.1,61.6z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.3 KiB |
BIN
copri4/main/img/LastenradBay_Standortpfeil_rot_03a.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
32
copri4/main/img/LastenradBay_Standortpfeil_rot_03a.svg
Executable file
|
@ -0,0 +1,32 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="82.87" height="100" viewBox="0 0 82.87 100">
|
||||||
|
<defs>
|
||||||
|
<style>
|
||||||
|
.cls-1 {
|
||||||
|
fill: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cls-2 {
|
||||||
|
fill: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cls-3 {
|
||||||
|
clip-path: url(#clip-path);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cls-4 {
|
||||||
|
fill: #fff;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<clipPath id="clip-path" transform="translate(-8.57)">
|
||||||
|
<circle class="cls-1" cx="50" cy="41.43" r="38.43"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
<g id="Ebene_1" data-name="Ebene 1">
|
||||||
|
<path class="cls-2" d="M80.12,69.86a41.43,41.43,0,1,0-60.24,0h0l.27.27c.38.39.76.78,1.15,1.15L50,100,78.71,71.29c.39-.37.77-.76,1.15-1.15l.27-.27Z" transform="translate(-8.57)"/>
|
||||||
|
</g>
|
||||||
|
<g id="Ebene_2_Kopie_Kopie_Kopie_Kopie_Kopie" data-name="Ebene 2 Kopie Kopie Kopie Kopie Kopie">
|
||||||
|
<g class="cls-3">
|
||||||
|
<path class="cls-4" d="M88.43,29.19c-3.72-1-15.77-3.86-35.74-4l6.89,22.39h0a13.72,13.72,0,0,1,25,0h3.82Zm0,21.18H82.88a11.15,11.15,0,0,0-21.56,0H57.5c-2.7-8.72-7.4-24.13-10.09-32.84a5.59,5.59,0,0,0-5.35-3.94h-2v2.79h2a2.83,2.83,0,0,1,2.68,2s9.83,32,9.82,32H38.27s-7.36-19.79-9.39-25.2l5.92-1.43a.68.68,0,0,0,.52-.83.7.7,0,0,0-.68-.54H22.74v2.8h3.15l1,2.8-4.06,9.09a13.94,13.94,0,0,0-11.3,1.18v3.38a11.16,11.16,0,0,1,10.16-2L16.55,51.2a1.4,1.4,0,0,0,.71,1.85,1.29,1.29,0,0,0,.58.12H29.38a11.18,11.18,0,0,1-17.81,6V62.5a14,14,0,0,0,19.09-5.13,13.7,13.7,0,0,0,1.59-4.2H60.94v0a11.16,11.16,0,0,0,22.32,0v0h5.17ZM20,50.37l4.29-9.61a11.21,11.21,0,0,1,5.45,9.61Zm12.54,0a14,14,0,0,0-7.1-12.18l2.9-6.48,7,18.66ZM72.1,44.85A8.38,8.38,0,0,1,80,50.37H64.25a8.36,8.36,0,0,1,7.85-5.52Zm0,16.73a8.36,8.36,0,0,1-8.36-8.36h0v0H80.46v0a8.37,8.37,0,0,1-8.36,8.35Z" transform="translate(-8.57)"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.7 KiB |
|
@ -310,6 +310,7 @@ sub handler {
|
||||||
#permissions
|
#permissions
|
||||||
#DMS Kunden rw
|
#DMS Kunden rw
|
||||||
if($R::base_edit && $node_meta->{ct_table} eq "contentadr"){
|
if($R::base_edit && $node_meta->{ct_table} eq "contentadr"){
|
||||||
|
$bw->log("DMS action from $users_dms->{u_id} on $node_meta->{ct_table}|$R::c_id with: $R::base_edit","","");
|
||||||
if($R::c_id && $R::base_edit eq "remove_chk4rel"){
|
if($R::c_id && $R::base_edit eq "remove_chk4rel"){
|
||||||
my $delete_key = "delete_content";
|
my $delete_key = "delete_content";
|
||||||
$delete_key = "delete_adr";
|
$delete_key = "delete_adr";
|
||||||
|
@ -325,6 +326,7 @@ sub handler {
|
||||||
|
|
||||||
#DMS users accounts
|
#DMS users accounts
|
||||||
if($R::base_edit && $node_meta->{ct_table} eq "users"){#DMS-Account rw
|
if($R::base_edit && $node_meta->{ct_table} eq "users"){#DMS-Account rw
|
||||||
|
$bw->log("DMS action from $users_dms->{u_id} on $node_meta->{ct_table} with: $R::base_edit","","");
|
||||||
if($R::u_id && $R::base_edit eq "remove_chk4rel"){#users
|
if($R::u_id && $R::base_edit eq "remove_chk4rel"){#users
|
||||||
my $delete_key = "delete_dmsusers";
|
my $delete_key = "delete_dmsusers";
|
||||||
$return = "failure::Datensatz wirklich löschen. ::?base_edit=$delete_key\&exit_box2=1\&u_id=$R::u_id ::löschen";
|
$return = "failure::Datensatz wirklich löschen. ::?base_edit=$delete_key\&exit_box2=1\&u_id=$R::u_id ::löschen";
|
||||||
|
@ -339,6 +341,7 @@ sub handler {
|
||||||
|
|
||||||
#DMS Waren || Einstellung/Service* rw
|
#DMS Waren || Einstellung/Service* rw
|
||||||
if($node_meta->{ct_table} eq "content" || $node_meta->{ct_table} eq "contentuser"){
|
if($node_meta->{ct_table} eq "content" || $node_meta->{ct_table} eq "contentuser"){
|
||||||
|
$bw->log("DMS action from $users_dms->{u_id} on $node_meta->{ct_table}|$R::main_id with: $R::rel_edit","","");
|
||||||
if(($node_meta->{ct_table} eq "content" && $users_dms->{int01} == 2) || ($node_meta->{ct_table} eq "contentuser" && $users_dms->{int08} == 2)){
|
if(($node_meta->{ct_table} eq "content" && $users_dms->{int01} == 2) || ($node_meta->{ct_table} eq "contentuser" && $users_dms->{int08} == 2)){
|
||||||
if($R::rel_edit eq "save_relation" && $R::main_id && $R::main_id >= 200000){
|
if($R::rel_edit eq "save_relation" && $R::main_id && $R::main_id >= 200000){
|
||||||
$return = $pl->save_relation($R::main_id,$users_dms->{u_id});
|
$return = $pl->save_relation($R::main_id,$users_dms->{u_id});
|
||||||
|
@ -346,7 +349,7 @@ sub handler {
|
||||||
$return = $pl->delete_relation($R::main_id,$users_dms->{u_id});
|
$return = $pl->delete_relation($R::main_id,$users_dms->{u_id});
|
||||||
}elsif($R::rel_edit eq "new_relation" && $R::main_id && $R::main_id >= 200000){
|
}elsif($R::rel_edit eq "new_relation" && $R::main_id && $R::main_id >= 200000){
|
||||||
$return = $pl->new_relation($R::main_id,$users_dms->{u_id});
|
$return = $pl->new_relation($R::main_id,$users_dms->{u_id});
|
||||||
}else{
|
}elsif($R::rel_edit && $R::main_id && $R::main_id >= 200000){
|
||||||
$return = $pm->maininit($users_dms);
|
$return = $pm->maininit($users_dms);
|
||||||
}
|
}
|
||||||
}elsif($R::rel_edit){
|
}elsif($R::rel_edit){
|
||||||
|
@ -356,6 +359,7 @@ sub handler {
|
||||||
|
|
||||||
#DMS Faktura
|
#DMS Faktura
|
||||||
if($node_meta->{ct_table} eq "contenttrans"){
|
if($node_meta->{ct_table} eq "contenttrans"){
|
||||||
|
$bw->log("DMS action from $users_dms->{u_id} on $node_meta->{ct_table}|$R::c_id4trans,$R::tpl_id4trans,$R::kind_of_trans with: $R::ct_trans","","");
|
||||||
if($users_dms->{int03} == 1 && $R::ct_trans eq "open"){#DMS Faktura read
|
if($users_dms->{int03} == 1 && $R::ct_trans eq "open"){#DMS Faktura read
|
||||||
$db->update_users4trans($R::c_id4trans,$R::tpl_id4trans,$R::kind_of_trans,$users_dms->{u_id}) if($R::c_id4trans && $R::tpl_id4trans);
|
$db->update_users4trans($R::c_id4trans,$R::tpl_id4trans,$R::kind_of_trans,$users_dms->{u_id}) if($R::c_id4trans && $R::tpl_id4trans);
|
||||||
}elsif($users_dms->{int03} == 2){#DMS Faktura rw
|
}elsif($users_dms->{int03} == 2){#DMS Faktura rw
|
||||||
|
|
|
@ -78,6 +78,14 @@ sub kmlGenerator {
|
||||||
$project = $dbt->{website}->{$varenv->{syshost}}->{project} if($dbt->{website}->{$varenv->{syshost}}->{project});
|
$project = $dbt->{website}->{$varenv->{syshost}}->{project} if($dbt->{website}->{$varenv->{syshost}}->{project});
|
||||||
$project = $dbt->{operator}->{$varenv->{dbname}}->{project} if($dbt->{operator}->{$varenv->{dbname}}->{project});
|
$project = $dbt->{operator}->{$varenv->{dbname}}->{project} if($dbt->{operator}->{$varenv->{dbname}}->{project});
|
||||||
#print "$project | $varenv->{syshost} | $users_sharee->{c_id} | $authcookie->{authcookie}";
|
#print "$project | $varenv->{syshost} | $users_sharee->{c_id} | $authcookie->{authcookie}";
|
||||||
|
my $icon_green = "Open_Green.png";
|
||||||
|
my $icon_red = "Open_Red.png";
|
||||||
|
my $icon_blue = "Open_Blue.png";
|
||||||
|
if($project eq "Bayern"){
|
||||||
|
$icon_green = "LastenradBay_Standortpfeil_gruen_03a.png";
|
||||||
|
$icon_red = "LastenradBay_Standortpfeil_rot_03a.png";
|
||||||
|
$icon_blue = "LastenradBay_Standortpfeil_blau_03a.png";
|
||||||
|
}
|
||||||
|
|
||||||
my $timestamp = strftime "%Y%m%d%H%M%S", localtime;
|
my $timestamp = strftime "%Y%m%d%H%M%S", localtime;
|
||||||
my $kmlfile = "sharee-$timestamp-$users_sharee->{c_id}.kml";
|
my $kmlfile = "sharee-$timestamp-$users_sharee->{c_id}.kml";
|
||||||
|
@ -122,7 +130,7 @@ sub kmlGenerator {
|
||||||
foreach my $station (keys (%{ $response_stations->{shareejson}->{stations} })) {
|
foreach my $station (keys (%{ $response_stations->{shareejson}->{stations} })) {
|
||||||
$station_hash->{$station} = $response_stations->{shareejson}->{stations}->{$station};
|
$station_hash->{$station} = $response_stations->{shareejson}->{stations}->{$station};
|
||||||
|
|
||||||
$place_pin{$station} = "Open_Red.png";
|
$place_pin{$station} = $icon_red;
|
||||||
my $station_desc = "Mietradstation $station";
|
my $station_desc = "Mietradstation $station";
|
||||||
if($response_stations->{shareejson}->{stations}->{$station}->{description}){
|
if($response_stations->{shareejson}->{stations}->{$station}->{description}){
|
||||||
$station_desc = "Mietradstation: $response_stations->{shareejson}->{stations}->{$station}->{description} $station";
|
$station_desc = "Mietradstation: $response_stations->{shareejson}->{stations}->{$station}->{description} $station";
|
||||||
|
@ -156,19 +164,19 @@ sub kmlGenerator {
|
||||||
|
|
||||||
#if Lastenrad
|
#if Lastenrad
|
||||||
if($station_groupID == $lastenrad && $station_groupID == $bike_groupID && $station eq $response_bikes->{shareejson}->{bikes}->{$bike}->{station}){
|
if($station_groupID == $lastenrad && $station_groupID == $bike_groupID && $station eq $response_bikes->{shareejson}->{bikes}->{$bike}->{station}){
|
||||||
$place_pin{$station} = "Open_Green.png";
|
$place_pin{$station} = $icon_green;
|
||||||
$place_desc{$station} .= "<p align='left'>• Lastenrad vorrätig: $response_bikes->{shareejson}->{bikes}->{$bike}->{description} $bike</p>";
|
$place_desc{$station} .= "<p align='left'>• Lastenrad vorrätig: $response_bikes->{shareejson}->{bikes}->{$bike}->{description} $bike</p>";
|
||||||
#print "($station) Lastenrad $bike\n";
|
#print "($station) Lastenrad $bike\n";
|
||||||
}
|
}
|
||||||
#if E-Lastenrad
|
#if E-Lastenrad
|
||||||
if($station_groupID == $e_lastenrad && $station_groupID == $bike_groupID && $station eq $response_bikes->{shareejson}->{bikes}->{$bike}->{station}){
|
if($station_groupID == $e_lastenrad && $station_groupID == $bike_groupID && $station eq $response_bikes->{shareejson}->{bikes}->{$bike}->{station}){
|
||||||
$place_pin{$station} = "Open_Green.png";
|
$place_pin{$station} = $icon_green;
|
||||||
$place_desc{$station} .= "<p align='left'>• E-Lastenrad vorrätig: $response_bikes->{shareejson}->{bikes}->{$bike}->{description} $bike</p>";
|
$place_desc{$station} .= "<p align='left'>• E-Lastenrad vorrätig: $response_bikes->{shareejson}->{bikes}->{$bike}->{description} $bike</p>";
|
||||||
#print "($station) E-Lastenrad $bike\n";
|
#print "($station) E-Lastenrad $bike\n";
|
||||||
}
|
}
|
||||||
#if Stadtrad
|
#if Stadtrad
|
||||||
if($station_groupID == $stadtrad && $station_groupID == $bike_groupID && $station eq $response_bikes->{shareejson}->{bikes}->{$bike}->{station}){
|
if($station_groupID == $stadtrad && $station_groupID == $bike_groupID && $station eq $response_bikes->{shareejson}->{bikes}->{$bike}->{station}){
|
||||||
$place_pin{$station} = "Open_Green.png";
|
$place_pin{$station} = $icon_green;
|
||||||
$place_desc{$station} .= "<p align='left'>• Stadtrad vorrätig: $response_bikes->{shareejson}->{bikes}->{$bike}->{description} $bike</p>";
|
$place_desc{$station} .= "<p align='left'>• Stadtrad vorrätig: $response_bikes->{shareejson}->{bikes}->{$bike}->{description} $bike</p>";
|
||||||
#print "($station) Stadtrad $bike\n";
|
#print "($station) Stadtrad $bike\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,6 +120,14 @@ sub admin_tpl(){
|
||||||
|
|
||||||
#content container
|
#content container
|
||||||
print "<div id='Container_cms'>$superu_id";
|
print "<div id='Container_cms'>$superu_id";
|
||||||
|
|
||||||
|
print $q->hidden(-name=>'last_node_name', -value=>"$node_meta->{node_name}");
|
||||||
|
print $q->hidden(-name=>'owner', -value=>"$users_dms->{u_id}");
|
||||||
|
print $q->hidden(-name=>'parent_id', -value=>"$node_meta->{parent_id}");
|
||||||
|
print $q->hidden(-name=>'main_id', -value=>"$node_meta->{main_id}");
|
||||||
|
print $q->hidden(-name=>'template_id', -value=>"$node_meta->{template_id}");
|
||||||
|
print $q->hidden(-name=>'mode', -value=>"admin");
|
||||||
|
|
||||||
print $q->start_table({-style=>'margin-top:6px;', -border=>'0', -width=>'100%', -align=>'left', -cellpadding=>'3', -cellspacing=>'3'});
|
print $q->start_table({-style=>'margin-top:6px;', -border=>'0', -width=>'100%', -align=>'left', -cellpadding=>'3', -cellspacing=>'3'});
|
||||||
print $q->Tr();
|
print $q->Tr();
|
||||||
if(1==1){
|
if(1==1){
|
||||||
|
@ -137,13 +145,6 @@ sub admin_tpl(){
|
||||||
print $q->span({-style=>'margin-left:5em; font-size:0.91em;'}, "$u_name / $change") if($u_name);
|
print $q->span({-style=>'margin-left:5em; font-size:0.91em;'}, "$u_name / $change") if($u_name);
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|
||||||
print $q->hidden(-name=>'last_node_name', -value=>"$node_meta->{node_name}");
|
|
||||||
print $q->hidden(-name=>'owner', -value=>"$users_dms->{u_id}");
|
|
||||||
print $q->hidden(-name=>'parent_id', -value=>"$node_meta->{parent_id}");
|
|
||||||
print $q->hidden(-name=>'main_id', -value=>"$node_meta->{main_id}");
|
|
||||||
print $q->hidden(-name=>'mode', -value=>"admin");
|
|
||||||
|
|
||||||
|
|
||||||
print $q->Tr();
|
print $q->Tr();
|
||||||
print $q->td({-colspan=>'2',-style=>'padding:5px;font-style:italic;'},"Path: $path");
|
print $q->td({-colspan=>'2',-style=>'padding:5px;font-style:italic;'},"Path: $path");
|
||||||
foreach (@tpl_order){
|
foreach (@tpl_order){
|
||||||
|
|
|
@ -233,8 +233,8 @@ sub delete_relation {
|
||||||
|
|
||||||
|
|
||||||
my $collect_rows=0;
|
my $collect_rows=0;
|
||||||
if($R::template_id eq "205"){
|
if($noderel->{template_id} == 205){
|
||||||
(my $collect_node,$collect_rows) = $dbt->collect_noderel($dbh,$noderel->{parent_id},$R::template_id);
|
(my $collect_node,$collect_rows) = $dbt->collect_noderel($dbh,$noderel->{parent_id},$noderel->{template_id});
|
||||||
}
|
}
|
||||||
my $subrelnode = $dbt->get_subrelnode($dbh,$main_id,"","");
|
my $subrelnode = $dbt->get_subrelnode($dbh,$main_id,"","");
|
||||||
|
|
||||||
|
@ -242,6 +242,7 @@ sub delete_relation {
|
||||||
my $deleteable_subnode = 1;
|
my $deleteable_subnode = 1;
|
||||||
my $deleteable_node = 1;
|
my $deleteable_node = 1;
|
||||||
my $deleteable_last_node = 1;
|
my $deleteable_last_node = 1;
|
||||||
|
#TODO, $subrelnode->{template_id} must be unique in Flotte context
|
||||||
if($subrelnode->{template_id} >= 400 && $subrelnode->{template_id} <= 499){
|
if($subrelnode->{template_id} >= 400 && $subrelnode->{template_id} <= 499){
|
||||||
$deleteable_subnode = 1;
|
$deleteable_subnode = 1;
|
||||||
if($collect_rows <= 1){
|
if($collect_rows <= 1){
|
||||||
|
@ -254,7 +255,9 @@ sub delete_relation {
|
||||||
if($ct_record->{c_id} > 0){
|
if($ct_record->{c_id} > 0){
|
||||||
$deleteable_node = 0;
|
$deleteable_node = 0;
|
||||||
}
|
}
|
||||||
print FILE "$deleteable_subnode == 0 || $deleteable_node == 0 --> collect_rows: $collect_rows|c_id: $ct_record->{c_id}\n" if($debug);
|
#print "$deleteable_subnode|$deleteable_node|$deleteable_last_node|$collect_rows";
|
||||||
|
|
||||||
|
print FILE "deleteable_subnode:$deleteable_subnode | deleteable_node:$deleteable_node | deleteable_last_node:$deleteable_last_node --> collect_rows: $collect_rows|c_id: $ct_record->{c_id}\n" if($debug);
|
||||||
|
|
||||||
if($deleteable_last_node == 0){
|
if($deleteable_last_node == 0){
|
||||||
$ret = "failure::Abbruch, es muss mindestens eine Mietrad Flotte definiert sein. ($collect_rows on $noderel->{parent_id})";
|
$ret = "failure::Abbruch, es muss mindestens eine Mietrad Flotte definiert sein. ($collect_rows on $noderel->{parent_id})";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName shareeapp-operator.copri-bike.de
|
ServerName shareeapp-operator.example.tld
|
||||||
ServerAlias shareeapp-operator1.copri-bike.de
|
ServerAlias shareeapp-operator1.example.tld
|
||||||
|
|
||||||
ServerAdmin info@gnu-systems.de
|
ServerAdmin info@gnu-systems.de
|
||||||
DocumentRoot /var/www/copri4/shareeapp-operator
|
DocumentRoot /var/www/copri4/shareeapp-operator
|
||||||
|
@ -10,13 +10,13 @@
|
||||||
CustomLog /var/log/apache2/shareeapp-operator-access.log combined
|
CustomLog /var/log/apache2/shareeapp-operator-access.log combined
|
||||||
ServerSignature Off
|
ServerSignature Off
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteCond %{SERVER_NAME} =shareeapp-operator.copri-bike.de
|
RewriteCond %{SERVER_NAME} =shareeapp-operator.example.tld
|
||||||
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerName shareeapp-operator1.copri-bike.de
|
ServerName shareeapp-operator1.example.tld
|
||||||
ServerAdmin info@gnu-systems.de
|
ServerAdmin info@gnu-systems.de
|
||||||
DocumentRoot /var/www/copri4/shareeapp-operator
|
DocumentRoot /var/www/copri4/shareeapp-operator
|
||||||
AddHandler cgi-script .cgi .sh .pl
|
AddHandler cgi-script .cgi .sh .pl
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<FilesMatch ".(eot|ttf|otf|woff|woff2)">
|
<FilesMatch ".(eot|ttf|otf|woff|woff2)">
|
||||||
Header set Access-Control-Allow-Origin "copri-bike.de"
|
Header set Access-Control-Allow-Origin "example.tld"
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
||||||
<Directory /var/www/copri4/shareeapp-operator/site>
|
<Directory /var/www/copri4/shareeapp-operator/site>
|
||||||
|
@ -50,13 +50,13 @@
|
||||||
ServerSignature Off
|
ServerSignature Off
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
|
|
||||||
SSLCertificateFile /etc/letsencrypt/live/copri-bike.de-0003/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/example.tld-0003/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/copri-bike.de-0003/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/example.tld-0003/privkey.pem
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerName shareeapp-operator.copri-bike.de
|
ServerName shareeapp-operator.example.tld
|
||||||
ServerAdmin info@gnu-systems.de
|
ServerAdmin info@gnu-systems.de
|
||||||
DocumentRoot /var/www/copri4/shareeapp-operator
|
DocumentRoot /var/www/copri4/shareeapp-operator
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ SSLCertificateKeyFile /etc/letsencrypt/live/copri-bike.de-0003/privkey.pem
|
||||||
RedirectMatch ^/$ /app/Anmelden
|
RedirectMatch ^/$ /app/Anmelden
|
||||||
SSLProxyEngine On
|
SSLProxyEngine On
|
||||||
RewriteCond %{REQUEST_URI} ^/(site|img|data|css|js|jquery)
|
RewriteCond %{REQUEST_URI} ^/(site|img|data|css|js|jquery)
|
||||||
RewriteRule ^(.*)$ https://shareeapp-operator1.copri-bike.de/$1 [P,L]
|
RewriteRule ^(.*)$ https://shareeapp-operator1.example.tld/$1 [P,L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
ErrorLog /var/log/apache2/shareeapp-operator-error.log
|
ErrorLog /var/log/apache2/shareeapp-operator-error.log
|
||||||
|
@ -104,8 +104,8 @@ SSLCertificateKeyFile /etc/letsencrypt/live/copri-bike.de-0003/privkey.pem
|
||||||
CustomLog /var/log/apache2/shareeapp-operator-access.log combined
|
CustomLog /var/log/apache2/shareeapp-operator-access.log combined
|
||||||
ServerSignature Off
|
ServerSignature Off
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
SSLCertificateFile /etc/letsencrypt/live/copri-bike.de-0003/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/example.tld-0003/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/copri-bike.de-0003/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/example.tld-0003/privkey.pem
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
/etc/shareeconf/apikeys.cfg
|
../../../../etc/shareeconf/apikeys.cfg
|
11
copri4/shareeconf/examples/apikeys.cfg
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<googlemap>
|
||||||
|
google_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||||
|
</googlemap>
|
||||||
|
|
||||||
|
<smsgtx>
|
||||||
|
gtx_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||||
|
</smsgtx>
|
||||||
|
|
||||||
|
<furtherkeys>
|
||||||
|
xxxkey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||||
|
</furtherkeys>
|
195
copri4/shareeconf/examples/global.cfg
Normal file
|
@ -0,0 +1,195 @@
|
||||||
|
#sharee global configuration
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
# Copyright (c) Rainer Gümpelein, TeilRad GmbH
|
||||||
|
|
||||||
|
#sub <block> is the dbname of sharee COPRI-Instanz
|
||||||
|
<operator>
|
||||||
|
<sharee_operator>
|
||||||
|
merchant_id="your-operator-merchant_id"
|
||||||
|
owner=196
|
||||||
|
operatorApp="https://shareeapp-operator.example.tld"
|
||||||
|
operatorDMS="https://shareedms-operator.example.tld"
|
||||||
|
operatorApp1="https://shareeapp-operator1.example.tld"
|
||||||
|
operatorDMS1="https://shareedms-operator1.example.tld"
|
||||||
|
syshost="shareedms-operator"
|
||||||
|
dir_app="shareeapp-operator"
|
||||||
|
dir_dms="shareedms-operator"
|
||||||
|
oprefix="EXA"
|
||||||
|
project="Example"
|
||||||
|
app_name="sharee.bike"
|
||||||
|
hwtype="none"
|
||||||
|
bgcolor1="009899"
|
||||||
|
initMap="47.976634, 7.825490"
|
||||||
|
map_zoom="13"
|
||||||
|
<database>
|
||||||
|
dbname=sharee_operator
|
||||||
|
host=localhost
|
||||||
|
port=5432
|
||||||
|
sslmode=
|
||||||
|
options=""
|
||||||
|
user=[your-psql-user]
|
||||||
|
passwd=[your-psql-pw]
|
||||||
|
</database>
|
||||||
|
</sharee_operator>
|
||||||
|
</operator>
|
||||||
|
|
||||||
|
#sub <block> is the syshost path of website
|
||||||
|
<website>
|
||||||
|
<shareeweb-project>
|
||||||
|
parent_id=100007
|
||||||
|
parent_node="frame"
|
||||||
|
merchant_id="your-webproject-merchant_id"
|
||||||
|
owner=294
|
||||||
|
operatorWeb="https://shareeweb-project.example.tld"
|
||||||
|
operatorWeb1="https://shareeweb-project1.example.tld"
|
||||||
|
dir_web="shareeweb-project"
|
||||||
|
oprefix="EXA"
|
||||||
|
project="Example"
|
||||||
|
app_name="sharee.bike"
|
||||||
|
bgcolor1="009899"
|
||||||
|
initMap="47.976634, 7.825490"
|
||||||
|
map_zoom="13"
|
||||||
|
<database>
|
||||||
|
dbname=sharee_operator
|
||||||
|
host=localhost
|
||||||
|
port=5432
|
||||||
|
sslmode=
|
||||||
|
options=""
|
||||||
|
user=[your-psql-user]
|
||||||
|
passwd=[your-psql-pw]
|
||||||
|
</database>
|
||||||
|
</shareeweb-project>
|
||||||
|
|
||||||
|
<merchant_ids>
|
||||||
|
#contact TeilRad GmbH to get access to our single-sign-on with sharee.bike App
|
||||||
|
<your-app-merchant_id>
|
||||||
|
id = 275
|
||||||
|
name = "example App"
|
||||||
|
project="Example"
|
||||||
|
user_agent = ""
|
||||||
|
initMap = "47.976634, 7.825490"
|
||||||
|
bgcolor1 = "009899"
|
||||||
|
</your-app-merchant_id>
|
||||||
|
|
||||||
|
<your-operator-merchant_id>
|
||||||
|
id = 296
|
||||||
|
name = "example DMS"
|
||||||
|
project="all"
|
||||||
|
user_agent = ""
|
||||||
|
initMap = "47.976634, 7.825490"
|
||||||
|
bgcolor1 = "009899"
|
||||||
|
</your-operator-merchant_id>
|
||||||
|
|
||||||
|
<your-webproject-merchant_id>
|
||||||
|
id = 294
|
||||||
|
name = "example Web"
|
||||||
|
project="Example"
|
||||||
|
user_agent = ""
|
||||||
|
initMap = "47.976634, 7.825490"
|
||||||
|
bgcolor1 = "009899"
|
||||||
|
</your-webproject-merchant_id>
|
||||||
|
</merchant_ids>
|
||||||
|
|
||||||
|
#sharee copri globals
|
||||||
|
<copri_conf>
|
||||||
|
#stage = "test"
|
||||||
|
stage = "live"
|
||||||
|
sms_to = "017xxxxxxx2"
|
||||||
|
debug = 1
|
||||||
|
superu_id = "1234567"
|
||||||
|
logdir = "/var/log/copri4"
|
||||||
|
basedir = "/var/www/copri4"
|
||||||
|
<bike_types>
|
||||||
|
300101 = "Lastenrad"
|
||||||
|
300102 = "E-Lastenrad"
|
||||||
|
300103 = "Stadtrad"
|
||||||
|
</bike_types>
|
||||||
|
<sharing_type>
|
||||||
|
2 = "public"
|
||||||
|
3 = "private"
|
||||||
|
5 = "public-bonus"
|
||||||
|
</sharing_type>
|
||||||
|
<bike_state>
|
||||||
|
1 = "available"
|
||||||
|
2 = "requested"
|
||||||
|
3 = "occupied"
|
||||||
|
4 = "maintanance"
|
||||||
|
5 = "defect"
|
||||||
|
6 = "canceled"
|
||||||
|
</bike_state>
|
||||||
|
<station_state>
|
||||||
|
1 = "available"
|
||||||
|
5 = "defect"
|
||||||
|
</station_state>
|
||||||
|
<lock_state>
|
||||||
|
1 = "locked"
|
||||||
|
2 = "unlocked"
|
||||||
|
3 = "locking"
|
||||||
|
</lock_state>
|
||||||
|
<station_lock_state>
|
||||||
|
1 = "locked"
|
||||||
|
2 = "unlocked"
|
||||||
|
</station_lock_state>
|
||||||
|
<lock_system>
|
||||||
|
2 = "Ilockit"
|
||||||
|
</lock_system>
|
||||||
|
<access>
|
||||||
|
0 = "nein"
|
||||||
|
1 = "ja"
|
||||||
|
</access>
|
||||||
|
<permission>
|
||||||
|
0 = "keine"
|
||||||
|
1 = "lesen"
|
||||||
|
2 = "lesen & schreiben"
|
||||||
|
</permission>
|
||||||
|
jsscript = "js/mobile_script.js"
|
||||||
|
jquery_ui = "js/jquery-ui-1.12.1/jquery-ui.min.js"
|
||||||
|
style_jquery_ui = "js/jquery-ui-1.12.1/jquery-ui.min.css"
|
||||||
|
style_bootstrap_icons = "css/bootstrap-icons-1.5.0/bootstrap-icons.css"
|
||||||
|
jquery_resize = "js/jquery.autosize.js"
|
||||||
|
</copri_conf>
|
||||||
|
|
||||||
|
#sharee WebApp sepcific para
|
||||||
|
<shareeapp_conf>
|
||||||
|
parent_id = "100005"
|
||||||
|
parent_node="app"
|
||||||
|
|
||||||
|
start = "Profil"
|
||||||
|
profile = "Profil"
|
||||||
|
accounting_1 = "1. Kundendaten"
|
||||||
|
accounting_1_5 = "1.5. Zahlungsart"
|
||||||
|
accounting_2 = "2.0. Zahlungsdaten"
|
||||||
|
accounting_3 = "3. Verleihdaten"
|
||||||
|
|
||||||
|
local_style = "css/local_style1344.css"
|
||||||
|
jquery = "js/jquery-1.9.1.js"
|
||||||
|
js_bootstrap = "js/bootstrap-3.3.6-dist/js/bootstrap.min.js"
|
||||||
|
style_bootstrap = "js/bootstrap-3.3.6-dist/css/bootstrap.css"
|
||||||
|
mod_active = "Fahrradmietsystem|Karte|Anmelden|Kontakt"
|
||||||
|
</shareeapp_conf>
|
||||||
|
|
||||||
|
#sharee DMS/COPRI specific para
|
||||||
|
<shareedms_conf>
|
||||||
|
parent_id = "100002"
|
||||||
|
parent_node="DMS"
|
||||||
|
|
||||||
|
start = "Mietjournal"
|
||||||
|
profile = "nothing"
|
||||||
|
|
||||||
|
waren = "200013"
|
||||||
|
kunden = "200011"
|
||||||
|
faktura = "200007"
|
||||||
|
invoicejournal = "300011"
|
||||||
|
mietjournal = "200012"
|
||||||
|
alarmjournal = "200022"
|
||||||
|
einstellung = "200019"
|
||||||
|
|
||||||
|
term_active_color = "f7ae37"
|
||||||
|
local_style = "css/local_style_2.css"
|
||||||
|
jquery = "js/jquery-3.3.1.min.js"
|
||||||
|
js_bootstrap = "js/bootstrap-5.0.2-dist/js/bootstrap.min.js"
|
||||||
|
style_bootstrap = "js/bootstrap-5.0.2-dist/css/bootstrap.min.css"
|
||||||
|
mod_active = "Waren|Faktur|Karte|Kunden|Mietjournal|Alarmjournal|Einstellung"
|
||||||
|
modes = "login|logout|logout_sharee|user|manager|supervisor|admin|maintainer"
|
||||||
|
</shareedms_conf>
|
||||||
|
|
10
copri4/shareeconf/examples/mailx.cfg
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#e-mail config
|
||||||
|
<mailx_default>
|
||||||
|
mail_to = "admin@example.tld"
|
||||||
|
mail_from = "post@example.tld"
|
||||||
|
mail_gateway = "smtp.mailxchanger.tld"
|
||||||
|
sasl_username = "post@example.tld"
|
||||||
|
sasl_password = "xxxxxxxxxxxxxxx"
|
||||||
|
</mailx_default>
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
/etc/shareeconf/global.cfg
|
../../../../etc/shareeconf/global.cfg
|
|
@ -1 +1 @@
|
||||||
/etc/shareeconf/mailx.cfg
|
../../../../etc/shareeconf/mailx.cfg
|
|
@ -1,6 +1,6 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName shareedms-operator.copri-bike.de
|
ServerName shareedms-operator.example.tld
|
||||||
ServerAlias shareedms-operator1.copri-bike.de
|
ServerAlias shareedms-operator1.example.tld
|
||||||
|
|
||||||
ServerAdmin info@gnu-systems.de
|
ServerAdmin info@gnu-systems.de
|
||||||
DocumentRoot /var/www/copri4/shareedms-operator
|
DocumentRoot /var/www/copri4/shareedms-operator
|
||||||
|
@ -10,14 +10,14 @@
|
||||||
CustomLog /var/log/apache2/shareedms-operator-access.log combined
|
CustomLog /var/log/apache2/shareedms-operator-access.log combined
|
||||||
ServerSignature Off
|
ServerSignature Off
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteCond %{SERVER_NAME} =shareedms-operator.copri-bike.de
|
RewriteCond %{SERVER_NAME} =shareedms-operator.example.tld
|
||||||
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerName shareedms-operator1.copri-bike.de
|
ServerName shareedms-operator1.example.tld
|
||||||
ServerAdmin info@gnu-systems.de
|
ServerAdmin info@gnu-systems.de
|
||||||
DocumentRoot /var/www/copri4/shareedms-operator
|
DocumentRoot /var/www/copri4/shareedms-operator
|
||||||
AddHandler cgi-script .cgi .sh .pl
|
AddHandler cgi-script .cgi .sh .pl
|
||||||
|
@ -52,12 +52,12 @@
|
||||||
ServerSignature Off
|
ServerSignature Off
|
||||||
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
SSLCertificateFile /etc/letsencrypt/live/copri-bike.de-0003/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/example.tld-0003/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/copri-bike.de-0003/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/example.tld-0003/privkey.pem
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerName shareedms-operator.copri-bike.de
|
ServerName shareedms-operator.example.tld
|
||||||
ServerAdmin info@gnu-systems.de
|
ServerAdmin info@gnu-systems.de
|
||||||
DocumentRoot /var/www/copri4/shareedms-operator
|
DocumentRoot /var/www/copri4/shareedms-operator
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
RedirectMatch ^/$ /DMS/Mietjournal
|
RedirectMatch ^/$ /DMS/Mietjournal
|
||||||
SSLProxyEngine On
|
SSLProxyEngine On
|
||||||
RewriteCond %{REQUEST_URI} ^/(site|img|data|css|js|jquery)
|
RewriteCond %{REQUEST_URI} ^/(site|img|data|css|js|jquery)
|
||||||
RewriteRule ^(.*)$ https://shareedms-operator1.copri-bike.de/$1 [P,L]
|
RewriteRule ^(.*)$ https://shareedms-operator1.example.tld/$1 [P,L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
ErrorLog /var/log/apache2/shareedms-operator-error.log
|
ErrorLog /var/log/apache2/shareedms-operator-error.log
|
||||||
|
@ -106,8 +106,8 @@
|
||||||
ServerSignature Off
|
ServerSignature Off
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
|
|
||||||
SSLCertificateFile /etc/letsencrypt/live/copri-bike.de-0003/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/example.tld-0003/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/copri-bike.de-0003/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/example.tld-0003/privkey.pem
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -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
|
@ -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>
|
|
||||||
|
|