fixing some file links and creating standard dirs. Moving Service-Tour setup to DMS-Account

This commit is contained in:
ragu 2023-04-24 14:49:30 +02:00
parent d6292aa09d
commit bf83052322
51 changed files with 1275 additions and 436 deletions

View file

@ -30,6 +30,12 @@
Header set Access-Control-Allow-Origin "example.tld"
</FilesMatch>
<Directory /var/www/copri4/shareeapp-primary/json>
Options -Indexes +FollowSymLinks -ExecCGI
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/copri4/shareeapp-operator/site>
Options -Indexes +FollowSymLinks -ExecCGI
Order allow,deny
@ -77,6 +83,12 @@
PerlResponseHandler Mod::APIjsonserver
</Location>
<Location /GBFSout>
SetHandler perl-script
PerlInitHandler Apache2::Reload
PerlResponseHandler Mod::GBFSout
</Location>
<Location /FileOut>
SetHandler perl-script
PerlInitHandler Apache2::Reload
@ -87,7 +99,7 @@
RewriteEngine On
RedirectMatch ^/$ /app/Anmelden
SSLProxyEngine On
RewriteCond %{REQUEST_URI} ^/(site|img|data|css|js|jquery)
RewriteCond %{REQUEST_URI} ^/(site|img|data|css|js)
RewriteRule ^(.*)$ https://shareeapp-operator1.example.tld/$1 [P,L]
</IfModule>

View file

@ -0,0 +1 @@
../shareedms-operator/cache

View file

@ -97,7 +97,7 @@ Weitere Personen aus Ihrem Haushalt profitieren jedoch ebenfalls, falls Sie weit
$ctrel = $users_sharee if(ref($users_sharee) eq "HASH" && $users_sharee->{c_id});
#
#collect rentals on operators and get operator hash with dbname->uri_operator
$q->param(-name=>'month',-value=>"1");
#$q->param(-name=>'month',-value=>"1");
my ($cttpos,$operator_hash) = $apif->user_rentals_history($q,$ctrel);
#print Dumper($cttpos);
@ -344,7 +344,7 @@ Nach Abschluss der Registrierung erhalten Sie sowohl auf die von Ihnen hinterleg
}elsif($key =~ /barcode/){
if($cttpos_count){
print $q->div({-style=>'padding-top:1.5em;font-weight:bold;'},"Folgende Positionen liegen zur nächsten Abbuchung vor (max. 1 Monat)"),"\n";
print $q->div({-style=>'padding-top:1.5em;font-weight:bold;'},"Folgende Positionen liegen zur nächsten Abbuchung vor"),"\n";
my @tpl_posorder = ("txt01=Beschreibung","int04=Station","ct_name=(Rad) Nummer","int26=CO2","int02=Betrag");