The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2015-05-21

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:13 richardino joined #mojo
00:14 richardino Hi guys! is there any open code for logging visitors data
00:14 bpmedley richardino: Like an access log, or something else?
00:15 richardino right access log
00:15 bpmedley https://metacpan.org/pod/Mojolicious::Plugin::Log::Access <— I use this; it works well
00:15 richardino with ip ads and browser data
00:15 richardino referrer etc..
00:19 Grinnz https://metacpan.org/pod/Mojolicious::Plugin::AccessLog another option
00:19 Grinnz that one looks like it has all you need
00:19 richardino bpmedley: that is it . thanks. this one is also good: https://metacpan.org/pod/Mojolicious::Plugin::AccessLog
00:19 bpmedley Woops, I use the AccessLog plugin, as well.. Sorry for the confusion
00:20 Grinnz confusing names :)
00:21 marmez joined #mojo
00:23 marmez joined #mojo
00:23 marmez left #mojo
00:35 marmez joined #mojo
00:42 zackiv31 joined #mojo
01:00 davido___ joined #mojo
01:06 davido___ joined #mojo
01:52 klapperl joined #mojo
02:10 asarch joined #mojo
02:17 zivester joined #mojo
02:39 Zoffix joined #mojo
02:55 noganex_ joined #mojo
02:55 jberger lluad++ # link
03:10 inokenty-w joined #mojo
03:18 basic6 joined #mojo
03:27 zivester joined #mojo
04:13 jb360 joined #mojo
05:18 asarch Is there any filter available to replace \n to <br/> ?
05:19 Snelius regex
05:19 asarch Thank you Snelius
05:19 asarch Thank you very much :-)
05:19 Snelius (8
05:23 mattastrophe joined #mojo
05:30 hshong joined #mojo
05:34 kaare joined #mojo
05:43 polettix joined #mojo
06:02 dod joined #mojo
06:06 dod joined #mojo
06:58 eseyman joined #mojo
07:00 AndrewIsh joined #mojo
07:13 fhelmber_ joined #mojo
07:20 trone joined #mojo
07:30 misty_g3ar joined #mojo
07:50 fhelmber_ joined #mojo
07:52 amon joined #mojo
07:54 Vandal31341 joined #mojo
08:38 zivester joined #mojo
08:53 mattastrophe joined #mojo
08:57 polettix joined #mojo
08:57 kyshtynbai joined #mojo
09:15 Snelius joined #mojo
10:37 newbe joined #mojo
10:38 newbe hi all
10:38 newbe I have set up a mojolicious lite app behind apache proxy to show a web page with several links on it.
10:40 newbe Most of the links are another Mojolicious apps and works fine. However, some links are just static pages like http://192.168.128.90/minicpan or similar.
10:41 newbe These local static links no longer works. Mojolicious complains Raptor not found. Obviously, but how can I redirect these static links to apache?
10:44 stephan48 did you excluse these from being passed to mojolicious?
10:44 newbe I configured apache to additionally listen on Port 4848 and tried with "hook before_dispatch" to change the url to e.g.: "http://192.168.128.90:4848/minicpan" and redirect the requests, but that fails. Still Raptor not found errror page is shown
10:44 newbe Hi stephan48. How can I archieve this?
10:45 newbe I checked the Route and Routing page, but cannot remember about a exclude command
10:45 stephan48 ProxyPass /<content which should be served by apache2> !
10:45 stephan48 assuming that you use a reverse proxy configuration
10:46 newbe arg. I complete forget the apache conf. Yes, I use the reverse proxy configuration
10:46 stephan48 you have to include these lines before the ProxyPass line for your app
10:47 newbe Cool, thx, I think that will solve my problem.
10:48 stephan48 great!
10:56 newbe stephan48++ That solved my problem! THX!
10:56 stephan48 thats great!
11:14 neilhwatson joined #mojo
12:26 ajr_ joined #mojo
12:35 polettix joined #mojo
12:39 nf joined #mojo
12:40 ajr_ joined #mojo
13:16 AirDisa joined #mojo
13:21 ajr_ joined #mojo
13:30 asarch joined #mojo
13:35 Mikey joined #mojo
14:01 gryphon joined #mojo
14:08 jnbek joined #mojo
14:09 dod joined #mojo
14:19 jberger batman/marcus: I seem to recall that you made convos in such a way as to be used for internal use in a company, right
14:19 jberger do you need to run an IRC server to do it, or can convos back itself?
14:20 Oleg joined #mojo
14:36 zackiv31 joined #mojo
14:46 asarch joined #mojo
14:48 AirDisa_ joined #mojo
14:53 batman jberger: we pulled the "loopback" code out of convos because we stopped maintaining it long time ago.
14:53 batman meaning, you need to install your own irc server
14:53 jberger ah ok
14:54 batman it was very limited as well.
14:57 ladnaV joined #mojo
15:05 salva joined #mojo
15:12 asarch One technical question: I had to restart my X11 session and now when I try "PERL5LIB=.:./schema DBIC_TRACE=1 morbo -l http://*:$PORT script/myapp" I get "Can't create listen socket: Address already in use at /usr/local/share/perl5/Mojo/IOLoop.pm line 124.". What can I do?
15:12 mattastrophe joined #mojo
15:14 mst asarch: you've left a copy of the server running
15:14 mst hence 'address already in use'
15:14 mst what you can do is find it, and kill it
15:14 mst and next time, try reading the error message
15:15 asarch Actually, that first session is still running
15:15 asarch I mean, working
15:16 mst exactly!
15:16 mst that's the problem!
15:16 asarch I thought it was somehow broken
15:16 asarch Running and broken
15:16 asarch But it works perfectly!
15:17 asarch That's great!
15:17 asarch A disasters proof web server
15:18 Grinnz_ not particularly
15:18 asarch ?
15:18 Grinnz_ it's just morbo... it manages one worker for development and doesn't do anything special
15:25 dod joined #mojo
15:49 disputin joined #mojo
16:10 nf joined #mojo
16:16 polettix where does the favicon.ico image come from? I can’t find it even in the logs for requests, but it is served as a small cloud
16:18 Grinnz_ polettix: it is probably base64 encoded in one of the modules
16:18 lluad If there's a favicon.ico in public/ it'll serve that instead.
16:19 polettix Grinnz_: it’s strange that the associated request is not logged anyway, and the “favicon” string does not seem to appear in the code base (apart from documentation and tests)
16:20 polettix oh, it’s probably simpler than I though
16:20 polettix there’s a favicon.ico file lib/Mojolicious/public/favicon.ico
16:20 Grinnz_ there you go :)
16:20 polettix it is probably used as a last resort
16:22 polettix and it also seems that static content is not logged by default, so this solves my other doubt
16:22 polettix thanks!
16:23 Grinnz_ right, the static response happens before the router gets involved
16:25 jberger joined #mojo
16:25 jberger so was everyone seeing my nick changing to jzhang?
16:26 Grinnz_ yes
16:26 jberger damn
16:26 polettix and XSdZ… too
16:26 jberger for how long?
16:26 jberger minutes hours days?
16:26 lluad 10 minutes or so.
16:26 jberger thanks
16:26 polettix you did a bit of back and forth
16:27 jberger once I noticed I tried to get it back, then I killed everything
16:28 Grinnz_ that seems rather apocalyptic of you
16:28 dod joined #mojo
16:54 sh4 joined #mojo
16:54 jberger joined #mojo
16:55 amon joined #mojo
17:02 fhelmber_ joined #mojo
17:11 nf joined #mojo
17:16 trone joined #mojo
17:30 ajr_ joined #mojo
17:30 ajr_ joined #mojo
17:32 polettix joined #mojo
18:07 mattastrophe joined #mojo
18:12 nf joined #mojo
18:30 berov joined #mojo
18:38 ToApolytoXaos joined #mojo
18:43 jberger joined #mojo
19:13 nf joined #mojo
19:35 cpan_mojo Mojolicious-Plugin-BModel-0.06 by BCDE https://metacpan.org/release/BCDE/Mojolicious-Plugin-BModel-0.06
19:43 hernan604 joined #mojo
19:56 mau-tauuu-ajaah joined #mojo
20:01 mattastrophe joined #mojo
20:14 nf joined #mojo
20:14 mattastrophe joined #mojo
20:30 hernan604 joined #mojo
20:30 mattastrophe joined #mojo
20:31 dotandimet joined #mojo
20:34 _dave_ What's the best practice mojolicious way of spawning a non-blocking style subprocess inside a mojolicious app?
20:35 Grinnz_ _dave_: Mojo::IOLoop::ForkCall, or Mojolicious::Plugin::ForkCall (included in that dist)
20:36 _dave_ that's not part of the mojolicious core?
20:36 Grinnz_ no
20:37 _dave_ ok thanks :D
20:38 _dave_ I was about to write that lol
21:10 neilhwatson joined #mojo
21:28 mattastrophe joined #mojo
21:36 polettix joined #mojo
21:51 nf joined #mojo
21:57 gryphon joined #mojo
22:05 zackiv31 joined #mojo
22:14 Snelius_ joined #mojo
22:14 upasana joined #mojo
22:14 noganex joined #mojo
22:15 marmez joined #mojo
22:16 upasana_ joined #mojo
22:20 disputin joined #mojo
22:33 punter joined #mojo
23:13 jnbek joined #mojo
23:14 mattastrophe joined #mojo
23:22 jnbek joined #mojo
23:30 D4RK-PH0ENiX joined #mojo
23:44 mattastrophe joined #mojo
23:49 polettix joined #mojo
23:50 zivester joined #mojo
23:54 mattastrophe joined #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary