RE: Problem with Apache::ASP under Apache 2.4

2014-05-20 Thread Koebrick, Andrew (MNIT)
Josh, No problem regarding the delay. Yes I have a working installation. I am running: Server version: Apache/2.4.9 (Fedora) I fixed my install problem by changing line 85 of StateManager.pm to: $self->{remote_ip} = $r->connection()->client_ip(); Good to see that

Re: Problem with Apache::ASP under Apache 2.4

2014-05-20 Thread Josh Chamas
Sorry for the misdirected reply. I have changed all reference from remote_ip to client_ip in the following Apache::ASP files on our system: Load.pm (1 occurrence) CGI.pm (2 occurrences) StateManager.pm (3 occurrences) That seems to have solved the problem. I hesitate however to post a patch si

Re: Problem with Apache::ASP under Apache 2.4

2013-07-11 Thread Tsirkin Evgeny
stem: > Load.pm (1 occurrence) > CGI.pm (2 occurrences) > StateManager.pm (3 occurrences) > > That seems to have solved the problem. I hesitate however to post a > patch since this fix is only good for Apache2.4 and I believe would break > instances running on earlier version. P

RE: Problem with Apache::ASP under Apache 2.4

2013-07-10 Thread Koebrick, Andrew (MNIT)
Sorry for the misdirected reply. I have changed all reference from remote_ip to client_ip in the following Apache::ASP files on our system: Load.pm (1 occurrence) CGI.pm (2 occurrences) StateManager.pm (3 occurrences) That seems to have solved the problem. I hesitate however to post a patch

Re: Problem with Apache::ASP under Apache 2.4

2013-07-09 Thread Warren Young
Please send replies to the mailing list, not direct to the one who replied to your post. On 7/9/2013 15:32, Koebrick, Andrew (MNIT) wrote: httpd-2.4 has changed it's API somewhat, the Apache2::Connection::remote_ip method is now Apache2::Connection::client_ip." So what happens if you change

Re: Problem with Apache::ASP under Apache 2.4

2013-07-09 Thread Warren Young
hange the URL in the obvious way for Apache 2.2 or 2.4, you get a 404 page. I took that to mean the Apache 2.0 Perl API is still the current API. Have you tried examining your copy of Apache2/Connection.pm? Assuming it is actually present -- and if not, that explains the problem -- does it

Problem with Apache::ASP under Apache 2.4

2013-07-09 Thread Koebrick, Andrew (MNIT)
Howdy, I am attempting to upgrade our web server to use Apache 2.4, and the Apache::ASP is failing with this message: Can't locate object method "remote_ip" via package "Apache2::Connection " at /usr/local/share/perl5/Apache/ASP/StateManager.pm line 85.\n at /usr/local/share/perl5/Apache/ASP/St

Re: File upload problem

2009-07-07 Thread Warren Young
Andrew Koebrick (ADM) wrote: Any thoughts on getting them to play well together? The use of CGI.pm to construct file upload fields is a mere convenience. You can do the same thing by writing raw HTML. It's just uglier than the corresponding CGI.pm code, is all. As I said above, all other

RE: File upload problem

2009-07-07 Thread Andrew Koebrick (ADM)
It looks like I figured out my problem with the missing $Request->Form data. I have RequestBinaryRead set to "Off". Turning this off gives me content in $Reqest->Form, but it unfortunately seems to then break CGI.pm. I had ReqestBinaryRead turned off because of a differe

Re: File upload problem / $Request->Form problem

2009-07-03 Thread D. L. Fox
Probably not what is causing your scenario but... I once had a scenario similar to this and found the problem was in my HTML. I needed to use both "id" and "name" attributes for each element in the form. If I just used one or the other, it wouldn't pass any data f

Re: File upload problem

2009-07-02 Thread Warren Young
Andrew Koebrick (ADM) wrote: Can't locate object method "request" via package "Apache" Have you tried this patch: http://www.gossamer-threads.com/lists/modperl/asp/89060?search_string=yarrow;#89060 ? - To unsubscribe, e-mail

RE: File upload problem

2009-07-02 Thread Andrew Koebrick (ADM)
ce the CGI functionality, it could be that the problem is longer lasting. I have access data from $Request->Form before, but not for a long while. I am assuming the problem related to how apache::asp and mod_perl are interacting on my system. For a few asp versions, I had to patch ASP.pm to g

Re: File upload problem / $Request->Form problem

2009-07-01 Thread Warren Young
Andrew Koebrick (ADM) wrote: asp title: cgi title: test title Would I be correct in guessing that this Apache::ASP application is brand new, and hasn't been running successfully for some time in the same configuration? If so, I would guess that you don't yet have Apache::ASP set up correct

RE: File upload problem / $Request->Form problem

2009-07-01 Thread Andrew Koebrick (ADM)
nal Message- From: Warren Young [mailto:[email protected]] Sent: Tuesday, June 30, 2009 8:42 PM To: Apache-ASP List Subject: Re: File upload problem Andrew Koebrick (ADM) wrote: > (http://www.apache-asp.org/cgi.html) that the recommendation is to roll > back to CGI v2.78. The docs

Re: File upload problem

2009-06-30 Thread Warren Young
Andrew Koebrick (ADM) wrote: (http://www.apache-asp.org/cgi.html) that the recommendation is to roll back to CGI v2.78. The docs are just giving that version as a known-working example. I've successfully uploaded files to servers running CGI.pm v2.89 and v3.15. I end up with an empty fil

File upload problem

2009-06-30 Thread Andrew Koebrick (ADM)
when I attempt to test the upload script from http://www.apache-asp.org/eg/file_upload.asp on my own server, I again seem to be stymied by the missing request object. Many thanks for assisting in sorting this issue out. Andrew Koebrick ++ Problem script: my $s

Re: Peculiar $Application problem

2008-08-19 Thread Thanos Chatziathanassiou
;m using MLDBM::Sync::SDBM_File. Curiously, scalar(keys(%{$Application})) returns just 4 elements and indeed iterating over keys returns only 4. Problem is, when running from the command line on a plain copy, it correctly returns both the number of elements and their keys/values. Any idea what might

Peculiar $Application problem

2008-08-06 Thread Thanos Chatziathanassiou
lication})) returns just 4 elements and indeed iterating over keys returns only 4. Problem is, when running from the command line on a plain copy, it correctly returns both the number of elements and their keys/values. Any idea what might

Re: Peculiar problem with CompressGzip

2008-05-09 Thread Thanos Chatziathanassiou
O/H Warren Young έγραψε: Thanos Chatziathanassiou wrote: enable CompressGzip on that specific directory. What happens if you use mod_deflate instead? Interesting question, but since it's a static build, I'd have to recompile apache to find that out. I'd rather not do that right now, unless

Re: Peculiar problem with CompressGzip

2008-05-08 Thread Warren Young
Thanos Chatziathanassiou wrote: enable CompressGzip on that specific directory. What happens if you use mod_deflate instead? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Peculiar problem with CompressGzip

2008-05-08 Thread Thanos Chatziathanassiou
Hi list, I have a virtual host that produces plain XML (no XSLT needed, defined or used). The resulting files are quite large, so I thought I'd save some bandwidth and enable CompressGzip on that specific directory. There was no error 500, just some garbled output. I could make out some ``Can'

Re: apache-1.3.36 perl-5.6.1 Apache::ASP-2.59 problem (solved ?)

2006-07-31 Thread Thanos Chatziathanassiou
d and commented out > the > ``ExcludeDirs'' thing we've talked about in the past) > Obviously ram isn't the problem and the previous 1.3.34 installation > works correct. > > Does anyone have any ideas ? > > Best Regards, > Thanos Chatziathanassiou ---

apache-1.3.36 perl-5.6.1 Apache::ASP-2.59 problem

2006-07-28 Thread Thanos Chatziathanassiou
gt; /usr/local/lib/perl5/site_perl/5.6.1//Apache/ASP/Load.pm line 102. > Out of memory! > > (line number may be a bit off, since I have tested and commented out > the > ``ExcludeDirs'' thing we've talked about in the past) > Obviously ram isn't the problem and t

apache-1.3.36 perl-5.6.1 Apache::ASP-2.59 problem

2006-07-28 Thread Thanos Chatziathanassiou
ed out the ``ExcludeDirs'' thing we've talked about in the past) Obviously ram isn't the problem and the previous 1.3.34 installation works correct. Does anyone have any ideas ? Best Regards, Thanos Chatziathanassiou -

Problem with XS-based module

2005-11-23 Thread Jonathan Dixon
I recently upgraded my servier from Fedora Core 2 to Fedora Core 4, and thus the new versions of Apache and ASP as well. This seems to have broken one of my Perl modules (MdbSQL) that relies on an XS interface to the mdbtools libraries to enable me to read MDB files on my Linux machine. I can m

Re: Install problem

2005-09-28 Thread Warren Young
Andrew Koebrick wrote: [error] Can't locate Apache2/RequestRec.pm in @INC [snip] mod_perl-1.99_16-3 The current version of Apache::ASP assumes that you are using the new mod_perl 2.0 interfaces. 1.99_16 uses the old mod_perl 1.0 interfaces. One option is to upgrade mod_perl. The depen

Install problem

2005-09-27 Thread Andrew Koebrick
I am attempting to get Apache::ASP going on a new system but get this error when starting Apache: [error] Can't locate Apache2/RequestRec.pm in @INC The system specs: Fedora Core 3 mod_perl-1.99_16-3 httpd-2.0.53-3.3 Would appreciate any assistance. Andrew Koebrick p.s. I have tried posting

Re: Problem with PDF files

2005-05-23 Thread Joshua Chamas
Jonathan Dixon wrote: I am running a website where I want to control access to the various files. I have the directory setup in httpd.conf with: ... This works well for the .doc, .css, .html, and .asp files, but the pdf files always crash with an error along the lines of: [error] error comp

Re: problem

2005-05-23 Thread Joshua Chamas
hezi wrote: Hi i install apache::asp on windows apache_2.0.48-win32-x86-no_ssl.msi ActivePerl-5.8.6.811-MSWin32-x86-122208.msi And mod perl I have uploaded a new version of Apache::ASP to CPAN, 2.59, which should fix this error. Regards,

Re: problem

2005-05-15 Thread Helmut Zeilinger
Helmut Zeilinger schrieb: i install apache::asp on windows apache_2.0.48-win32-x86-no_ssl.msi ActivePerl-5.8.6.811-MSWin32-x86-122208.msi And mod perl When I try to get tha page I get … “No valid request object (Apache2::RequestRec “ Any one has an idea why this is happening? Hi, if you are usin

Re: problem

2005-05-15 Thread Helmut Zeilinger
i install apache::asp on windows apache_2.0.48-win32-x86-no_ssl.msi ActivePerl-5.8.6.811-MSWin32-x86-122208.msi And mod perl When I try to get tha page I get … “No valid request object (Apache2::RequestRec “ Any one has an idea why this is happening? Hi, if you are using the newest mod_perl (RC6

problem

2005-05-14 Thread hezi
    Hi       i install apache::asp on windows       apache_2.0.48-win32-x86-no_ssl.msi ActivePerl-5.8.6.811-MSWin32-x86-122208.msi   And mod perl     When I try to get tha page I get … “No valid request object (Apache2::RequestRec “     Any one has an

Re: Problem with PDF files

2005-04-26 Thread Marko Friedemann
Jonathan Dixon wrote: This declares *.pdf files as being ASP files. Apache::ASP is trying to interpret them directly! What you want to do cannot be accomplished with this mechanism. Try looking at the various Apache modules. I understand that this forces the PDF files to be handled through Apache:

Re: Problem with PDF files

2005-04-25 Thread Jonathan Dixon
> This declares *.pdf files as being ASP files. Apache::ASP is trying to > interpret them directly! > > What you want to do cannot be accomplished with this mechanism. Try looking > at the various Apache modules. I understand that this forces the PDF files to be handled through Apache::ASP.

Re: Problem with PDF files

2005-04-25 Thread Warren Young
Jonathan Dixon wrote: SetHandler perl-script PerlHandler Apache::ASP PerlSetVar Global /storage/t212 PerlSetVar StateDir /tmp/asp PerlSetVar RequestBinaryRead On This declares *.pdf files as being ASP files. Apache::ASP is trying to interpret them directly! What you want to

Problem with PDF files

2005-04-23 Thread Jonathan Dixon
I am running a website where I want to control access to the various files. I have the directory setup in httpd.conf with: SetHandler perl-script PerlHandler Apache::ASP PerlSetVar Global /storage/t212 PerlSetVar StateDir /tmp/asp PerlSetVar RequestBinaryRead On SetHandl

RE: Install Problem (SMTP Failure)

2005-04-14 Thread John Drago
x and running the tests from the command-line. You may get better errors there that will help debug the issue. -Original Message- From: Lee Mehlhorn [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 12:12 PM To: [email protected] Subject: Install Problem (SMTP Failure) W

Install Problem (SMTP Failure)

2005-04-13 Thread Lee Mehlhorn
aying from the localhost (127.0.0.1).. How can I correct this problem so that CPAN will install the Bundle? Can I force it? any help on this is appreciated.. Thank you. t/server_mail[asp] [10381] [debug] [1113416766.8657;0.] [ERROR] can't connect to SMTP server with arg

RE: Apache::ASP Problem

2005-03-15 Thread John Drago
I've seen that before and fixed it by adding the following to my global.asa: use Apache::RequestRec(); YMMV From: Michael D. Marquardt [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 2005 8:25 AM To: [email protected] Subject: Apache::ASP Pr

Apache::ASP Problem

2005-03-14 Thread Michael D. Marquardt
Anybody got any idea what’s screwed up with my Apache::ASP installation?  You can see the problem I’m having by visiting the site below:   http://asptest.supersonic-online.net   -Michael D. Marquardt System Administrator SuperSonic Online http://www.supersonic-online.net  

Re: Event handling problem

2005-02-01 Thread Josh Chamas
Maxim Sloyko wrote: Hello! I have a problem with Apache::ASP: Application_On* events never occur! Even if I restart a server and remove all cookies from it. I'm using Apache 1.3.31 and mod_perl 1.29 If you delete the files in StateDir, the Application_OnStart event should occur. If you

Event handling problem

2005-02-01 Thread Maxim Sloyko
Hello! I have a problem with Apache::ASP: Application_On* events never occur! Even if I restart a server and remove all cookies from it. I'm using Apache 1.3.31 and mod_perl 1.29 Thanks in advance! -- Максим Слойко ---

Re: Post data truncation: CGI.pm / Apache::ASP problem?

2004-09-07 Thread Josh Chamas
Andrew Koebrick wrote: Josh, Apologies for the delay in following up with this- odditiies accessing the list. Anyhow- the advice you gave below about fixing the POST truncation issue did not solve the problem. Any other suggestions? Andrew Koebrick With the CGI 2.89, are you getting problems

Re: Post data truncation: CGI.pm / Apache::ASP problem?

2004-08-24 Thread Andrew Koebrick
Josh, Apologies for the delay in following up with this- odditiies accessing the list. Anyhow- the advice you gave below about fixing the POST truncation issue did not solve the problem. Any other suggestions? Andrew Koebrick --- In [EMAIL PROTECTED], Josh Chamas <[EMAIL PROTECTED]>

Re: Output formatting problem (text encoding?)

2004-07-21 Thread karl
directive would solve my problem, I found a stopgap solution of setting $Response->{Charset} in my script. Thanks again! --- In [EMAIL PROTECTED], Warren Young <[EMAIL PROTECTED]> wrote: > karl wrote: > > I have > > text output coming from a database and ' (apostr

Re: Output formatting problem (text encoding?)

2004-07-20 Thread karl
Nevermind...I realized that this was an Apache issue. I fixed the problem by changing the AddDefaultCharset to ISO-8859-1. Thanks anyway! --- In [EMAIL PROTECTED], "karl" <[EMAIL PROTECTED]> wrote: > Hello, > > I'm a total newbie to Perl/Apache::ASP, but I seem to

Re: Output formatting problem (text encoding?)

2004-07-20 Thread Warren Young
karl wrote: I have text output coming from a database and ' (apostrophes) are shown in the browser (IE6) as ? (question marks). There's apostrophes and there are apostrophes. There's ASCII code 39, there's Windows code page 1252 code 146, there's Unicode code The question is, which of t

Output formatting problem (text encoding?)

2004-07-20 Thread karl
Hello, I'm a total newbie to Perl/Apache::ASP, but I seem to have gotten things to work on a WinXP setup. I'm currently having problem with the formatting of output. I have text output coming from a database and ' (apostrophes) are shown in the browser (IE6) as ? (question ma

Problem with UniquePackages 1 and custom subroutines

2004-06-24 Thread Nicholas Schuetz
5.8.3 built for sun4-solaris mod_perl 1.29 Apache::ASP 2.57 The problem I am having has to do with custom subroutines not being executed when defined withing global.asa. This happens when UniquePackages 1 is set. When it is not set, the one application I have configure works. Yes, there is onl

Re: Post data truncation: CGI.pm / Apache::ASP problem?

2004-04-28 Thread Josh Chamas
exlibrismn wrote: I am having problems with post data being truncated. What is the state of compatibility between Apache::ASP and CGI.pm? My setup: Redhat 8 Apache 2 Apache::ASP 2.57 CGI.pm 2.89 Max_Post has been tried both turned up high and set to -1 and 0. I tried to upgrade to CGI.pm 3.0

Post data truncation: CGI.pm / Apache::ASP problem?

2004-04-28 Thread exlibrismn
I am having problems with post data being truncated. What is the state of compatibility between Apache::ASP and CGI.pm? My setup: Redhat 8 Apache 2 Apache::ASP 2.57 CGI.pm 2.89 Max_Post has been tried both turned up high and set to -1 and 0. I tried to upgrade to CGI.pm 3.04 but following up

Re: Running Demo ASP Problem?

2004-04-07 Thread Randy Kobes
On Mon, 5 Apr 2004, Josh Chamas wrote: > Craig Dayton wrote: > > I'm just getting up to speed on Apache2 & Apache::ASP > > (2.57) and I'm still getting errors when attempting to > > run the Bookmarks demo. The /asp/eg examples are > > running correctly, so I believe that I am dealing with > > an

Re: Running Demo ASP Problem?

2004-04-05 Thread Josh Chamas
Craig Dayton wrote: I'm just getting up to speed on Apache2 & Apache::ASP (2.57) and I'm still getting errors when attempting to run the Bookmarks demo. The /asp/eg examples are running correctly, so I believe that I am dealing with an app conf issue of some sort. That is great news that the /asp/

Running Demo ASP Problem?

2004-04-05 Thread Craig Dayton
I'm just getting up to speed on Apache2 & Apache::ASP (2.57) and I'm still getting errors when attempting to run the Bookmarks demo. The /asp/eg examples are running correctly, so I believe that I am dealing with an app conf issue of some sort. First, this is the version of the various component

Re: Apache/mod_perl/Apache::ASP TIEHASH problem

2004-03-02 Thread Tige D. Chastain
On Tue, 2004-03-02 at 21:48, Josh Chamas wrote: > Tige D. Chastain wrote: > >... > > As you can see, I did compile in Apache::Tables. I'll try the older > > version and see what I come up with. I just cannot figure out when the > > mod_perl cannot find the Apache::Table module. Do I need to load

Re: Apache/mod_perl/Apache::ASP TIEHASH problem

2004-03-02 Thread Josh Chamas
Tige D. Chastain wrote: ... As you can see, I did compile in Apache::Tables. I'll try the older version and see what I come up with. I just cannot figure out when the mod_perl cannot find the Apache::Table module. Do I need to load this directly in Apache's httpd.conf file to satisfy a dependenc

Re: Apache/mod_perl/Apache::ASP TIEHASH problem

2004-03-02 Thread Tige D. Chastain
> > > > perl_tie_hash: Can't locate object method "TIEHASH" via package > > "Apache::Table" at /usr/local/lib/perl5/site_perl/5.8.3/Apache/ASP.pm > > line 266. > > Hmmm... maybe your mod_perl does not have Apache::Table support compiled in.

Re: Apache/mod_perl/Apache::ASP TIEHASH problem

2004-03-02 Thread Josh Chamas
ASP.pm line 266. Hmmm... maybe your mod_perl does not have Apache::Table support compiled in. This might have become a problem ever since Apache::ASP 2.55, when a native port to mod_perl2 was done, requiring the use of Apache::Table API. So you might try downgrading to 2.53 or earlier, check out thi

Apache/mod_perl/Apache::ASP TIEHASH problem

2004-03-01 Thread Tige D. Chastain
(0x822ddec)','Global') called at /usr/local/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 273!!Apache::ASP::new('Apache::ASP','Apache=SCALAR(0x822de4c)','/var/www/html/edocbinder/TryBuy/Buy.asp') called at /usr/local/lib/perl5/site_perl/5.8.3/Apache/ASP.pm

RE: Annoying problem POST works, GET does not, please help

2004-02-12 Thread Youngblood, Gregory (SAIC)
or [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 4:47 PM To: Youngblood, Gregory (SAIC) Cc: [EMAIL PROTECTED] Subject: Re: Annoying problem POST works, GET does not, please help Straight from http://www.apache-asp.org/objects.html#%24Request-%3EFo76659178: $Request->Form($name)

Re: Annoying problem POST works, GET does not, please help

2004-02-12 Thread Tim Pushor
hink) although thats not valid ASP.. Tim Youngblood, Gregory (SAIC) wrote: Good afternoon, I'm hoping someone can help me with what has to be a simple problem. This is almost definitely a case of USER ERROR on my part, but it is giving me fits. I want to call a URL, such as http://127.0.0.1/i

Re: Annoying problem POST works, GET does not, please help

2004-02-12 Thread Tim Pushor
at has to be a simple problem. This is almost definitely a case of USER ERROR on my part, but it is giving me fits. I want to call a URL, such as http://127.0.0.1/index.asp?field1=value1&field2=value2, and get the data from the URL. The url is the same as one generated by a form using the GET met

Annoying problem POST works, GET does not, please help

2004-02-12 Thread Youngblood, Gregory (SAIC)
Good afternoon, I'm hoping someone can help me with what has to be a simple problem. This is almost definitely a case of USER ERROR on my part, but it is giving me fits. I want to call a URL, such as http://127.0.0.1/index.asp?field1=value1&field2=value2, and get the data from the URL

Re: Problem With global.asa i think <-- Sorry, im stupid

2003-12-21 Thread Josh Chamas
explodingjam wrote: I am desperately trying to setup a webapp called webtime written in Apache::ASP I have set up and installed mod_perl and Apache::ASP on apache 1.3 and installed the webapp itself. I can see the .asp pages with no embedded code ok, but almost none of the embedded code in the

Re: Problem With global.asa i think <-- Sorry, im stupid

2003-12-20 Thread Dr. Helmut Zeilinger
erl/5.8.1/Apache/ASP.pm line 1208. <-- , /usr/local/lib/perl5/site_perl/5.8.1/Apache/ASP.pm line 1514 It was not picking up the $PATH_INCLUDE string properly. i tried manually setting $PATH_INCLUDE by ading the following line to the start of the index.asp file... $PATH_INCLUDE="include"

Problem With global.asa i think <-- Sorry, im stupid

2003-12-19 Thread explodingjam
Apache/ASP.pm line 1208. <-- > , /usr/local/lib/perl5/site_perl/5.8.1/Apache/ASP.pm line 1514 It was not picking up the $PATH_INCLUDE string properly. i tried manually setting $PATH_INCLUDE by ading the following line to the start of the index.asp file... $PATH_INCLUDE="include"; This

Re: XML - problem with variable scoping

2003-11-03 Thread Fagyal, Csongor
As of v2.45, can work with the XMLSubsPerlArgs setting set to Off. This will become the default one day... ...and that day we can start calling it Apache::JSP :-))) - Csongor - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: XML - problem with variable scoping

2003-11-03 Thread Josh Chamas
Helmut wrote: Hi TIA, correction: or seem not to work, because ASP does not recognize it as variables. You could use As of v2.45, can work with the XMLSubsPerlArgs setting set to Off. This will become the default one day... http://www.apache-asp.org/config.html#XMLSubsPerlA21dba3d7 Per the

Re: XML - problem with variable scoping

2003-11-03 Thread Helmut
ne to embed dynamic content into an HTML page via Apache::ASP. What I need is a simple way to retain the values of the variables between different XML tags within the same page. Something like this: ---TOP OF PAGE--- ---END OF PAGE--- This layout triggers a problem: if I use the strict p

Re: XML - problem with variable scoping

2003-11-03 Thread Helmut
00 luciflatum <[EMAIL PROTECTED]> wrote: Hi all! I am using the XML engine to embed dynamic content into an HTML page via Apache::ASP. What I need is a simple way to retain the values of the variables between different XML tags within the same page. Something like this: ---TOP OF PAGE---

XML - problem with variable scoping

2003-11-02 Thread luciflatum
problem: if I use the strict pragma I can't use the same variables (each my:: function is isolated in scope); if I declare a global variable in my::load_all there are all the usual conflicts between different sessions. Does anybody know how to fix this?

Little problem with sessions.

2003-08-14 Thread Sergio Gonzalez
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hello there. I'm experiencing some problems with some pages with sessions (maybe is the way I programmed it). My startup page (index.asp) asks for a login/password pair validated with a mysql DB. Sometimes when I do in the

Re: Form Problem.

2003-07-21 Thread Thanos Chatziathanassiou
Well, the previous post pretty much posed an interesting question.. Since you're going to verify everything yet again, as the user is moving to purchase, what's the problem with a bad guy playing around with the form a bit ? Anyways, here we go... KUNAL PAREKH wrote: If I make

Re: Form Problem.

2003-07-18 Thread Tim Pushor
Hi, So what is the problem? What are you worried about? What does the badguy have to gain by formulating his own query string? pkunal wrote: All, The situation is this. On my web page "products.asp" I am displaying all the products from my database and allow the user to select th

Re: Form Problem.

2003-07-18 Thread KUNAL PAREKH
instead of GET, so as not to worry > about the amount of > user input (and making it a little more complicated > to ``fabricate'' a > request by hand). The problem with POST and GET method is I will have to name each form variable. This is not possible in my case as I am

Re: Form Problem.

2003-07-18 Thread Thanos Chatziathanassiou
You can try (by personal order of preference): a) setting something completely random in the $Session object in the form's page and checking for its existence in the verify.asp. If it isn't there, reject the data. b) check the HTTP_REFERER and reject if it's not the one You're expecting (the pag

Form Problem.

2003-07-17 Thread pkunal
All, The situation is this. On my web page "products.asp" I am displaying all the products from my database and allow the user to select the quantity he wants to buy. So to make it short: "$itemCode" comes after a query to the database for each item in database. The form looks like this: 0

Re: Standalone CGI Mode in win32 problem

2003-06-19 Thread francesco_pasqualini
52 1291639 Sorry, for the delay thank's Francesco Pasqualini > Francesco Pasqualini wrote: > > hi, > > I need the Standalone CGI Mode in win32 (NT/win2000) (apache 1.3) > > There are two main problems > > > > - It seem that there is a proble

Re: Standalone CGI Mode in win32 problem

2003-03-25 Thread Josh Chamas
Francesco Pasqualini wrote: hi, I need the Standalone CGI Mode in win32 (NT/win2000) (apache 1.3) There are two main problems - It seem that there is a problem in the POST method: the application does not respond (infinite loop). This is visible trying the example http://127.0.0.1/aspcgi/eg

Standalone CGI Mode in win32 problem

2003-03-20 Thread Francesco Pasqualini
hi,I need the Standalone CGI Mode in win32 (NT/win2000) (apache 1.3)There are two main problems- It seem that there is a problem in the POST method: the application does not respond (infinite loop). This is visible trying the examplehttp://127.0.0.1/aspcgi/eg/cgi.htm- All the examples output

Standalone CGI Mode win32 problem

2003-03-19 Thread francesco_pasqualini
hi, I need the Standalone CGI Mode in win32 (NT/win2000) (apache 1.3) There are two main problems - It seem that there is a problem in the POST method, the application does not respond (infinite loop). This is visible trying the example http://127.0.0.1/aspcgi/eg/cgi.htm - All the examples

Re: Cache-Control problem

2003-02-26 Thread Tom Lancaster
Josh, you're right - my header component was setting it to 'public'. Doh! Thanks, Tom On Sun, 2003-02-23 at 16:01, Josh Chamas wrote: > Tom Lancaster wrote: > > Hi, > > > > I'm having some problems trying to set the Cache-Control header using > > Apache::ASP. The only values I can get it to ho

Re: SSI / Filter problem

2003-02-25 Thread Josh Chamas
exlibrismn wrote: Howdy, I am having trouble with controlling the order in which asorted filters are acting on my pages and how Apache::ASP is acting on them. I would be grateful for advice. In order, I am attempting to: 1) Run each page through Apache 2.0 external filters to write virtual i

SSI / Filter problem

2003-02-24 Thread exlibrismn <[EMAIL PROTECTED]>
Howdy, I am having trouble with controlling the order in which asorted filters are acting on my pages and how Apache::ASP is acting on them. I would be grateful for advice. In order, I am attempting to: 1) Run each page through Apache 2.0 external filters to write virtual include statements a

Re: Cache-Control problem

2003-02-23 Thread Josh Chamas
Tom Lancaster wrote: Hi, I'm having some problems trying to set the Cache-Control header using Apache::ASP. The only values I can get it to hold are 'public' and private'. I've tried using $Response->{CacheControl} = 'max-age=1800,no-cache="Set-Cookie"'; and $Response->AddHeader('Cache-Control

Cache-Control problem

2003-02-20 Thread Tom Lancaster
Hi, I'm having some problems trying to set the Cache-Control header using Apache::ASP. The only values I can get it to hold are 'public' and private'. I've tried using $Response->{CacheControl} = 'max-age=1800,no-cache="Set-Cookie"'; and $Response->AddHeader('Cache-Control', 'max-age=1800,no-

Re: Problem with function from file included by 'require functions.pl'

2003-02-19 Thread Josh Chamas
Oleg Kobyakovskiy wrote: Hello everybody, I have a .pl file with 2 function definitions. I include this file in global.asa to use defined functions through: require 'file.pl'; . It works fine. But some time I get the error like: [Wed Feb 19 13:28:01 2003] [error] [asp] [4391] [error] Undefined

Problem with function from file included by 'require functions.pl'

2003-02-19 Thread Oleg Kobyakovskiy
Hello everybody, I have a .pl file with 2 function definitions. I include this file in global.asa to use defined functions through: require 'file.pl'; . It works fine. But some time I get the error like: [Wed Feb 19 13:28:01 2003] [error] [asp] [4391] [error] Undefined subroutine &Apache::ASP:

Re: Problem with global.asa

2003-02-02 Thread Oleg Kobyakovskiy
Hello Josh, Thank you very much. I've removed GlobalPackage from .htaccess and it looks like all work correct now. Thank you one more time. Josh Chamas wrote: Oleg Kobyakovskiy wrote: Hello Everybody, I have next problem: I have 2 sites example.com and admin.example.com. They are

Re: Problem with global.asa

2003-02-02 Thread Josh Chamas
Oleg Kobyakovskiy wrote: Hello Everybody, I have next problem: I have 2 sites example.com and admin.example.com. They are under Apache::ASP both, placed in differert path and each of then has own global.asa file. Sometime when I'm trying to look at admin.example.com it run

Problem with global.asa

2003-02-02 Thread Oleg Kobyakovskiy
Hello Everybody, I have next problem: I have 2 sites example.com and admin.example.com. They are under Apache::ASP both, placed in differert path and each of then has own global.asa file. Sometime when I'm trying to look at admin.example.com it runs the Application_OnStart function

Re: CPAN problem

2003-01-22 Thread Josh Chamas
israel fenor wrote: Hi to all!! I've tried to install Apache::ASP using CPAN. All works fine but when the system try to get Digest::MD5 package can't do it, all messages talks about "File not found"... I believe modern perls ship with Digest::MD5 installed. You can do a quick test to see if

CPAN problem

2003-01-22 Thread israel fenor
Hi to all!! I've tried to install Apache::ASP using CPAN. All works fine but when the system try to get Digest::MD5 package can't do it, all messages talks about "File not found"... The package version is Digest-MD5-2.23.tar.gz and in the CPAN mirror there are Digest-MD5-2.22.tar.gz version.

Re: unknown entity blah - '&' problem

2003-01-09 Thread Peter Galbavy
> $Server->URL may or may not be used in generating URLs for use > in HTML, so will not get this patch. The problem is specific to > rendering & in HTML, not with & in URLs. If you want to escape > & in $Server->URL generated URLs, you might try > >$

Re: unknown entity blah - '&' problem

2003-01-09 Thread Josh Chamas
this patch. The problem is specific to rendering & in HTML, not with & in URLs. If you want to escape & in $Server->URL generated URLs, you might try $Server->HTMLEncode($Server->URL($url, \%params)); You can create a shortcut for this of course in global.asa. For the pat

Re: unknown entity blah - '&' problem

2003-01-09 Thread Peter Galbavy
thanassiou" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "Peter Galbavy" <[EMAIL PROTECTED]> Sent: Thursday, January 09, 2003 9:27 AM Subject: Re: unknown entity blah - '&' problem > Thanos Chatziathanassiou wrote: > > Peter Galbavy wrote: &

Re: unknown entity blah - '&' problem

2003-01-09 Thread Josh Chamas
Thanos Chatziathanassiou wrote: Peter Galbavy wrote: Using the w3c validator, I get 'unknown entity' error for URL generated using $Server->URL(). -- Line 8, column 75: cannot generate system identifier for general entity "session-id" ..." href="/css/style.css?category=misc&session-id=0aa89fea

Re: unknown entity blah - '&' problem

2003-01-08 Thread Thanos Chatziathanassiou
instead of '&' internally ? :-) I don't suppose you can.. ``;'' just works when you construct querystrings yourself. I was hasty in my answer before, so I sent the message before I read this problem was created by SessionQueryParse. Help anyone (Josh ?) ? -

Re: unknown entity blah - '&' problem

2003-01-08 Thread Peter Galbavy
> Actually, you're supposed to say ``&'' instead of plain ``&''. > See also RFC 1738. > You can, however, also use ``;'' as a QueryString delimeter. That's cool - now how do we politely ask Apache::ASP to use ';' instead of '&' internally ? :-) Peter

Re: unknown entity blah - '&' problem

2003-01-08 Thread Thanos Chatziathanassiou
Peter Galbavy wrote: Using the w3c validator, I get 'unknown entity' error for URL generated using $Server->URL(). -- Line 8, column 75: cannot generate system identifier for general entity "session-id" ..." href="/css/style.css?category=misc&session-id=0aa89fea729d35f3cee8cb638927a -- Actua

  1   2   >