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 > >$Server->HTMLEncode($Server->URL($url, \%pa

Re: Compress::Zlib

2003-01-09 Thread Josh Chamas
Csongor Fagyal wrote: Hi, This might be a bit off-topic. I am using Compress::Zlib in Apache::ASP to give me compressed content baceuse I am transfering lots of XML data periodically. Now the question: how can I fetch zipped content using Perl? If I simply use LWP (say LWP::Request::Common),

Re: unknown entity blah - '&' problem

2003-01-09 Thread Josh Chamas
Peter Galbavy wrote: And $Server->URL() ??? If it is a small patch or one line fix (for the two) then just those - I am trying to run a live server with as few 'upgrades' as possible :) $Server->URL may or may not be used in generating URLs for use in HTML, so will not get this patch. The pro

Compress::Zlib

2003-01-09 Thread Csongor Fagyal
Hi, This might be a bit off-topic. I am using Compress::Zlib in Apache::ASP to give me compressed content baceuse I am transfering lots of XML data periodically. Now the question: how can I fetch zipped content using Perl? If I simply use LWP (say LWP::Request::Common), will it automatically t

Re: unknown entity blah - '&' problem

2003-01-09 Thread Peter Galbavy
And $Server->URL() ??? If it is a small patch or one line fix (for the two) then just those - I am trying to run a live server with as few 'upgrades' as possible :) Peter - Original Message - From: "Josh Chamas" <[EMAIL PROTECTED]> To: "Thanos Chatziathanassiou" <[EMAIL PROTECTED]> Cc: <

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: Error When Trying To Display ASP script.

2003-01-09 Thread Josh Chamas
Jeffrey L. Edgett wrote: I am running Red Hat 8.0, Apache 2.0.40, mod_perl, and Apache::ASP. I installed Apache::ASP using make and it compiled successfully with no errors. However, when I try to view any web page in ASP I receive an error similar to that one: Undefined subroutine &Apache::

Re: Virtual host interference?

2003-01-09 Thread Josh Chamas
Csongor Fagyal wrote: Hi, I have faced this interesting problem several times. Here is what happens: I have virtualhost A and virtualhost B both running ASP. Virtualhost A has a custom Perl module loaded using a simle 'use'. Now if I have a syntax error in A, it will create an Internal Server e

Re: Security implemention question

2003-01-09 Thread Josh Chamas
Richard Curtis wrote: >Can anyone either point out any major problems with this approach, or --- Sorry for taking so long to reply, but I had email "issues". Thanks for this suggestion - it sounds like it will probably be just what I need. I have one further question though. Is there a list som

Re: $Response->{ContentType} on error

2003-01-09 Thread Josh Chamas
Philip Mak wrote: Suggestion: If Apache::ASP prints an error page due to Perl dying, I think it should automatically set $Response->{ContentType} back to text/html. Otherwise, the error page might not be seen by the client if the script has already changed it to 'application/whatever' or somethin