Subject: | bug on catalyst 5.90103 |
Date: | Tue, 29 Mar 2016 15:08:07 +0400 |
To: | bug-Catalyst-Runtime [...] rt.cpan.org |
From: | david Djalagonia <nikozansh [...] gmail.com> |
for example
http://mysite.com
works perfect
http://mysite.com/paln/168
works perfect *without end of Path "/"*
http://mysite.com/paln/168/
goes to http://mysite.com
*When I run on server it works perfect *
[info] *** Request 15 (0.600/s) [38128] [Mon Mar 28 22:06:21 2016] ***
[debug] Path is "plan"
[debug] Arguments are "168"
[debug] "GET" request for "plan/168/" from "19.16.8.4"
[debug] Rendering template "plan.tt"
[debug] Response Code: 200; Content-Type: text/html; charset=utf-8;
Content-Length: 1968
[info] Request took 0.011874s (84.218/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /plan | 0.001722s |
| /end | 0.006353s |
| -> cottagenet::View::tt->process | 0.001352s |
'------------------------------------------------------------+-----------'
http://mysite.com/paln/168/
*but when I run without server it goes to main page *Path is "/"
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr: [info] ***
Request 12 (0.000/s) [31912] [Mon Mar 28 22:07:51 2016] ***
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr: [debug] Path is
"/"
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr: [debug] "GET"
request for "/" from "19.16.8.4"
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr: [debug] Rendering
template "index.tt"
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr: [debug] Response
Code: 304; Content-Type: text/html; charset=utf-8; Content-Length: 1933
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr: [info] Request
took 0.009807s (101.968/s)
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr:
.------------------------------------------------------------+-----------.
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr: |
Action | Time |
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr:
+----------------------------------------------
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr:
--------------+-----------+
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr: |
/index | 0.000126s |
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr: |
/end | 0.006124s |
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr: | ->
cottagenet::View::tt->process | 0.001200s |
2016-03-28 22:07:51: (mod_fastcgi.c.2695) FastCGI-stderr:
'------------------------------------------------------------+-----------'