Alias apache not work with include virtual

2001-11-06 Thread Trieu (Tom) Mai
Hi, I'm having a problem and I wondered if it's a bugs. httpd.conf file: Alias /site/ c:\html\test\site . test.asp file: --#include virtual = /site/test.inc -- When I run the test.asp, the file test.inc not found, is this a bug ? but it does recognize when tried this:

CGI.pm - Unnamed parameter

2001-11-06 Thread James Wilson
Hi, Hopefully a quick and easy question... I'm accessing as follows: /cgi-bin/script.pl?data And want to know how to get 'data' from somewhere using CGI.pm Am familiar with using $cgi-param{'it'} to read .../script.pl?it=data and also using $cgi-path_info() to read .../script.pl/data but I

Perl Script unable to stat

2001-11-06 Thread Mathangi K
Hi I am using Apache 1.3.20. with perl module 1.25. In the httpd.conf I have included this line ScriptAliasMatch ^/cgi-bin/cwb-ipm/(.*) D:\IPM1\Server\cgi-bin/$1 In the cgi-bin I have .exe as well as .pl files.The call to .exe works fine whereas call to .pl files gives an page not found error

RE: AxKit Shutdown

2001-11-06 Thread Matt Sergeant
-Original Message- From: Patrick [mailto:[EMAIL PROTECTED]] On Fri, Nov 02, 2001 at 09:48:52AM -, Matt Sergeant took time to write: This is sad indeed. Once everything is up and running again I'll write a complete document of the nightmares that getting it back up again

your mod_perl success stories are wanted

2001-11-06 Thread Stas Bekman
As Elaine pointed out on the perl advocacy mailing list, the best evangelism technique is to use success stories to set a positive example and encourage other by sharing the experience and results. Our collection of success stories at perl.apache.org is very outdated and far from being

Re: CGI.pm - Unnamed parameter

2001-11-06 Thread Ken Y. Clark
On Fri, 2 Nov 2001, James Wilson wrote: Date: Fri, 2 Nov 2001 01:42:13 + (GMT) From: James Wilson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: CGI.pm - Unnamed parameter Hi, Hopefully a quick and easy question... I'm accessing as follows: /cgi-bin/script.pl?data And want to

RE: AxKit Shutdown

2001-11-06 Thread Dave Baker
As I've said to everyone of these offers: mirroring isn't the problem right now - the web site is up at http://217.158.50.178/, it just doesn't have the domain name. We don't really get the sort of traffic that requires a mirror for bandwidth problems, and I've yet to get a complaint that

http or https in URL?

2001-11-06 Thread Reif Peter
In a mod_perl handler I want to construct the original URL of the request. I can construct it with r-get_server_name, r-get_server_port, r-uri and $r-parsed_uri-query. But how do I get the protocol, http or https. Is there a way to find out whether SSLEngine On is set? Yes, I can set it with

Re: http or https in URL?

2001-11-06 Thread Rob Nagler
But how do I get the protocol, http or https. You can check the port on $c-local_addr. 443 is https. Rob

RE: AxKit Shutdown

2001-11-06 Thread Khachaturov, Vassilii
Matt, this is exactly the sort of thing that I am telling is obscuring the access to AxKit. OK, you have the domain name problems because you chose to first shut the old one down, and then to put the new one up, not the other way around. Whatever it is, right now people have to go to the

Antwort: http or https in URL?

2001-11-06 Thread Michael . Jacob
Hi, we're using the following code: sub savelink ($modul: string min 4 max 4, $page: string default index.html) { my $r = Apache-request; my $session_id = $r-pnotes('sessionid'); my $uri = Apache::URI-parse($r); my $hostinfo = $uri-hostinfo; my $scheme = $uri-scheme; my $url =

Re: http or https in URL?

2001-11-06 Thread David Young
This will not work all the time for all configurations. 80 is the default port for http and 443 is the default port for https. However, just as you may choose to run your http server on any port you wish, you may also choose to run your https server on any port you wish. From: Rob Nagler [EMAIL

RE: Antwort: http or https in URL?

2001-11-06 Thread Geoffrey Young
sub savelink ($modul: string min 4 max 4, $page: string default index.html) { my $r = Apache-request; my $session_id = $r-pnotes('sessionid'); my $uri = Apache::URI-parse($r); my $hostinfo = $uri-hostinfo; my $scheme = $uri-scheme; my $url = $scheme . '://' .

Re: http or https in URL?

2001-11-06 Thread Issac Goldstand
*sigh* Didn't we have this argument out about 2 months ago??? There's an old thread on this and most of what's being said here isn't adding anything, but rather repeating things... The conclusions were basically that the best way would be to check $ENV{HTTPS}, but I seem to recall someone

Re: Documentation patch for mod_perl?

2001-11-06 Thread Stas Bekman
[this probably belong to the list] I am sending this after a suggestion that was given to me during in a perlmonks discussion. I feel that mod_perl's single threadedness on the Win32 platforms really warrants some more prominence in the docs. (How about 18pt bold red warning on page 1?

Re: Perl Script unable to stat

2001-11-06 Thread Perrin Harkins
Hi, ScriptAlias is a CGI thing, not a mod_perl thing. If you're trying to run thing with Apache::Registry, you should use Alias instead. If you're trying to use CGI and need help with that, try posting your question on http://perlmonks.org/. - Perrin

Re: inconsistency between CGI.pm and Apache::Request

2001-11-06 Thread Lincoln Stein
I'm amazed that CGI.pm does this, but you're right. What's bad is that this style doesn't work as expected: p $r-param(foo=[qw(a b c)]) Lincoln Tatsuhiko Miyagawa writes: On Thu, 1 Nov 2001 09:58:39 - Matt Sergeant [EMAIL PROTECTED] wrote: I guess so. Your above is

RE: inconsistency between CGI.pm and Apache::Request

2001-11-06 Thread Lincoln Stein
No, it certainly isn't clean. Neither is Perl's API! Lincoln Matt Sergeant writes: -Original Message- From: Tatsuhiko Miyagawa [mailto:[EMAIL PROTECTED]] On Thu, 1 Nov 2001 09:58:39 - Matt Sergeant [EMAIL PROTECTED] wrote: I guess so. Your above is

Prototype Mismatch

2001-11-06 Thread Jonathan M. Hollin
Platform: Microsoft Windows 2000 Server Perl 5.6 (Active State) mod_perl In my script a simple use Image::Magick; results in the following lines being added to my error.log everytime the script is called: Prototype mismatch: sub Apache::ROOT::shapeshifter::system::pm_files_2ecgi::Transparent

RE: CGI.pm - Unnamed parameter

2001-11-06 Thread simran
Hi Ken, Try the following: my $q = new CGI; if (defined $q-param('data')) { # # data was a parameter... # } else { # # data was not a parameter... # } cheers, simran. -Original Message- From: Ken Y. Clark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 7 November 2001 12:24

mod_perl, pipes, and No child processes

2001-11-06 Thread Tom Servo
Hello all. I'm writing an app that opens a pipe to sendmail, which if memory serves, forks off a child process of apache to do the pipe, then exits as soon as it's finished. I was doing this with MIME::Lite, and it's been working absolutely splendidly on Linux and on Solaris 7. However, on

Re: mod_perl, pipes, and No child processes

2001-11-06 Thread Jie Gao
On Tue, 6 Nov 2001, Tom Servo wrote: Hello all. I'm writing an app that opens a pipe to sendmail, which if memory serves, forks off a child process of apache to do the pipe, then exits as soon as it's finished. I was doing this with MIME::Lite, and it's been working absolutely splendidly

Re: mod_perl, pipes, and No child processes

2001-11-06 Thread Tom Servo
Any ideas what is causing this? Like I said, the mail goes out fine, but it makes it pretty difficult to check the return code since it's always coming back false. Shouldn't you check $? instead? I was under the assumption that doing something similar to: my $returnval =

Re: mod_perl, pipes, and No child processes

2001-11-06 Thread Luciano Miguel Ferreira Rocha
I was under the assumption that doing something similar to: my $returnval = $msg-send(); Would give a similar answer. I'll give the $? a shot though. I've noticed that from the shell, it always has a 0, and that would show up as false under perl... Well, on the shell and every

Re: mod_perl, pipes, and No child processes

2001-11-06 Thread Tom Servo
On Tue, 6 Nov 2001, Luciano Miguel Ferreira Rocha wrote: I was under the assumption that doing something similar to: my $returnval = $msg-send(); Would give a similar answer. I'll give the $? a shot though. I've noticed that from the shell, it always has a 0, and that

[OT] Re: mod_perl, pipes, and No child processes

2001-11-06 Thread Jie Gao
On Tue, 6 Nov 2001, Tom Servo wrote: On Tue, 6 Nov 2001, Luciano Miguel Ferreira Rocha wrote: I was under the assumption that doing something similar to: my $returnval = $msg-send(); Would give a similar answer. I'll give the $? a shot though. I've noticed that from

Re: Prototype Mismatch

2001-11-06 Thread Stas Bekman
Jonathan M. Hollin wrote: Platform: Microsoft Windows 2000 Server Perl 5.6 (Active State) mod_perl In my script a simple use Image::Magick; results in the following lines being added to my error.log everytime the script is called: Jonathan, I think you've sent this to the wrong

RE: PerlRequire/PerlModule and %INC

2001-11-06 Thread Geoffrey Young
hi guys... I know this is from a while ago, but I'm still seeing the double init thing with PerlModule and PerlRequire on server restarts. I've tried two different 5.6.1 installs with current CVS. can somebody verify that I'm not seeing things? the test I was using was the default

RE: http or https in URL?

2001-11-06 Thread Reif Peter
From: Richard L. Goerwitz III *EXTERN* [mailto:[EMAIL PROTECTED]] Reif Peter wrote: Yes, I can set it with PerlSetVar protocol https, but is there a simpler way? If you're in a response handler, you could test for the HTTPS environment variable. Otherwise you're stuck with a

Re: inconsistency between CGI.pm and Apache::Request

2001-11-06 Thread Tatsuhiko Miyagawa
On Tue, 6 Nov 2001 15:52:20 -0500 Lincoln Stein [EMAIL PROTECTED] wrote: I'm amazed that CGI.pm does this, but you're right. What's bad is that this style doesn't work as expected: p $r-param(foo=[qw(a b c)]) That's it! Any plan to fix this *strange* behaviour? -- Tatsuhiko Miyagawa

[ANNOUNCE] Wombat and libservlet releases

2001-11-06 Thread brian moseley
(apologies to those for whom this is a cross-post) after many months, i'm finally able to announce releases of my various servlet packages. - libservlet 0.9.2 (servlet api) http://libservlet.sourceforge.net/ - Wombat 0.7.1 (servlet container) http://wombat.sourceforge.net/ -

cvs commit: modperl-2.0/xs/Apache/RequestIO Apache__RequestIO.h

2001-11-06 Thread dougm
dougm 01/11/06 09:32:53 Modified:xs/Apache/RequestIO Apache__RequestIO.h Log: add mpxs_output_flush for checking $| Revision ChangesPath 1.14 +8 -5 modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h Index: Apache__RequestIO.h

cvs commit: modperl-2.0/xs modperl_xs_util.h

2001-11-06 Thread dougm
dougm 01/11/06 09:37:25 Modified:xs modperl_xs_util.h Log: s/croak/Perl_croak/g Revision ChangesPath 1.11 +5 -3 modperl-2.0/xs/modperl_xs_util.h Index: modperl_xs_util.h === RCS

cvs commit: modperl-2.0/xs/Apache/RequestIO Apache__RequestIO.h

2001-11-06 Thread dougm
dougm 01/11/06 09:38:15 Modified:xs/Apache/RequestIO Apache__RequestIO.h Log: remove dead mpxs_rwrite_loop macro Revision ChangesPath 1.15 +0 -9 modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h Index: Apache__RequestIO.h

cvs commit: modperl-2.0/xs/Apache/RequestIO Apache__RequestIO.h

2001-11-06 Thread dougm
dougm 01/11/06 09:40:22 Modified:xs/Apache/RequestIO Apache__RequestIO.h Log: fix $| comment for $r-puts Revision ChangesPath 1.16 +3 -1 modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h Index: Apache__RequestIO.h

cvs commit: modperl-2.0/xs/Apache/RequestIO Apache__RequestIO.h

2001-11-06 Thread dougm
dougm 01/11/06 09:50:56 Modified:xs/Apache/RequestIO Apache__RequestIO.h Log: remove unused scfg variable Revision ChangesPath 1.17 +0 -4 modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h Index: Apache__RequestIO.h

cvs commit: modperl-2.0/src/modules/perl modperl_util.c modperl_util.h

2001-11-06 Thread dougm
dougm 01/11/06 10:39:41 Modified:src/modules/perl modperl_util.c modperl_util.h Log: add modperl_perl_do_sprintf function Revision ChangesPath 1.30 +16 -0 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

cvs commit: modperl-2.0/xs/maps apache_functions.map modperl_functions.map

2001-11-06 Thread dougm
dougm 01/11/06 10:41:46 Modified:todo api.txt xs/Apache/RequestIO Apache__RequestIO.h xs/maps apache_functions.map modperl_functions.map Log: add Apache::RequestIO::{printf,PRINTF} methods Revision ChangesPath 1.13 +1 -1

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2001-11-06 Thread dougm
dougm 01/11/06 10:41:59 Modified:xs/tables/current/ModPerl FunctionTable.pm Log: sync Revision ChangesPath 1.43 +55 -1 modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm Index: FunctionTable.pm

cvs commit: modperl-2.0/t/response/TestModperl print.pm

2001-11-06 Thread dougm
dougm 01/11/06 10:50:25 Modified:t/modperl .cvsignore Added: t/response/TestModperl print.pm Log: add tests for tied print/printf Revision ChangesPath 1.4 +1 -0 modperl-2.0/t/modperl/.cvsignore Index: .cvsignore

cvs commit: modperl-2.0/xs/Apache/RequestIO Apache__RequestIO.h

2001-11-06 Thread dougm
dougm 01/11/06 11:09:14 Modified:xs/Apache/RequestIO Apache__RequestIO.h Log: move ap_{setup,should}_client_block wrappers into modperl_{setup,should}_client_block so they can be called elsewhere Revision ChangesPath 1.19 +24 -9

cvs commit: modperl-2.0/xs/Apache/RequestIO Apache__RequestIO.h

2001-11-06 Thread dougm
dougm 01/11/06 19:12:51 Modified:xs/Apache/RequestIO Apache__RequestIO.h Log: s/modperl_/mpxs_/ for {setup,should}_client_block wrappers Revision ChangesPath 1.20 +4 -4 modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h Index: Apache__RequestIO.h

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2001-11-06 Thread dougm
dougm 01/11/06 19:13:21 Modified:xs/tables/current/ModPerl FunctionTable.pm Log: sync Revision ChangesPath 1.44 +11 -1 modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm Index: FunctionTable.pm

cvs commit: modperl-2.0/src/modules/perl modperl_perl_includes.h

2001-11-06 Thread dougm
dougm 01/11/06 19:14:54 Modified:lib/Apache ParseSource.pm lib/ModPerl TypeMap.pm WrapXS.pm src/modules/perl modperl_perl_includes.h Log: add logic so we can avoid dTHX; usage in modperl-only functions that have a pTHX_ Revision ChangesPath

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2001-11-06 Thread dougm
dougm 01/11/06 19:39:09 Modified:xs/APR/Bucket APR__Bucket.h xs/APR/Table APR__Table.h xs/APR/URI APR__URI.h xs/Apache/Module Apache__Module.h xs/Apache/RequestIO Apache__RequestIO.h xs/Apache/RequestUtil

Re: [preview 2] new mod_perl site concept

2001-11-06 Thread Craig McLane
I focused mostly on the content - Stas this rocks! Very easy to navigate, and the info (especially the Apache::Test documentation is great. One 'style' nit, it appears that an absolute width is specified on the tables used for formatting which bumps the right area of the page so that I have to