Jerrad Pierce [EMAIL PROTECTED] writes:
But nobody is typically a rather priveleged account...
On 11 Jul 2000, Alexei V. Barantsev wrote:
From command line all is ok
HTML LANG="en-US"HEADTITLEUntitled Document/TITLE
/HEADBODYPFile::Copy::copydir ok/P
Hi there,
On Tue, 11 Jul 2000, Greg Leidreiter wrote:
when attempting to access http://localhost/hello/world from a
browser it returns 404, and the errorlog shows the /hello/world URL appended
to DocumentRoot
any ideas?
Is there an `Alias' directive somewhere in your config?
73,
Ged.
Hi,
Next question, did you "use Apache::Log;" ?
--
Yes!
That is what I am "using":
--- snip ---
use strict;
use vars qw(%DBNew);
use CGI::Cookie;
use CGI '-autoload';
use MD5 ();
use Biobase::DBI qw(:All);
use Apache::File ();
use Apache::URI ();
use Apache::Log ();
use
I had tried the telnet to grab the headers already, but... Your second
suggestion fixed the problem nicely. Although I do not understand why
the exit would cause that problem. After you said that I remebered
reading somewhere exits were not good under mod-perl, but they should
be caught
Hi there,
On Tue, 11 Jul 2000, Rich Lemanski wrote:
I have been tasked to show the performance differences between Perl
CGI scripts and mod_perl scripts running on an Apache web server on
a small isolated network.
There is a lot of good stuff about this in the Guide
[EMAIL PROTECTED] (Alexei V. Barantsev) wrote:
Jerrad Pierce [EMAIL PROTECTED] writes:
But nobody is typically a rather priveleged account...
On 11 Jul 2000, Alexei V. Barantsev wrote:
From command line all is ok
HTML LANG="en-US"HEADTITLEUntitled Document/TITLE
Quite right...Commit
does need to be enabled. Here's the trick though...
(code from the script
making the connection through Apache::Session::Oracle
tie %hash,
'Apache::Session::Oracle', $id,
{ DataSource =
'dbi:Oracle:ensdev',
UserName =
'User',
Password =
'Pass',Commit = 1
};
)
"Patrick" == Patrick [EMAIL PROTECTED] writes:
Patrick I'm not sure what you mean by complete, but CGI::FastTemplate always
Patrick suited my needs. Of course there are many other solutions, like
Patrick others have told you : HTML::Mason (seems to be very popular),
Patrick etc...
What
Hi,
Recently I started to have problems in developing my CGIs because in my
new job most of the servers run Netscape instead of Apache. The
administrator told me that the reason is that Netscape has a better
performance than Apache 1.3. I'm now developing a module that caches in
Yes. It's Apache::Registry.
On 12-Jul-2000 Luis Henrique Cassis Fagundes wrote:
Hi,
Recently I started to have problems in developing my CGIs because in my
new job most of the servers run Netscape instead of Apache. The
administrator told me that the reason is that Netscape has a
"j" == jbodnar [EMAIL PROTECTED] writes:
j Yes. It's Apache::Registry.
No. Registry does not cache the generated pages. Try any of the
standard "template" packages like Mason or AxKit.
Sorry. I was attempting to answer what I thought was his real question. He
mentioned performance of CGI scripts and so Apache::Registry would be the ideal
choice. I don't think he wants to rewrite his CGIs so the template packages
won't work for him.
On 12-Jul-2000 Vivek Khera wrote:
"j" ==
On Wed, 12 Jul 2000, Greg Leidreiter wrote:
Firstly becuase the Eagle book seems very rigorous to me, and such an
oversight as forgetting to push a path into @INC should have been picked up
well before now. I've never heard mention of this problem...
mod_perl automatically adds {ServerRoot}
How do I use Apache::Registry to cache pages in disk? The module
I have
in mind is something transparent to the programmer, you just tell apache
that some CGI (or PHP, or any request) will be cached and the server
will cache the stdout in disk, and next time someone requests a page,
the
Perhaps you'd rather use something like the squid proxy, then:
http://www.squid-cache.org/
When you decide to switch back to Apache, which may not take too long,
you can continue to use squid as a front-end proxy. =)
[EMAIL PROTECTED] (Luis Henrique Cassis Fagundes) wrote:
How do
On Wed, 12 Jul 2000, Luis Henrique Cassis Fagundes wrote:
How do I use Apache::Registry to cache pages in disk? The module
I have
in mind is something transparent to the programmer, you just tell apache
that some CGI (or PHP, or any request) will be cached and the server
will cache
heddy Boubaker ([EMAIL PROTECTED]) said something to this effect:
What I meant is a pkg that could generate all known HTML tags, not like
HTML::StickyForms ...
But all of you guys changed my mind instead of hardcoding the html into my
handler I'll try to investigate the use of
Hi,
The module would handle the requests before any other modules and check
in its database if there is a cached page for that request uri. If the
page is cached, it will send the cached page and return DONE. If the
page is not cached, it will let Apache handle the request
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect:
How do I use Apache::Registry to cache pages in disk? The module
I have
in mind is something transparent to the programmer, you just tell apache
that some CGI (or PHP, or any request) will be cached and
Hi! There,
I am trying to set the web access control by using a name list file in AFS.
I don't know how to handle this issue. It will be gratefull if somebody can
help.
Many Thanks!
Sam
So is it true that Netscape has a better performance than Apache 1.3?
Here, we are trying to move over from Netscape to Apache not so much coz of
performance issues with the web server, but more to add mod_perl/fastcgi
and cool stuff like that.
-Pramod
At 12:18 PM 7/12/00 +0200, Luis Henrique
On Wed, 12 Jul 2000, Luis Henrique Cassis Fagundes wrote:
Hi,
The module would handle the requests before any other modules and check
in its database if there is a cached page for that request uri. If the
page is cached, it will send the cached page and return DONE.
What if the
[EMAIL PROTECTED] (darren chamberlain) wrote:
Luis,
Write a handler (or cgi script, or registry script, or NSAPI plugin, or
PHP page) that handles 404 Errors, generates the (static) page, and
writes it to the location in the file system where the requested page
should live. The next time it is
Thank
you for helping me fix this. It is an integral part of a rearchitecture
plan.
Chad
Alan Prey
-
Plead Anarchy, it worked for
me.
modperl version 1.24
perl 5.6.0
apache 1.3.12
Solaris 5.7
URI 1.07
I am receving the following error message when running
make test:
/home/apache_1.3.12/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache
Hello all,
I just visited Stas Bekman's Benchmarking Applications page at:
http://thingy.kcilink.com/modperlguide/performance/Benchmarking_Applications.html
I was wondering where I can download those benchmarking utilities
ApacheBench and Crashme test? From what I can recall, ApacheBench comes
According to Ken Williams:
Another option is to set up whatever handler you want, on a development
or staging server (i.e., not the live one), and grab the pages with
lynx -dump or GET or an LWP script, and write them to the proper places
in the filesystem where the live server can access
Matt Sergeant
On Wed, 12 Jul 2000, Luis Henrique Cassis Fagundes wrote:
How do I use Apache::Registry to cache pages in disk? The module
I have
in mind is something transparent to the programmer, you just tell apache
that some CGI (or PHP, or any request) will be cached and
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect:
Hi,
The module would handle the requests before any other modules and check
in its database if there is a cached page for that request uri. If the
page is cached, it will send the cached page and
John Edstrom ([EMAIL PROTECTED]) said something to this effect:
The problem here is that you can't simply cache the page, because the
server and even the script can't know when to replace the cached page
until after its heard from the database or the source that is feeding
the database. It
Dan Rench [EMAIL PROTECTED] wrote:
According to pages 500-501 in the Eagle book, changes made to @INC from
PerlRequire'd code don't stick.
That is strange, because it seems to work here. I have
PerlRequire /www/perl/perlstart.pl
in my httpd.conf, and perlstart.pl starts with
at a time earlier than now, darren chamberlain wrote:
Write a handler (or cgi script, or registry script, or NSAPI plugin, or PHP
page) that handles 404 Errors, generates the (static) page, and writes it to
the location in the file system where the requested page should live. The
next time
Ken Williams [EMAIL PROTECTED] writes:
Putting squid in front of an Apache server used to be very popular - has
it fallen out of favor? Most of the answers given in this thread seem
to be more of the roll-your-own-cache variety.
Squid's OK provided you can coax Apache to send the header
Or have them be resident in memory, which squid can do. Why reinvent this?
b/c to use squid, you have to be able to use HTTP headers to do
cache validation. sometimes that works, sometimes it doesn't.
Putting squid in front of an Apache server used to be very popular - has
it fallen
Release version 1.1 of CGI::Application is now available via CPAN!
Download site for CGI::Application:
http://www.cpan.org/authors/id/J/JE/JERLBAUM/
Changes:
- Tweaked test.pl to avoid CGI.pm command line debugging interface
which requires user to hit CTRL-D to continue
at a time earlier than now, darren chamberlain wrote:
How are your files uploaded? If you use some sort of an automated system,
add a line to delete or rename or whatever the current version of the file,
so that when the URI gets called again, it is regenerated. Or, if you
generate the
The idea of a 404 handler will fit perfectly with mod_rewrite: I can
create a 404 handler that writes the page to a static file and to the
browser and a rewrite rule that redirects request of the dynamic page to
the static page.
The only problem is one I already had trying to
On 12 Jul 2000 [EMAIL PROTECTED] wrote:
Hi,
The module would handle the requests before any other modules and check
in its database if there is a cached page for that request uri. If the
page is cached, it will send the cached page and return DONE. If the
page is not cached, it
Hi,
I have an Apache 1.3.12 server running on a Sun e450 with Solaris 7, Perl
5.6.0, and mod_perl 1.24. When I was testing the server everything seemed to
be ok, but once I moved the real content (including a bunch of perl CGI
scripts) onto it, I noticed that memory slowly gets eaten up. If I do
I want to use advisory locks in MySQL. The functuion is GET_LOCK(), and
the way it should be used is SELECT GET_LOCK(). It return 1 is successful,
0 if timed out, and undef on error. The sequence:
my $db_lock = 'GET_LOCK("mylock", 5)';
my $result = $dbh-do($db_lock);
returns "1" regardless
So is it true that Netscape has a better performance than Apache 1.3?
Here, we are trying to move over from Netscape to Apache not so much coz of
performance issues with the web server, but more to add mod_perl/fastcgi
and cool stuff like that.
-Pramod
At 12:18 PM 7/12/00 +0200, Luis Henrique
You'll need to use $sth = $dbh-prepare(...); and $sth-execute();
Then ($lock) = $sth-fetchrow_array(); and $sth-finish();
$dbh-do assumes that you are inserting or updating and so you dont expect any
results back. A GET_LOCK does not work like that, as you have noted, so you
will need to treat it
Rob Tanner [EMAIL PROTECTED] writes:
I want to use advisory locks in MySQL. The functuion is GET_LOCK(),
and the way it should be used is SELECT GET_LOCK(). It return 1 is
successful, 0 if timed out, and undef on error. The sequence:
my $db_lock = 'GET_LOCK("mylock", 5)';
my $result =
[EMAIL PROTECTED] (Chip Turner) wrote:
A one-line example of this can be tested by running the following in
two shell windows:
$ perl -MDBI -e 'my $dbh = DBI-connect("DBI:mysql:mysql", "yy", "xx");
my $sth = $dbh-prepare("SELECT GET_LOCK(\"mysql\", 5)"); $sth-execute;
my ($lock) =
--On Wednesday, July 12, 2000 4:14 PM -0700 Pramod Sokke
[EMAIL PROTECTED] wrote:
So is it true that Netscape has a better performance than Apache 1.3?
Don't know. Haven't seen any benchmark data.
However, there is a need to define one's terms as well. Probably, the
Netscape (now Iplanet)
Thanks Dana and Chip. That did it!
--On Wednesday, July 12, 2000 4:25 PM -0700 Dana Powers
[EMAIL PROTECTED] wrote:
You'll need to use $sth = $dbh-prepare(...); and $sth-execute();
Then ($lock) = $sth-fetchrow_array(); and $sth-finish();
$dbh-do assumes that you are inserting or updating
Probably, you don't even need (or want) to encrypt the password.
Rather, all you want is a MAC for the password the user supplies. In
this case, use MD5.
Rudy
clayton cottingham aka drfrog wrote:
whats the best encryption module for use with mod perl?
i want to encrypt passwords store in
On 12-Jul-2000 Rob Tanner wrote:
--On Wednesday, July 12, 2000 4:14 PM -0700 Pramod Sokke
[EMAIL PROTECTED] wrote:
So is it true that Netscape has a better performance than Apache 1.3?
But, scalibility in a large site depends an awful lot on all kinds of
things over and above the WEB
aaron wrote:
for example, in discussion software you have a very clear moment when you
want to invalidate specific pages: when a message arrives. now i don't want
squid or any other cache to even check w/ every request. i know darn well
when the cache is no longer valid!
I've been
I wrote an Apache Perl Module that I think can be of use to others
who maintain webservers and once in a while have to notify web users
with an urgent message. This module is currently being on the servers
I maintain.
The proposed module name is Apache::Motd (Message of the Day). It
basically
Ken Williams [EMAIL PROTECTED] writes:
[EMAIL PROTECTED] (Alexei V. Barantsev) wrote:
Jerrad Pierce [EMAIL PROTECTED] writes:
On 11 Jul 2000, Alexei V. Barantsev wrote:
From command line all is ok
HTML LANG="en-US"HEADTITLEUntitled Document/TITLE
51 matches
Mail list logo