Bugzilla – Attachment 77148 Details for
Bug 21031
Apache Rewrite rules don't work for API when using anything but Debian package Plack configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Apache_rewrite_log.txt
rewrite_log.txt (text/plain), 12.02 KB, created by
David Cook
on 2018-07-20 03:53:06 UTC
(
hide
)
Description:
Apache_rewrite_log.txt
Filename:
MIME Type:
Creator:
David Cook
Created:
2018-07-20 03:53:06 UTC
Size:
12.02 KB
patch
obsolete
>[Fri Jul 20 13:43:01.358749 2018] [rewrite:trace2] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] init rewrite engine with requested uri /api/v1/cities >[Fri Jul 20 13:43:01.358828 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] applying pattern '^/bib/([^\\/]*)/?$' to uri '/api/v1/cities' >[Fri Jul 20 13:43:01.358878 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] applying pattern '^/isbn/([^\\/]*)/?$' to uri '/api/v1/cities' >[Fri Jul 20 13:43:01.358902 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] applying pattern '^/issn/([^\\/]*)/?$' to uri '/api/v1/cities' >[Fri Jul 20 13:43:01.358921 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] applying pattern '^(.*)_[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].js$' to uri '/api/v1/cities' >[Fri Jul 20 13:43:01.358944 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] applying pattern '^(.*)_[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].css$' to uri '/api/v1/cities' >[Fri Jul 20 13:43:01.358964 2018] [rewrite:trace1] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] pass through /api/v1/cities >[Fri Jul 20 13:43:01.359158 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] [perdir /home/dcook/koha/api/] strip per-dir prefix: /home/dcook/koha/api/v1/cities -> v1/cities >[Fri Jul 20 13:43:01.359189 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] [perdir /home/dcook/koha/api/] applying pattern '^(v[0-9]+)/(.*)$' to uri 'v1/cities' >[Fri Jul 20 13:43:01.359271 2018] [rewrite:trace2] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] [perdir /home/dcook/koha/api/] rewrite 'v1/cities' -> '/api/v1/app.pl/api/v1/cities' >[Fri Jul 20 13:43:01.359302 2018] [rewrite:trace2] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] [perdir /home/dcook/koha/api/] trying to replace prefix /home/dcook/koha/api/ with /api/ >[Fri Jul 20 13:43:01.359334 2018] [rewrite:trace2] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] [perdir /home/dcook/koha/api/] trying to replace context docroot /home/dcook/koha/api with context prefix /api >[Fri Jul 20 13:43:01.359353 2018] [rewrite:trace1] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3a50a0/initial] [perdir /home/dcook/koha/api/] internal redirect with /api/v1/app.pl/api/v1/cities [INTERNAL REDIRECT] >[Fri Jul 20 13:43:01.359428 2018] [rewrite:trace2] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] init rewrite engine with requested uri /api/v1/app.pl/api/v1/cities >[Fri Jul 20 13:43:01.359453 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] applying pattern '^/bib/([^\\/]*)/?$' to uri '/api/v1/app.pl/api/v1/cities' >[Fri Jul 20 13:43:01.359471 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] applying pattern '^/isbn/([^\\/]*)/?$' to uri '/api/v1/app.pl/api/v1/cities' >[Fri Jul 20 13:43:01.359497 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] applying pattern '^/issn/([^\\/]*)/?$' to uri '/api/v1/app.pl/api/v1/cities' >[Fri Jul 20 13:43:01.359514 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] applying pattern '^(.*)_[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].js$' to uri '/api/v1/app.pl/api/v1/cities' >[Fri Jul 20 13:43:01.359531 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] applying pattern '^(.*)_[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].css$' to uri '/api/v1/app.pl/api/v1/cities' >[Fri Jul 20 13:43:01.359549 2018] [rewrite:trace1] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] pass through /api/v1/app.pl/api/v1/cities >[Fri Jul 20 13:43:01.359668 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] [perdir /home/dcook/koha/api/] add path info postfix: /home/dcook/koha/api/v1/app.pl -> /home/dcook/koha/api/v1/app.pl/api/v1/cities >[Fri Jul 20 13:43:01.359688 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] [perdir /home/dcook/koha/api/] strip per-dir prefix: /home/dcook/koha/api/v1/app.pl/api/v1/cities -> v1/app.pl/api/v1/cities >[Fri Jul 20 13:43:01.359704 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] [perdir /home/dcook/koha/api/] applying pattern '^(v[0-9]+)/(.*)$' to uri 'v1/app.pl/api/v1/cities' >[Fri Jul 20 13:43:01.359725 2018] [rewrite:trace1] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4aa40/initial/redir#1] [perdir /home/dcook/koha/api/] pass through /home/dcook/koha/api/v1/app.pl >[Fri Jul 20 13:43:01.359831 2018] [rewrite:trace2] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] init rewrite engine with requested uri /api/v1/cities >[Fri Jul 20 13:43:01.359883 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] applying pattern '^/bib/([^\\/]*)/?$' to uri '/api/v1/cities' >[Fri Jul 20 13:43:01.359913 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] applying pattern '^/isbn/([^\\/]*)/?$' to uri '/api/v1/cities' >[Fri Jul 20 13:43:01.359931 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] applying pattern '^/issn/([^\\/]*)/?$' to uri '/api/v1/cities' >[Fri Jul 20 13:43:01.359948 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] applying pattern '^(.*)_[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].js$' to uri '/api/v1/cities' >[Fri Jul 20 13:43:01.359967 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] applying pattern '^(.*)_[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].css$' to uri '/api/v1/cities' >[Fri Jul 20 13:43:01.359996 2018] [rewrite:trace1] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] pass through /api/v1/cities >[Fri Jul 20 13:43:01.360120 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] [perdir /home/dcook/koha/api/] strip per-dir prefix: /home/dcook/koha/api/v1/cities -> v1/cities >[Fri Jul 20 13:43:01.360141 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] [perdir /home/dcook/koha/api/] applying pattern '^(v[0-9]+)/(.*)$' to uri 'v1/cities' >[Fri Jul 20 13:43:01.360163 2018] [rewrite:trace2] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] [perdir /home/dcook/koha/api/] rewrite 'v1/cities' -> '/api/v1/app.pl/api/v1/cities' >[Fri Jul 20 13:43:01.360182 2018] [rewrite:trace2] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] [perdir /home/dcook/koha/api/] trying to replace prefix /home/dcook/koha/api/ with /api/ >[Fri Jul 20 13:43:01.360203 2018] [rewrite:trace2] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] [perdir /home/dcook/koha/api/] trying to replace context docroot /home/dcook/koha/api with context prefix /api >[Fri Jul 20 13:43:01.360220 2018] [rewrite:trace1] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9ae4b0a0/subreq] [perdir /home/dcook/koha/api/] internal redirect with /api/v1/app.pl/api/v1/cities [INTERNAL REDIRECT] >[Fri Jul 20 13:43:03.853230 2018] [rewrite:trace2] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3b30a0/initial] init rewrite engine with requested uri /favicon.ico, referer: http://192.168.1.200/api/v1/cities >[Fri Jul 20 13:43:03.853296 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3b30a0/initial] applying pattern '^/bib/([^\\/]*)/?$' to uri '/favicon.ico', referer: http://192.168.1.200/api/v1/cities >[Fri Jul 20 13:43:03.853332 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3b30a0/initial] applying pattern '^/isbn/([^\\/]*)/?$' to uri '/favicon.ico', referer: http://192.168.1.200/api/v1/cities >[Fri Jul 20 13:43:03.853359 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3b30a0/initial] applying pattern '^/issn/([^\\/]*)/?$' to uri '/favicon.ico', referer: http://192.168.1.200/api/v1/cities >[Fri Jul 20 13:43:03.853395 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3b30a0/initial] applying pattern '^(.*)_[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].js$' to uri '/favicon.ico', referer: http://192.168.1.200/api/v1/cities >[Fri Jul 20 13:43:03.853412 2018] [rewrite:trace3] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3b30a0/initial] applying pattern '^(.*)_[0-9][0-9]\\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].css$' to uri '/favicon.ico', referer: http://192.168.1.200/api/v1/cities >[Fri Jul 20 13:43:03.853427 2018] [rewrite:trace1] [pid 11341] mod_rewrite.c(477): [client 192.168.1.100:15501] 192.168.1.100 - - [192.168.1.200/sid#7f1ca31258b0][rid#7f1c9d3b30a0/initial] pass through /favicon.ico, referer: http://192.168.1.200/api/v1/cities
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 21031
:
76645
|
76725
| 77148 |
77300