Yusun,
your questions don't get better if you post them over and over again. Can you
answer the following questions below:
1.) Have you read through the guide at http://perl.apache.org/guide/ ? Millions
of people have spent thousands of hours compiling the information in there. I'm
sure you will
On one of my web server I ran several times into an issue where I received
an internal server error in Registry.pm under certain conditions. The
error_log says:
[Tue Aug 1 12:15:53 2000] [error] //VJ++.pdf$/: nested *?+ in regexp at
Here comes your herp (sounds almost like herpes to me ... shudder): What
happens if you actually put form.asp into /asp/ as in
http://oklahoma/asp/form.asp
Tobias
PS: It would have been enough to tell the list that you saw the source,
instead of posting a screenshot ...
At 05:25 PM
At 10:04 AM 7/14/00 -0600, Dave Thomas wrote:
Hello,
Question: Why does the Apache::Request object not return an Upload
object when
there was a file sent.
Backgroud: I have pulled the sample script from the Apache::Request
distribution and
used that in my handler, this instance works
Take a look at Apache::Request which is what you want. The documentation
for Apache::Upload is contained in the 'perldoc Apache::Request' .
Hope this helps
Tobias
At 02:17 PM 6/27/00 -0600, Casey Bristow wrote:
howdy.
one of the requirement of the system that I'm developing, is the ability
se?
Tobias
At 10:09 AM 6/2/00 -0400, Niral Trivedi wrote:
Tobias,
What do you exactly mean by line 'Internally the session will expire
after 30 minutes.'???
Is it something internal to Apache::Session or you have it programmed on
custom basis or what???
Niral
Tobias Hoellrich wrote:
At 0
At 09:26 AM 6/2/00 +1000, Adam Cassar wrote:
I was wondering how people are clearing out old Apache::Session's
No timestamp is used on the fields used by Apache::Session, so how do
we clear the old sessions?
I am not talking about the delete() method to remove a session, as that
presumes that
For one of our web services we ask people for a valid email-address to
access the service. Once the address passes an initial RFC822 check we send
a message to the user which contains an activation link. Once the user
receives the message and clicks on the link we consider the email address
valid
A mod_rewrite recipe wouldn't help you a lot, because you actually need to
parse the HTML, find all HREFs (and FORM actions) which point to your local
site and add the session information to these.
If you have a module which does process all the output from your handlers
then this would be a
Tom,
At 02:02 PM 5/9/00 -0700, Tom Mornini wrote:
That is the tricky part. :-)
Here's the sneaky way to handle it: Put the Session ID at the beginning of
the URI. If a request comes in with a Session ID, then strip it out of
$r-urii. If a request comes in without one, redirect them to the same
Jeffrey,
At 02:32 PM 5/9/00 -0700, Jeffrey W. Baker wrote:
Why is the session ID invalid just because they left for a week? Ask them
to authenticate again and take them right back to whatever they were
doing.
On some sites bookmarking the URL with the session ID embedded is the
optimal
Rule #1: Never ever link directly to a remote site, but do it through a
redirector which makes sure that nothing that doesn't have to be sent to
the remote site gets sent to it. We use a handler that "listens" on
/redirect turns urls like:
/redirect/http://www.disney.com
to the obvious
At 01:40 AM 5/10/00 +0200, harm wrote:
...
It doesn`t clear the referer header!
Any suggestions for better redirection strategies? Generate a html file
whith meta redirect="blah" qualifies as ugly ;-)
Then I guess our solution qualifies as ugly - you can spit out as many
302's as you want, it
responses (XML
probably) or HTML output.
Has anybody done somthing like this before? Are there any pointers you
mod_perl'ers want to share with me?
Thanks in advance
Tobias Hoellrich, Adobe Systems
At 01:29 PM 4/30/00 -0400, Sam Carleton wrote:
Ok, So cgi-lib.pl isn't the greatest in the world, but it did help me
get a big farther in my project:) Now I need something that works. I
have "Writing Apache Modules with Perl and C", but have not read too
deep into it and time is very
At 01:49 PM 4/30/00 -0400, Sam Carleton wrote:
Tobias,
I am looking into it right now, but you might be able to save me a lot
of time. I want to display the name/values from the HTML form. How
would I go about enumerating through the @params to do this?
Sam
How bout this:
package
At 02:04 PM 4/30/00 -0400, Sam Carleton wrote:
Tobias,
The new is blowing up on me. This is the error message:
null: Can't locate object method "new" via package "Apache::Request"
Try installing it :-)
$ perl -MCPAN -e shell
cpan install Apache::Request
Tobias
PS: Please,
At 06:40 AM 4/1/00 +0800, Jaime Teng wrote:
nope. im not referring to database connection.
im referring to the HTTP's "Connection: Keep-Alive"
wherein the browser and the server maintains a socket
connection even after the perl script finished execution.
jaime
Keep-Alive is a function of the
At 07:00 PM 2/10/00 -0800, Perrin Harkins wrote:
[ ... interesting XML application analysis deleted ... ]
Looks I came up with some reasons after all. So go ahead and use it if
you see a fit. Just don't believe anything that a person with a product
to sell tells you about XML. Or anything
Whooops, Steve,
I guess you should check whether your match is actually successful as in:
if (/(\d+):([0-9,]*):(.*)/) {
$id = $1;
$temp = $2;
$name = $3;
$CAT{$id}{"name"} = $name;
}
otherwise you get whatever $1/$2/$3 happen to be before the match.
This one does the "funky" thing :-)
foreach ("Digest::MD5","Crypt::DES",Crypt::CBC");
eval "use $_;";
if ($@) {
print "Can't locate module $_\n";
} else {
print "Found module $_\n";
}
}
Tobias
At 04:20 PM 1/11/00 -0500, Berghold, Peter wrote:
I saw a code
Now, where did I put my sh2pl converter
;-)
Tobias
At 03:53 PM 11/15/99 +, you wrote:
Hi All!
I just configured mod_perl and i need to include (execute) som shell
scripts that i have.
Those scripts check some things and they are going actually to create
the html output, i
I don't know, if you have to stick to the tags as described below, but if
you don't have to you may want to take a look at a custom Apache::SSI
subclass which can do all this stuff for you and no perl-based HTML parsing
is involved:
!--#ADVERTISMENT id=252 --
Tobias
At 10:10 AM
Ken,
no - mod_perl as glue to the Apache API is required. If you're not running
under mod_perl these won't work for you and you have to use CGI.pm's or
URI's perl only functions.
At 12:19 PM 11/1/99 -0500, Ken Y. Clark wrote:
On Mon, 1 Nov 1999, John Siracusa wrote:
Can I use the
And yet another one (which I used for one project): Detach the process from
the Apache cgi (no don't use fork inside your script) and have the process
do its work in the background outputting progress information into a know
location. Have your web-page reload every minute or less, read the
I wanted to trap non-existant session-id's by bracketing the
tie %{$href}, 'Apache::Session::DBI', $id,
{
DataSource = 'dbi:mysql:sessions',
UserName = 'db_user',
Password = 'db_passwd'
};
with an eval { }; block. Once I've done this and send a non-existant
session-id I get
26 matches
Mail list logo