mod-perl is an Apache web server module. The module improves the performance of Perl CGI scripts. Scripts are loaded into memory on the first invocation and added to the Apache process. On each subsequent invocation the script is run directly with no need for loading and parsing.
0
votes
0answers
4 views
Customized homepage for bugzilla
I am using bugzilla 4.2.5. I need to redirect to 'My bugs' page, once a user logged in.
...
4
votes
2answers
42 views
Why doesn't use warnings FATAL => 'all' seem to work?
This script:
use warnings FATAL => 'all';
warn 'warning';
die 'death';
...results in 'warning' getting logged, but doesn't die at that point, instead dying with 'death'.
I have a mod_perl ...
-1
votes
2answers
51 views
Perl convert date timezone without datetime module
I have a date in the format: 05/26/2013 06:08:00
The timezone of above date is GMT -7
how can i change the above to GMT date and time and in format:
26 May 2013 13:08:00 GMT
Note: I cannot install ...
15
votes
3answers
215 views
What criteria should I use to evaluate a Perl “app server” (mod_perl replacement)?
Short version:
What criteria should I use to evaluate possible candidates for a Perl "app server" (mod_perl replacement)?
We are looking for some sort of framework which will allow executing various ...
0
votes
1answer
20 views
How to capture error page screenshot of Apache error page?
I would like to configure Apache to capture screenshot of error page to save into a directory from where a cron script will attach it to email and send to my testing/developer colleague to debug and ...
0
votes
0answers
9 views
singleton session using mod_perl
I have two pages: index.cgi and login.cgi. In my index.cgi i have a CGI::Session Object, and in login.cgi i am trying to get the CGI::Sesion Object, but I am getting another Object.
index.cgi
...
1
vote
1answer
23 views
Determine application directory of Catalyst application running under mod_perl
When running under mod_perl Cwd's getcwd returns /
When using Mojolicious, I can simply put $self->app->home in any controller to determine the absolute path to the base directory in which the ...
0
votes
2answers
63 views
perl regex to match any `word character' except Q
I need a regex to match any character or word except Q.
I tried using the expression
/\b((?!(Q)).+?)\b/
but it is not working!
1
vote
1answer
51 views
How to track down what Apache process is doing
I occasionally have Apache processes that go to 100% of CPU usage and never quit. When this happens 8 times (8 CPUs), the server becomes unusable. According to server-status, the "hung" process is a ...
1
vote
1answer
57 views
Can Nodejs run behind Apache and is it supported?
Apache creates a new Thread for each request or more accurately, it re-uses a Thread from a pool of Threads but Node.js is essentially a single Thread. Would there be any complication in running a ...
1
vote
1answer
40 views
Really weird perl syntax error adding TO_JSON method to package
In adding a TO_JSON method (to convert a blessed reference via JSON.pm) into CGI::Cookie if I do this:
package CGI::Cookie;
sub TO_JSON {
return {
map { name => $_->name,
...
0
votes
1answer
71 views
mojolicious script works three times, then crashes
The following script should demonstrate a problem I'm facing using Mojolicious on OpenBSD5.2 using mod_perl.
The script works fine 4 times being called as CGI under mod_perl. Additional runs of the ...
1
vote
2answers
48 views
perl module for creating CLI [closed]
I wish to know is there any existing perl module which can provide the framework
to create new CLI commands ?
Thanks
Arpit
0
votes
1answer
55 views
Ip address with the address 192.168.0.0 network in http request header
Using mod_perl for Apache 1.3.
Address of the client get the headers X-Forwarded-For, HTTP_X_FORWARDED_FO,or environment variable $ENV{REMOTE_ADDR}:
sub address {
my $self = shift;
...
0
votes
1answer
172 views
having some problems installing mod_perl on windows
I want to run Perl on an Apache webserver in Xampp for Windows, but when i want to install Perl from the documentation here: http://perl.apache.org/docs/2.0/os/win32/install.html, there is 1 line i ...