From: Kilian Saffran Date: Wed, 13 Mar 2019 12:39:14 +0000 (+0100) Subject: missed component libmysql.dll added X-Git-Tag: 1.0.0~5 X-Git-Url: http://cloud.dks.lu/git/?a=commitdiff_plain;h=29ca74f0bf138b5b296d75bfd845b3fc15cce3db;p=solinf-gisservicehelper.git missed component libmysql.dll added --- diff --git a/Module/GISFiles.pm b/Module/GISFiles.pm index 79489fa..377de2b 100644 --- a/Module/GISFiles.pm +++ b/Module/GISFiles.pm @@ -152,14 +152,14 @@ sub getdatalist(){ my $replace = $self->{gis}->{webparam}->{$wp}->{$req->query_parameters->{$wp}}->{sqlreplace}; my $search = '%%'.$wp.'%%'; - $html->{$wp}->{search} = $search; - $html->{$wp}->{replace} = $replace; + # $html->{$wp}->{search} = $search; + # $html->{$wp}->{replace} = $replace; $sql =~ s/$search/$replace/g; } } my @where = (); foreach my $k (keys(%{$req->query_parameters})){ - $html->{qkey}->{$k} = "1"; + # $html->{qkey}->{$k} = "1"; if ($k ne "fournisseur"){ push(@where,$k."='".uri_decode($req->query_parameters->{$k})."'"); } @@ -169,7 +169,7 @@ sub getdatalist(){ $sql =~ s/;$//; $sql = "select * from (".$sql.") aa where ".join(' AND ',@where).';'; } - $html->{sql} = $sql; + # $html->{sql} = $sql; if (($sql !~ /%%/) && ($sql !~ /where ;$/)){ my $gisdata = $self->dbquerysorted($sql); diff --git a/access.log b/access.log new file mode 100644 index 0000000..9eefbfe --- /dev/null +++ b/access.log @@ -0,0 +1,62 @@ +127.0.0.1 - - [13/Mar/2019:12:53:25 +0100] "GET /index.html HTTP/1.1" 200 1447 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:25 +0100] "GET /vendor/bootstrap/css/bootstrap.min.css HTTP/1.1" 200 155758 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:25 +0100] "GET /vendor/jquery/jquery.min.js HTTP/1.1" 200 86927 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:25 +0100] "GET /js/site.js HTTP/1.1" 200 6522 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:25 +0100] "GET /vendor/bootstrap/js/bootstrap.bundle.min.js HTTP/1.1" 200 78635 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:26 +0100] "GET /gis/fournisseurs HTTP/1.1" 200 136 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:26 +0100] "GET /favicon.ico HTTP/1.1" 404 9 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:27 +0100] "GET /index.html?fournisseur=1 HTTP/1.1" 200 1447 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:27 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116991 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:30 +0100] "GET /index.html?path=1997%2F000030 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:30 +0100] "GET /gis/path?dir=1997%2F000030 HTTP/1.1" 200 151 "http://localhost:6060/index.html?path=1997%2F000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:32 +0100] "GET /index.html?path=1997/000030/AVIS_BUREAU_ETUDES HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=1997%2F000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:32 +0100] "GET /gis/path?dir=1997/000030/AVIS_BUREAU_ETUDES HTTP/1.1" 200 276 "http://localhost:6060/index.html?path=1997/000030/AVIS_BUREAU_ETUDES" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:39 +0100] "GET /gis/file?file=1997%2F000030%2FAVIS_BUREAU_ETUDES%2F0u0q6cv36luwl2h%20_0w48kpg.pdf HTTP/1.1" 200 3908 "http://localhost:6060/index.html?path=1997/000030/AVIS_BUREAU_ETUDES" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:57 +0100] "GET /index.html?path=1997/000030 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=1997/000030/AVIS_BUREAU_ETUDES" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:53:57 +0100] "GET /gis/path?dir=1997/000030 HTTP/1.1" 200 151 "http://localhost:6060/index.html?path=1997/000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:54:03 +0100] "GET /gis/fournisseurs HTTP/1.1" 200 136 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:54:04 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116991 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:54:08 +0100] "GET /gis/path?dir=1997%2F000030 HTTP/1.1" 200 151 "http://localhost:6060/index.html?path=1997%2F000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:54:09 +0100] "GET /index.html?path=1997/000030/AVIS_POMPIER HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=1997%2F000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:54:09 +0100] "GET /gis/path?dir=1997/000030/AVIS_POMPIER HTTP/1.1" 200 265 "http://localhost:6060/index.html?path=1997/000030/AVIS_POMPIER" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:55:40 +0100] "GET /gis/fournisseurs HTTP/1.1" 200 136 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:55:42 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116991 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:55:44 +0100] "GET /gis/path?dir=1997%2F000030 HTTP/1.1" 200 151 "http://localhost:6060/index.html?path=1997%2F000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:55:45 +0100] "GET /gis/path?dir=1997/000030/AVIS_POMPIER HTTP/1.1" 200 265 "http://localhost:6060/index.html?path=1997/000030/AVIS_POMPIER" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:55:47 +0100] "GET /gis/file?file=1997%2F000030%2FAVIS_POMPIER%2F3yap_4d%207bknga.dxf HTTP/1.1" 200 100733 "http://localhost:6060/index.html?path=1997/000030/AVIS_POMPIER" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:55:53 +0100] "GET /gis/path?dir=1997/000030 HTTP/1.1" 200 151 "http://localhost:6060/index.html?path=1997/000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:55:54 +0100] "GET /index.html?path=1997 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=1997/000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:55:54 +0100] "GET /gis/path?dir=1997 HTTP/1.1" 200 61 "http://localhost:6060/index.html?path=1997" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:55:55 +0100] "GET /index.html?path=. HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=1997" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:55:55 +0100] "GET /gis/path?dir=. HTTP/1.1" 200 168 "http://localhost:6060/index.html?path=." "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" +127.0.0.1 - - [13/Mar/2019:12:57:40 +0100] "GET / HTTP/1.1" 404 9 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:44 +0100] "GET /index.html HTTP/1.1" 200 1447 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:44 +0100] "GET /vendor/bootstrap/js/bootstrap.bundle.min.js HTTP/1.1" 200 78635 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:44 +0100] "GET /vendor/bootstrap/css/bootstrap.min.css HTTP/1.1" 200 155758 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:44 +0100] "GET /vendor/jquery/jquery.min.js HTTP/1.1" 200 86927 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:44 +0100] "GET /js/site.js HTTP/1.1" 200 6522 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:44 +0100] "GET /gis/fournisseurs HTTP/1.1" 200 136 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:46 +0100] "GET /index.html?fournisseur=1 HTTP/1.1" 200 1447 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:46 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116991 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:48 +0100] "GET /index.html?path=1997%2F000030 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:48 +0100] "GET /gis/path?dir=1997%2F000030 HTTP/1.1" 200 151 "http://localhost:6060/index.html?path=1997%2F000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:50 +0100] "GET /index.html?path=1997/000030/AVIS_POMPIER HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=1997%2F000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:50 +0100] "GET /gis/path?dir=1997/000030/AVIS_POMPIER HTTP/1.1" 200 265 "http://localhost:6060/index.html?path=1997/000030/AVIS_POMPIER" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:54 +0100] "GET /gis/path?dir=1997%2F000030 HTTP/1.1" 200 151 "http://localhost:6060/index.html?path=1997%2F000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:56 +0100] "GET /index.html?path=1997/000030/AVIS_SERVCIES HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=1997%2F000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:56 +0100] "GET /gis/path?dir=1997/000030/AVIS_SERVCIES HTTP/1.1" 200 248 "http://localhost:6060/index.html?path=1997/000030/AVIS_SERVCIES" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:59 +0100] "GET /index.html?path=1997/000030 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=1997/000030/AVIS_SERVCIES" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:57:59 +0100] "GET /gis/path?dir=1997/000030 HTTP/1.1" 200 151 "http://localhost:6060/index.html?path=1997/000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:00 +0100] "GET /index.html?path=1997 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=1997/000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:00 +0100] "GET /gis/path?dir=1997 HTTP/1.1" 200 61 "http://localhost:6060/index.html?path=1997" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:01 +0100] "GET /gis/path?dir=1997/000030 HTTP/1.1" 200 151 "http://localhost:6060/index.html?path=1997/000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:03 +0100] "GET /gis/path?dir=1997/000030/AVIS_POMPIER HTTP/1.1" 200 265 "http://localhost:6060/index.html?path=1997/000030/AVIS_POMPIER" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:05 +0100] "GET /gis/fournisseurs HTTP/1.1" 200 136 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:06 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116991 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:09 +0100] "GET /index.html?path=2003%2F000008 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:09 +0100] "GET /gis/path?dir=2003%2F000008 HTTP/1.1" 200 101 "http://localhost:6060/index.html?path=2003%2F000008" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:10 +0100] "GET /index.html?path=2003/000008/IMAGES HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003%2F000008" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:11 +0100] "GET /gis/path?dir=2003/000008/IMAGES HTTP/1.1" 200 328 "http://localhost:6060/index.html?path=2003/000008/IMAGES" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:12:58:13 +0100] "GET /gis/file?file=2003%2F000008%2FIMAGES%2F1d9o7yjylthtj2hva4p0.docx HTTP/1.1" 200 9926 "http://localhost:6060/index.html?path=2003/000008/IMAGES" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:05:38 +0100] "GET /gis/path?dir=2003/000008/IMAGES HTTP/1.1" 200 328 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:05:51 +0100] "GET /gis/path?dir=2003/000008 HTTP/1.1" 200 101 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" diff --git a/build/build_gisservicehelper.bat b/build/build_gisservicehelper.bat index 0f6903e..8a1eb3b 100644 --- a/build/build_gisservicehelper.bat +++ b/build/build_gisservicehelper.bat @@ -4,10 +4,11 @@ SET SOURCEENV="%USERPROFILE%\Workspace\solinf-gisservicehelper" del "%SOURCEENV%\dist\gisservicehelper.exe" C:\Strawberry\perl\bin\perl.exe ^ -I %SOURCEENV% "C:\Strawberry\perl\site\bin\pp.bat" ^ + --link="C:\Strawberry\c\bin\libmysql_.dll" ^ + --link="C:\Strawberry\c\bin\libmysql__.dll" ^ --output="%SOURCEENV%\dist\gisservicehelper.exe" ^ --cachedeps="%SOURCEENV%\build\deps.txt" ^ --compress 9 ^ - --tempcache "gisservicehelper" ^ --module="Time::HiRes" ^ --module="Apache::LogFormat::Compiler" ^ --module="JSON::MaybeXS" ^ @@ -28,4 +29,5 @@ C:\Strawberry\perl\bin\perl.exe ^ --addfile="C:\Strawberry\perl\lib\Encode;lib/Encode" ^ --bundle "%SOURCEENV%\gisservicehelper.pl" - REM --gui ^ \ No newline at end of file + REM --gui ^ + REM --tempcache "gisservicehelper" ^ \ No newline at end of file diff --git a/dev/testmysql.pl b/dev/testmysql.pl new file mode 100644 index 0000000..8f8b90d --- /dev/null +++ b/dev/testmysql.pl @@ -0,0 +1 @@ +#!C:\Strawberry\ \ No newline at end of file diff --git a/dist/access.log b/dist/access.log new file mode 100644 index 0000000..6a54a0c --- /dev/null +++ b/dist/access.log @@ -0,0 +1,44 @@ +127.0.0.1 - - [13/Mar/2019:13:10:30 +0100] "GET /gis/fournisseurs HTTP/1.1" 200 136 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:32 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116991 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:34 +0100] "GET /index.html?path=2003%2F000001 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:34 +0100] "GET /gis/path?dir=2003%2F000001 HTTP/1.1" 200 133 "http://localhost:6060/index.html?path=2003%2F000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:36 +0100] "GET /index.html?path=2003/000001/COURRIERS HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003%2F000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:36 +0100] "GET /gis/path?dir=2003/000001/COURRIERS HTTP/1.1" 200 252 "http://localhost:6060/index.html?path=2003/000001/COURRIERS" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:41 +0100] "GET /index.html?path=2003/000001 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003/000001/COURRIERS" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:42 +0100] "GET /gis/path?dir=2003/000001 HTTP/1.1" 200 133 "http://localhost:6060/index.html?path=2003/000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:42 +0100] "GET /index.html?path=2003 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003/000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:42 +0100] "GET /gis/path?dir=2003 HTTP/1.1" 200 214 "http://localhost:6060/index.html?path=2003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:45 +0100] "GET /index.html?path=2003/000009 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:46 +0100] "GET /gis/path?dir=2003/000009 HTTP/1.1" 200 146 "http://localhost:6060/index.html?path=2003/000009" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:47 +0100] "GET /index.html?path=2003/000009/COURRIERS HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003/000009" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:47 +0100] "GET /gis/path?dir=2003/000009/COURRIERS HTTP/1.1" 200 276 "http://localhost:6060/index.html?path=2003/000009/COURRIERS" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:54 +0100] "GET /gis/path?dir=2003/000009 HTTP/1.1" 200 146 "http://localhost:6060/index.html?path=2003/000009" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:55 +0100] "GET /gis/path?dir=2003 HTTP/1.1" 200 214 "http://localhost:6060/index.html?path=2003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:58 +0100] "GET /index.html?path=. HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:10:58 +0100] "GET /gis/path?dir=. HTTP/1.1" 200 168 "http://localhost:6060/index.html?path=." "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:00 +0100] "GET /index.html?path=./1997 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=." "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:00 +0100] "GET /gis/path?dir=./1997 HTTP/1.1" 200 63 "http://localhost:6060/index.html?path=./1997" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:01 +0100] "GET /index.html?path=./1997/000030 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=./1997" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:01 +0100] "GET /gis/path?dir=./1997/000030 HTTP/1.1" 200 155 "http://localhost:6060/index.html?path=./1997/000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:04 +0100] "GET /index.html?path=./1997/000030/AVIS_BUREAU_ETUDES HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=./1997/000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:04 +0100] "GET /gis/path?dir=./1997/000030/AVIS_BUREAU_ETUDES HTTP/1.1" 200 280 "http://localhost:6060/index.html?path=./1997/000030/AVIS_BUREAU_ETUDES" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:06 +0100] "GET /gis/fournisseurs HTTP/1.1" 200 136 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:07 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116991 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:11 +0100] "GET /index.html?path=2004%2F000051 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:11 +0100] "GET /gis/path?dir=2004%2F000051 HTTP/1.1" 200 126 "http://localhost:6060/index.html?path=2004%2F000051" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:13 +0100] "GET /index.html?path=2004/000051/ORIGINAUX HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2004%2F000051" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:13 +0100] "GET /gis/path?dir=2004/000051/ORIGINAUX HTTP/1.1" 200 371 "http://localhost:6060/index.html?path=2004/000051/ORIGINAUX" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:16 +0100] "GET /index.html?path=2004/000051 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2004/000051/ORIGINAUX" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:16 +0100] "GET /gis/path?dir=2004/000051 HTTP/1.1" 200 126 "http://localhost:6060/index.html?path=2004/000051" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:17 +0100] "GET /index.html?path=2004 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2004/000051" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:17 +0100] "GET /gis/path?dir=2004 HTTP/1.1" 200 520 "http://localhost:6060/index.html?path=2004" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:18 +0100] "GET /gis/path?dir=. HTTP/1.1" 200 168 "http://localhost:6060/index.html?path=." "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:30 +0100] "GET /index.html?path=./2010 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=." "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:30 +0100] "GET /gis/path?dir=./2010 HTTP/1.1" 200 594 "http://localhost:6060/index.html?path=./2010" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:32 +0100] "GET /index.html?path=./2010/000003 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=./2010" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:32 +0100] "GET /gis/path?dir=./2010/000003 HTTP/1.1" 200 153 "http://localhost:6060/index.html?path=./2010/000003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:33 +0100] "GET /index.html?path=./2010/000003/COURRIERS HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=./2010/000003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:11:33 +0100] "GET /gis/path?dir=./2010/000003/COURRIERS HTTP/1.1" 200 240 "http://localhost:6060/index.html?path=./2010/000003/COURRIERS" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:13:45 +0100] "GET /gis/path?dir=./2010/000003/COURRIERS HTTP/1.1" 200 240 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:34:47 +0100] "GET /gis/path?dir=./2010/000003/COURRIERS HTTP/1.1" 200 240 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" +127.0.0.1 - - [13/Mar/2019:13:34:59 +0100] "GET /gis/path?dir=./2010/000003/COURRIERS HTTP/1.1" 200 240 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" diff --git a/dist/error.log b/dist/error.log new file mode 100644 index 0000000..edbbf02 --- /dev/null +++ b/dist/error.log @@ -0,0 +1,3 @@ +Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 +Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 +Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 diff --git a/dist/gisservicehelper.exe b/dist/gisservicehelper.exe index d2f1522..4ca51f1 100644 Binary files a/dist/gisservicehelper.exe and b/dist/gisservicehelper.exe differ diff --git a/dist/gisservicehelper.json b/dist/gisservicehelper.json index e50ff75..472941d 100644 --- a/dist/gisservicehelper.json +++ b/dist/gisservicehelper.json @@ -15,7 +15,7 @@ "dbport": "3306" }, "gis": { - "filesbasepath": "C:/solinf/test", + "filesbasepath": "N:/TEMP/data", "sql": "select annee_demande,LPAD(numero_demande,6,0) as numero_demande,adresse_%%fournisseur%% as adresse from table_gis where adresse_%%fournisseur%% is not null group by adresse_%%fournisseur%%,annee_demande,numero_demande,numero_demande_%%fournisseur%% order by annee_demande,numero_demande;", "webparam": { "fournisseur": { diff --git a/dist/gisservicehelper.pid b/dist/gisservicehelper.pid new file mode 100644 index 0000000..3be68c2 --- /dev/null +++ b/dist/gisservicehelper.pid @@ -0,0 +1 @@ +7416 \ No newline at end of file diff --git a/error.log b/error.log new file mode 100644 index 0000000..824560f --- /dev/null +++ b/error.log @@ -0,0 +1,2 @@ +Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 +Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 diff --git a/gisservicehelper.json b/gisservicehelper.json index 9de1e39..472941d 100644 --- a/gisservicehelper.json +++ b/gisservicehelper.json @@ -15,7 +15,7 @@ "dbport": "3306" }, "gis": { - "filesbasepath": "C:/Users/ksaff/Workspace/solinf-gisservicehelper/test", + "filesbasepath": "N:/TEMP/data", "sql": "select annee_demande,LPAD(numero_demande,6,0) as numero_demande,adresse_%%fournisseur%% as adresse from table_gis where adresse_%%fournisseur%% is not null group by adresse_%%fournisseur%%,annee_demande,numero_demande,numero_demande_%%fournisseur%% order by annee_demande,numero_demande;", "webparam": { "fournisseur": {