Re: highscalability.com report

2012-04-12 Thread Octavian Rasnita
From: "Clinton Gormley" Subject: Re: highscalability.com report On Tue, 2012-04-03 at 22:50 -0400, Jim Schueler wrote: Hope this doesn't get trapped by too many spam filters. Sad news. Just saw a blog http://www.highscalability.com/ that reports YouPorn.com switched from Perl to PHP.

Re: Changing browser URL based on condition

2011-07-11 Thread Octavian Rasnita
From: Jerry Pereira Thanks Guys!!! I will go ahead with Redirect approach. I was more interested in building a generic framework for my application that would handle such scenarios (login was just one of them). Then, as somebody suggested, start using Catalyst framework. It will handle

Re: Installing mod_perl for 2 versions of Perl?

2011-07-11 Thread Octavian Rasnita
From: "Fred Moyer" On Mon, Jul 11, 2011 at 12:38 PM, Perrin Harkins wrote: On Mon, Jul 11, 2011 at 3:14 PM, Octavian Rasnita wrote: From: "Perrin Harkins" I am still afraid to compile Perl+Apache+mod_perl since the old days when I needed to do that because there wer

Re: Changing browser URL based on condition

2011-07-11 Thread Octavian Rasnita
From: "Jerry Pereira" Hi Edward, I have the following design: A single PerlResponseHandler for all requests. This handler based on the path decides the action to be taken For example, if the user submits to www.example.com/login, then the handler delegates the request to authentication module,

Re: mod_perl EC2 AMI's or other platform providers?

2011-07-11 Thread Octavian Rasnita
From: "Perrin Harkins" >I saw Miyagawa at YAPC::NA and it looks like DotCloud is serious about > their Perl support. > > The situation seems pretty good to me. We have DotCloud, for people > who want to try something simple very quickly with minimal startup > costs. I have tried, or better sa

Re: Installing mod_perl for 2 versions of Perl?

2011-07-11 Thread Octavian Rasnita
From: "Perrin Harkins" > 2011/7/11 Octavian Rasnita : >> Under Ubuntu 10.04, is it possible to install mod_perl for 2 versions of >> Perl for the same Apache? > > Just install another apache. It's pretty simple to compile apache and > mod_perl against

Re: Installing mod_perl for 2 versions of Perl?

2011-07-11 Thread Octavian Rasnita
From: "Fred Moyer" On Mon, Jul 11, 2011 at 10:44 AM, Perrin Harkins wrote: > 2011/7/11 Octavian Rasnita : >> Under Ubuntu 10.04, is it possible to install mod_perl for 2 versions of >> Perl for the same Apache? > > Just install another apache. It's pretty sim

Re: Changing browser URL based on condition

2011-07-11 Thread Octavian Rasnita
From: "Jerry Pereira" > Hi All, > > I would like to know if there is a way to change the URL displayed on > browser without using Redirect option. Nope, not possible. You need to do that redirection somehow. What the user sees in the address bar is the URL accessed by the browser. If the bro

Installing mod_perl for 2 versions of Perl?

2011-07-11 Thread Octavian Rasnita
Hi, Under Ubuntu 10.04, is it possible to install mod_perl for 2 versions of Perl for the same Apache? I have the default build of Apache that comes with Ubuntu and the default Perl that comes with Ubuntu and I also have the mod_perl installed with apt-get. I want to test ActivePerl 5.14 and I

Re: How do you use mod_perl for your web application?

2011-06-27 Thread Octavian Rasnita
ed up under the same mod_perl as a DBIx::Class application to support a different legacy application which does not use DBIx::Class, in which case they share a perl interpreter and will both have the same set of modules loaded. "" Octavian - Original Message - From: "Fred Moye

Re: How do you use mod_perl for your web application?

2011-06-26 Thread Octavian Rasnita
From: "Randolf Richardson" On Fri, Jun 24, 2011 at 3:00 PM, Phil Van wrote: > Interesting those are mod_fcgid + CGI, compared to plain > Apache + mod_perl + libapeq ? There are a number of modules like CGI and libapreq that run in multiple environments. My benchmark was a Catalyst app th

Re: question on installing perl modules

2011-01-23 Thread Octavian Rasnita
Another solution might be to install Perl in your home directory where you have privileges, then to install any module for it. --Octavian - Original Message - From: "Adam Flott" To: Cc: "mod_perl list" Sent: Sunday, January 23, 2011 11:00 PM Subject: Re: question on installing perl

Re: modperl and comet?

2010-04-16 Thread Octavian Rasnita
From: "E R" Subject: modperl and comet? > I'm interested in adding a Comet capability to a (rather large) > mod-perl application. > > To get around XSS limitations, the Comet service will have the same > host and port as the web service. However, I don't want a large > mod-perl process tied up

Re: [OT] Advocacy (was Re: decline and fall of modperl?)

2009-03-27 Thread Octavian Rasnita
You are right. Sorry for the last few messages. I think that we all know that there are differences between the software market in different countries, and that it is much harder to promote perl in the countries which are not so much developed. Octavian -- Octavian - Original Message --

Re: decline and fall of modperl?

2009-03-27 Thread Octavian Rasnita
From: "David Ihnen" Why it is bad that a language like PHP is more useful for more programmers? Because then they start thinking they're software engineers instead of just programmers. They get credibility, without having earned it through good engineering. They propagate their half-baked co

Re: decline and fall of modperl?

2009-03-27 Thread Octavian Rasnita
From: "Chris Prather" Perl is a funny animal. It doesn't have a formal support for interfaces, but it suppports multiple class inheritance. It also has - for a very long time now - support for closures, which I find very interesting (few Java developers even heard of it). Moose supports Roles

Re: decline and fall of modperl?

2009-03-27 Thread Octavian Rasnita
From: David Ihnen > en the newer perl modules on cpan started to use OOP, and I guess this is because OOP is better, even though under perl it usually > makes the programs run slower. > Perl's speed, even under oop, is good enough. OOP makes the libraries easier to maintain and exten

Re: encrypting perl

2009-03-26 Thread Octavian Rasnita
From: "Foo JH" > Business people love the idea of their intellectual property (IP) being > protected by way of code encryption. Try telling them their money-making > code is 'in the open, but everyone's doing it too'. Not exactly a warm > fuzzy feeling. > > This topic has been resurfaced from tim

Re: decline and fall of modperl?

2009-03-26 Thread Octavian Rasnita
From: "David Ihnen" >> They know it because everybody tell them so. Most web sites are done >> in PHP, most job offer for web programmers ask for PHP experience... > Then they don't know, they just repeat what others say. So I guess all > we can do is repeat what we know from experience, and ho

Re: mod_perl survey results

2008-11-11 Thread Octavian Rasnita
- Original Message - 2:49 PM, David E. Wheeler <[EMAIL PROTECTED]> wrote: To a certain degree, Apache/mod_perl is a victim of the success of HTTP. It's fairly easy to implement a new HTTP server, so there are a lot of them, and many are easy to use and extremely fast. If all you're inter

PerlSwitches

2008-09-19 Thread Octavian Rasnita
Hi, I try to load a Catalyst application using mod_perl, but if I use PerlSwitches for specifying the lib dir, it gives an error telling that the perl module can't be found: PerlSwitches -Ie:/web/Acces/lib PerlModule Acces And the error: [Fri Sep 19 19:44:12 2008] [error] Can't locate Acce

Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1

2008-04-02 Thread Octavian Rasnita
I have tried mod_perl 2.0.3 under Windows with ActivePerl 5.8.8 build 821 and above, but when I used a little more complex app, the server didn't want to start. With Active Perl build 820 it works though. Will mod_perl 2.0.4 work with versions of ActivePerl higher than build 820? Thanks. Oct

Re: AP820 is more stable than AP822 (for mp2)

2008-02-11 Thread Octavian Rasnita
I also use build 820 with Apache 2.2.4 because 822 has the same problems when using a more complex mod_perl application. (The same problem when restarting the server...) When using a "Hello world" program with mod_perl, 822 is working fine though. Octavian - Original Message - From:

Re: Flex

2007-12-04 Thread Octavian Rasnita
Hmm, I have Javascript and cookies enabled, but I don't think I have Flash because it wouldn't be very accessible anyway. Octavian - Original Message - From: Boysenberry Payne To: Octavian Rasnita Cc: modperl List Sent: Tuesday, December 04, 2007 9:45 AM S

Re: Flex

2007-12-03 Thread Octavian Rasnita
From: Boysenberry Payne > I currently use the ruby gem sprouts for compiling Flex apps. I would love to see a version > packaged for a mod_perl system. It really is all about learning what makes the flex compiler > work then strapping to perl instead of php or ruby. I would love to he

Re: mod_perl2 and Apache::SharedMem

2007-11-08 Thread Octavian Rasnita
From: "Boysenberry Payne" <[EMAIL PROTECTED]> What should I do if I want to load the classes after the server forks? There are many phases after the fork, the most commonly used is the PerlResponseHandler phase Do I understand correctly that even the modules specified in httpd.conf with Perl

Re: caching reverse proxy config+init scripts

2007-11-08 Thread Octavian Rasnita
From: "John ORourke" <[EMAIL PROTECTED]> Seriously though, it looks as though there are 5-10 good front end server options which support the following to various degrees: - reverse proxy - caching - load balancing - static file serving There is no clear choice since our setups range from singl

Re: caching reverse proxy config+init scripts

2007-11-08 Thread Octavian Rasnita
At the address http://www.guindilla.eu/blog/2006/12/31/deployement-nginx-reverse-proxy-my-network/ I found the text below. Does anyone know if it is still true? Squid and Apache were discarded because too heavy. I did not want another performance hole in my already strained server. Pound does

Re: mod_perl2 and Apache::SharedMem

2007-11-07 Thread Octavian Rasnita
Hi, Can you please tell me when the server forks? What should I do to load some classes before the server forks? What should I do if I want to load the classes after the server forks? Thank you for clarifications. Octavian - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]

Re: 32 & 64 bit memory differences

2007-11-06 Thread Octavian Rasnita
Hi, If you all recommend using mod_perl with a reverse proxy, then I am sure you can help me by telling how to protect the static files offered for download. I have many files that are generated permanently from 10 to 10 minutes, with names like 2007-11-06-10-10-00.tar.gz and I would like to

Re: dev environment

2007-11-05 Thread Octavian Rasnita
ss? Thank you. Octavian - Original Message - From: "Jeff Armstrong" <[EMAIL PROTECTED]> To: "modperl" Sent: Monday, November 05, 2007 4:08 PM Subject: Re: dev environment Original Message Subject: Re:32 & 64 bit memory differences From:

Re: 32 & 64 bit memory differences

2007-11-04 Thread Octavian Rasnita
Does anyone know a server that can be used as a reverse proxy for mod_perl applications that have a version for Windows and one for Linux? I need to develop under Windows and use in production under Linux, and I would like to use the same setup. Thanks. Octavian - Original Message -

Re: Best version of Apache for Win32 deployment

2007-10-05 Thread Octavian Rasnita
D]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: "Randy Kobes" <[EMAIL PROTECTED]>; "Foo JH" <[EMAIL PROTECTED]>; Sent: Wednesday, October 03, 2007 11:25 PM Subject: Re: Best version of Apache for Win32 deployment Octavian Rasnita wrote: Well

Fw: Best version of Apache for Win32 deployment

2007-10-05 Thread Octavian Rasnita
and do not know who to contact. Kind regards, Thomas -Original Message- From: "Octavian Rasnita" <[EMAIL PROTECTED]> To: "Thomas" <[EMAIL PROTECTED]> Date: Fri, 5 Oct 2007 09:01:17 +0300 Subject: Re: Best version of Apache for Win32 deployment Hi Thomas,

Re: Best version of Apache for Win32 deployment

2007-10-04 Thread Octavian Rasnita
From: "William A. Rowe, Jr." <[EMAIL PROTECTED]> Octavian Rasnita wrote: Well, I've uninstalled VS6 and VS.net, but this message still appears, so I have no where to go in Tools/Options/... You didn't bother to finish reading; http://httpd.apache.org/dev/debugg

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Octavian Rasnita
--- From: "Foo JH" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; Sent: Thursday, October 04, 2007 8:34 AM Subject: Re: Best version of Apache for Win32 deployment Sorry man, I'm not too familiar with Catalys

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Octavian Rasnita
Just-in-time debugging, errors' for more information. OK """ Well, I've uninstalled VS6 and VS.net, but this message still appears, so I have no where to go in Tools/Options/... Octavian - Original Message - From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Octavian Rasnita
ver it is strange that sometimes it works and sometimes it doesn't. Thank you. Octavian - Original Message - From: "Randy Kobes" <[EMAIL PROTECTED]> To: "William A. Rowe, Jr." <[EMAIL PROTECTED]> Cc: "Foo JH" <[EMAIL PROTECTED]>; "

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Octavian Rasnita
Regarding the best Apache for Windows, I have a problem running Apache under windows and I think this thread might help me. I tried Apache 2.2.4 with and without SSL support, and Apache 2.2.6 from apachelounge, but they still don't work. I read that Apache 2.2.6 from apachelounge should work wit

Re: Can't install mod_perl

2007-07-13 Thread Octavian Rasnita
From: "Fred Moyer" <[EMAIL PROTECTED]> Getting a good build of perl under x86_64 can be a bit tricky, when you compile perl you need to make sure that the default directories to search includes /usr/lib64. It took me a few tries to get it right, I posted my experiences here - http://use.perl.

Re: Can't install mod_perl

2007-07-13 Thread Octavian Rasnita
From: "Geoffrey Young" <[EMAIL PROTECTED]> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: /usr/local/perl_588/lib/CORE/libperl.a(gv.o): relocatio n R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC the first

Can't install mod_perl

2007-07-13 Thread Octavian Rasnita
Hi, I am trying hard to install mod_perl under SuSE X86_64 but I cannot do it. It gives the error below on the "make" step. I have searched for this error on the net, and I found only that perl could be badly installed, or Apache. I installed perl using the /lib64 /usr/lib64 and /usr/local/li

Re: modperl2 + apache2.2 unable to restart

2007-06-15 Thread Octavian Rasnita
Hi, I am also using modperl 2.03 with Apache 2.2 under Windows XP, and I have very often problems when trying to restart the web server. I use the following command: net stop apache2.2 It tries to stop and after a few tens of seconds it reports that the server cannot be stopped. If I try t

use lib

2007-06-09 Thread Octavian Rasnita
Hi, I am trying to run the perl module e:/web/ANR/lib/ANR.pm (a Catalyst application) using mod_perl. I have tried in httpd.conf: PerlSwitches -Ie:/web/ANR/lib PerlModule ANR ... But the server writes in the log that the module ANR cannot be loaded. However, it works if I do: PerlRequire "e

Re: Which template engine is best to create a perl site

2007-06-06 Thread Octavian Rasnita
From: "Perrin Harkins" <[EMAIL PROTECTED]> Sorry, but I suspect there's a mistake in your test. Possibly you counted the time for JIT to do the initial compile, which is slow but only happens once. HTML::Template::Compiled is fast, but it's not as fast as JIT. I don't recommend actually using

Re: Which template engine is best to create a perl site

2007-06-05 Thread Octavian Rasnita
HTML::Template::JIT compiles your entire template into a C program, so it's hard to believe that anything else is going to be significantly faster than that. I have tested HTML::Template::JIT, but HTML::Template::Compiled was much faster than it. I don't use HTML::Template::Compiled though, bec

Re: Perl and ASP.Net

2007-04-25 Thread Octavian Rasnita
From: Praveen Ray The bigger issue is not of client or server side controls. What's sorely missing is a recommended best practice pattern that mod-perl people should follow to package and deliver chunks of functionality. "There is more than one way to do it" is an advantage, not a disadvantag

Re: Apache::DBI

2007-02-04 Thread Octavian Rasnita
re which instance of DBI you will get. You can keep track of this id some by storing it in a session or a cookie. This would allow you to reference that id over several connections. Good Luck! Rick Apichairuk -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Sunda

Apache::DBI

2007-02-03 Thread Octavian Rasnita
Hi, Can you tell me, if I use persistent MySQL connection (with Apache::DBI), if I want to use select last_insert_id(), do I need to lock the table before doing the insert and unlock it after using the last_insert_id()? I don't know what could happen if another user of the application makes

mod_proxy

2007-01-24 Thread Octavian Rasnita
Hi all, Does anyone have an example of setting Apache2 that use a reverse proxy with mod_proxy? I have set my own, but I receive some errors in the error log and I don't know how to solve them, and I also don't know how to make the IP of the visitor appear in the back-end server's access log

see the headers

2007-01-16 Thread Octavian Rasnita
Hi, I am using a reverse proxy (mod_proxy) and the server give a 400 error telling that the header doesn't contain a : character and shows the line GET / HTTP/1.1 Of course that line doesn't have a : char, but it shouldn't have one. I want to see what headers are sent by the proxy server to t

Re: error when installing mod_perl

2007-01-14 Thread Octavian Rasnita
From: "Adam Prime x443" <[EMAIL PROTECTED]> I just ran into this same error. mod_perl 2.0.3 will build fine against httpd 2.2.3, but against 2.2.4 it gives this single failed test. Yes I know that, but I don't know if that bug is an important one and if it would be better to install Apache 2

mod_perl installation

2007-01-13 Thread Octavian Rasnita
Hi, How it is recommended to install perl if I also want to use it with mod_perl? With or without threading support? With or without support for multiplicity? It gives an error when installing with Apache 2.24, and I am trying to see if I don't make some mistakes. Thank you. Octavian

error when installing mod_perl

2007-01-13 Thread Octavian Rasnita
Hi, I have tried to install mod_perl with Apache 2.24, but it gave the following error: Failed Test Stat Wstat Total Fail List of Failed --- t/api/server_const.t31 3 4 tests and 1 subtest

installing another Apache version

2007-01-12 Thread Octavian Rasnita
Hi, I want to install Apache with mod_perl on a server where Apache and mod_perl are already installed and running. Is it possible to install Apache (listening on a different port than the installed version) with mod_perl, in order to test it, but without stopping the already installed Apache

Re: installing mod_perl for 2 servers

2007-01-12 Thread Octavian Rasnita
From: "Jonathan Vanasco" <[EMAIL PROTECTED]> No. Build the server with modules you want, either built-in or shared. Some modules that are very common /often used are built-in -- there's a chance that modules you want and didn't build as shared modules are already compiled into apache. As p

Re: installing mod_perl for 2 servers

2007-01-12 Thread Octavian Rasnita
more modules only if I will need them, but I don't think it is possible, or it is possible but not very easy. Octavian - Original Message - From: "Jonathan Vanasco" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: "Michael Peters&

Re: installing mod_perl for 2 servers

2007-01-12 Thread Octavian Rasnita
From: "Michael Peters" <[EMAIL PROTECTED]> But how can I install the other Apache modules that can be installed by adding --enable when using ./config if the server is already installed? As long as you install mod_so the rest can be added dynamically (via httpd.conf) and don't need to be spe

Re: installing mod_perl for 2 servers

2007-01-12 Thread Octavian Rasnita
From: "Michael Peters" <[EMAIL PROTECTED]> Is it possible to install mod_perl on 2 servers on the same computer without having 2 separate perl installations? Yes. Just use 2 different apache config files and it can use the same Apache/mod_perl/Perl code base. No need to install anything else.

installing mod_perl for 2 servers

2007-01-12 Thread Octavian Rasnita
Hi all, I have installed a proxy/reverse proxy server and on the same computer I want to install other 2 Apache servers and use mod_perl on both of them. (One would be for testing the programs before running them in production.) Is it possible to install mod_perl on 2 servers on the same compu

Re: ModPerl 2.03 for Windows

2006-12-09 Thread Octavian Rasnita
least 2 or 3 versions of mod_perl. And the package was found show that: Provide: mod_perl2 version 2.02 I thought that this couldn't be 2.03 for Apache 2.2. Thank you. Octavian - Original Message - From: "Randy Kobes" <[EMAIL PROTECTED]> To: "Octavian Rasni

Re: ModPerl 2.03 for Windows

2006-12-08 Thread Octavian Rasnita
k you. Octavian - Original Message - From: "Randy Kobes" <[EMAIL PROTECTED]> To: "mod_perl list" Sent: Friday, December 08, 2006 12:05 PM Subject: Re: ModPerl 2.03 for Windows On Fri, 8 Dec 2006, Clinton Gormley wrote: On Fri, 2006-12-08 at 21:27 -0800, Octavia

ModPerl 2.03 for Windows

2006-12-08 Thread Octavian Rasnita
Hi, Do you know if there is a .ppd version of ModPerl 2.03 for Windows available somewhere? Thanks. Octavian

Re: Web development platform contest and Perl / mod_perl

2006-11-14 Thread Octavian Rasnita
Oh yes in the last period I have seen that other languages are more and more used comparing with perl. I can see more and more programs made in Python, including in fields in which there are no perl programs at all, like a screen reader for example. I see a bigger and bigger interest in Ruby and Ru

Re: Protecting source code

2006-08-25 Thread Octavian Rasnita
Hi americans :-) Please try to understand that the situation is not everywhere like in USA regarding the respect for copyright, including the respect for open source licenses. I have seen the suggestion for protecting the code by a license for many times, but there are countries where those licen

Re: exceedingly stupid mapping question

2006-05-10 Thread Octavian Rasnita
From: "Jonathan Vanasco" <[EMAIL PROTECTED]> > I've got mp set up to handle a bunch of directories off of / - super > simple > > I want to toss my index.html and a few other pages through modperl > > i can't seem to figure out how to map files to a handler and not > directories > > this, i

Apache::FileManager

2006-05-09 Thread Octavian Rasnita
Hi, Is there a way of using Apache::FileManager under mod_perl 2? Or is there another perl module which does the same thing under mod_perl 2? Thank you. Teddy

Using Apache::DBI

2006-05-08 Thread Octavian Rasnita
Hi, I thought the best way of using Apache::DBI is to put the following code in the startup.pl script: use Apache::DBI (); Apache::DBI->connect_on_init('DBI:mysql:database=database_name;host=10.50.28 .37', 'user', undef, {PrintError => 1, RaiseError => 0, AutoCommit => 1}); use DBI (); But I und

redirecting

2006-04-15 Thread Octavian Rasnita
Hi, Is the following code correct? $r->headers_out->set(Location => '/ss'); I have seen that if the "http://"; and the host name is not given, Internet Explorer displays the page correctly, but I don't know if this will work with all the browsers. If you know more, please point me to some pages

Re: ModPerlCookBook.org

2006-04-14 Thread Octavian Rasnita
From: "Geoffrey Young" <[EMAIL PROTECTED]> > > Can anyone tell me if www.modperlcookbook.org is really down (for a few > > days) or I just have some problems accessing it? > > it works fine for me :) > Hmm, I have tried again from my computer, and from other 2 servers on my city, but it cannot be

ModPerlCookBook.org

2006-04-14 Thread Octavian Rasnita
Hi, Can anyone tell me if www.modperlcookbook.org is really down (for a few days) or I just have some problems accessing it? I am trying to find how to return different status codes based on some conditions. Thanks. Teddy

Returning 304 Not Modified

2006-04-12 Thread Octavian Rasnita
Hi, I am working on a program that should return HTTP/1.1 304 Not Modified if the page meets the conditions specified in the browser's request. (And I might need to return other status codes in the future). I have made a perl module that does: my $status = $params->{r}->meets_conditions(

Re: 2 versions

2006-03-08 Thread Octavian Rasnita
From: "Richard Kelsch" <[EMAIL PROTECTED]> > > Is it possible to have 2 versions of perl that use mod_perl and libapreq? > > Yes. You just need to tell your new perl what path to live in when you > build it. I think the option is named "PREFIX." Same for apache, and > make sure you use the righ

2 versions

2006-03-07 Thread Octavian Rasnita
Hi, Is it possible to have 2 versions of perl that use mod_perl and libapreq? I don't need to use 2 versions permanently, but I need to have a version that works while I install another version of perl with all the needed modules including mod_perl and libapreq, then switch to the new version. I

Re: A question for the newbies

2006-02-17 Thread Octavian Rasnita
From: "Jonathan Vanasco" <[EMAIL PROTECTED]> > > In a production environment, I found this: > HTML::Template::JIT was the fastest. it averaged something like . > 0003 seconds > Template::Toolkit was around .003 > Petal was around .008 (without pre-caching) > > my application logic was about .08

Broken pipe

2006-02-17 Thread Octavian Rasnita
Hi, I have seen in the error log of Apache the following line (for more times, exactly the same): [Fri Feb 17 13:58:04 2006] [info] [client 83.103.222.187] (32)Broken pipe: core_output_filter: writing data to the network I can see [info]. Do this means that it is not a real error but just a warni

Re: A question for the newbies

2006-02-17 Thread Octavian Rasnita
From: "Jonathan" <[EMAIL PROTECTED]> > Just because I like to advocate TAL: > > > > First item? > Even item? > Odd item? > Replaced by Foo{'blah'}{'var'} > Replaced by Foo{'blah'}->method() > > > > > template: > renders in browser without code, as it would be seen > i

Re: error

2006-01-09 Thread Octavian Rasnita
From: "Philip M. Gollucci" <[EMAIL PROTECTED]> Subject: Re: error > > [Tue Jan 10 22:05:34 2006] [error] [client 127.0.0.1] Can't locate object > > method "FETCH" via package "APR::Table" at e:/web/modules/Modul.pm line > > 35.\n > > The following works me... I cut and pasted your "line 35" I ha

error

2006-01-09 Thread Octavian Rasnita
Hi, [Tue Jan 10 22:05:34 2006] [error] [client 127.0.0.1] Can't locate object method "FETCH" via package "APR::Table" at e:/web/modules/Modul.pm line 35.\n The line 35 of that script contains: my ($session_id) = $r->headers_in->{Cookie}; I have read perldoc APR::Table and I have seen that it sa

Re: A handler just for the / location

2005-10-13 Thread Octavian Rasnita
From: "Philip M. Gollucci" <[EMAIL PROTECTED]> > Octavian Rasnita wrote: > > Instead of using: > > > > > > SetHandler perl-script > > PerlResponseHandler ModPerl::Testing > > > > > > I can use: > > > > > > S

Re: A handler just for the / location

2005-10-13 Thread Octavian Rasnita
From: "Geoffrey Young" <[EMAIL PROTECTED]> > > / is required per the rfc, so you cannot omit it. go ahead and try it via > telnet on your favorite site :) > > --Geoff Well, here it is just a test: telnet www.site.com 80 GET HTTP://www.site.com HTTP/1.1 Host: www.site.com And it works. So my opi

A handler just for the / location

2005-10-13 Thread Octavian Rasnita
Hi, I have asked on this list about how I can put a handler listen just to the / location, but not to other locations which are not handled by other perl handlers. I found the answer, and here it is: Instead of using: SetHandler perl-script PerlResponseHandler ModPerl::Testing I can use: S

configure: error: C++ preprocessor "/lib/cpp" fails sanity check

2005-10-08 Thread Octavian Rasnita
Hi, I have just installed perl 5.8.7 and mod_perl 2.01 with no errors but I can't install libapreq2 due to the following error after running: # perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for m

Re: What am I missing?

2005-10-06 Thread Octavian Rasnita
From: "Tom Schindl" <[EMAIL PROTECTED]> > > If I comment out "untie %session;, the program doesn't give errors, but if I > > let that line in the program, it gives an error in the browser "The server > > encountered an internal error or misconfiguration and was unable to complete > > your request.

Re: What am I missing?

2005-10-06 Thread Octavian Rasnita
tion arrived! Is it just a temporal anomaly? or some form of > mod_perlish quantum tunnelling? Ain't this list fab. ;) > > > Original Message > From: "Barksdale, Ray" <[EMAIL PROTECTED]> > To: "Octavian Rasnita" <[EMAIL PROTECTED]

Re: What am I missing?

2005-10-05 Thread Octavian Rasnita
From: "Barksdale, Ray" <[EMAIL PROTECTED]> > This needs to stay on the list. > > Assuming you did create your table as a MyISAM table > which I think forces atomic updates (implicit commits), > that shouldn't be a problem and it is writing something. > > I've only used this thing once so I'm no ex

What am I missing?

2005-10-05 Thread Octavian Rasnita
Hi, I am trying to use Apache::Session with mod_perl because I heard that it is a little faster than CGI::Session. The problem is that I cannot save variables in the created sessions. They are created, but no data is saved. Here is what I have tried and I am sure I am missing something: #Create

Setting a module to handle the requests to /

2005-10-01 Thread Octavian Rasnita
Hi, Is it possible to configure httpd.conf in such a way that when the users request the / directory, that module will handle it, but if the users request for a static file like /style.css for example, that file is served? I have tried: SetHandler perl-script PerlResponseHandler Foo::Bar If t

compressing content

2005-10-01 Thread Octavian Rasnita
Hi, I have read the following in O'Reilly's "Practical mod_perl": To compress only outgoing static files, you can look at the mod_gzip and mod_deflate modules for Apache. I have asked on Apache's users mailing list, and they said that mod_deflate can compress dynamic content also. Why is it sug

redirecting

2005-09-30 Thread Octavian Rasnita
Hi, I am trying to redirect a request to another location and the following code works, but the new location is not printed in the address bar. $r->status_line('302 Moved'); $r->headers_out->add('Location' => 'http://localhost/'); return Apache2::Const::OK; return Apache2::Const::REDIRECT; #give

Re: mod_perl advocacy

2005-09-13 Thread Octavian Rasnita
Hmm, sorry. I was just trying to think to something that might make perl more used than PHP. The scope of advocacy is not to make perl better, but to make it be used by more programmers, and most programmers are not super programmers which are able to create an operating system, but just coders th

Re: mod_perl advocacy

2005-09-12 Thread Octavian Rasnita
From: "Tagore Smith" <[EMAIL PROTECTED]> > > Teddy, you've been subscribed to the beginners list for about as long as > I have. Back in the day, I used to help you out. I stopped when it > became clear that you weren't interested in learning. > > After 4 years you should not be a complete beginner

mod_perl advocacy

2005-09-11 Thread Octavian Rasnita
Hi, Wouldn't be a good idea (for someone who also know PHP well) to create a program that can create perl scripts from PHP scripts? Also for the languages which are used in ASP... Also making a benchmark tool easy to use that will be able to compare the speed of the original php file with the spee

Re: a faster html::template?

2005-09-08 Thread Octavian Rasnita
From: "Jonathan Vanasco" <[EMAIL PROTECTED]> > You should learn about caching. Tweaking the template caching settings > under any system can vastly improve performance. > I have tried to learn more about caching in TT, but I could find only that I could create cache, and nothing more. No tweaking

Re: a faster html::template?

2005-09-07 Thread Octavian Rasnita
Hi, From: "Perrin Harkins" <[EMAIL PROTECTED]> > > I suspect you had one of the following problems: > > - Incorrectly configured template caching I don't know too much about caching, but I have just configured TT to create cached templates, so I have used cache. > - Heavy use of method calls in

Re: a faster html::template?

2005-09-07 Thread Octavian Rasnita
I have used Template-Toolkit, and the time used for parsing those templates used to double the whole time the program needed to run, so the speed of template parsing could be important. Teddy - Original Message - From: "Jonathan Vanasco" <[EMAIL PROTECTED]> To: "mod_perl List" Sent: We

Re: a faster html::template?

2005-09-07 Thread Octavian Rasnita
I have tested HTML::Template::Compiled and I found it as the fastest templating system. It is much much faster than Template-Toolkit, much faster than HTML::Template, and faster than HTML::Template::JIT. I have made the tests under Windows 2000. I didn't use the Benchmark module for making this

Re: HTML::Template::Compiled

2005-08-30 Thread Octavian Rasnita
Hi, As a feedback, I have seen that HTML::Template::JIT also works under Windows even though "nmake test" give errors. Teddy - Original Message - From: "Sam Tregar" <[EMAIL PROTECTED]> To: "jonathan vanasco" <[EMAIL PROTECTED]> Cc: "

Re: HTML::Template::Compiled

2005-08-30 Thread Octavian Rasnita
From: "Perrin Harkins" <[EMAIL PROTECTED]>> > No. However, I have spoken with the author about it a bit. Depending on > your use, it seems that HTML::Template::JIT may be a bit faster, and has a > decent test suite, which might ease your mind. It is more compatible with > HTML::Template. Howeve

HTML::Template::Compiled

2005-08-29 Thread Octavian Rasnita
Hi, Does anyone use the templating system HTML::Template::Compiled with mod_perl? I have just discovered that it works much faster with mod_perl than HTML::Template and I have also seen that it has some new features but I wouldn't like to start using it, then to discover big bugs. If I won't get

  1   2   >