Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: webls

by zentara (Archbishop)
on Sep 28, 2002 at 15:12 UTC ( [id://201452]=note: print w/replies, xml ) Need Help??


in reply to webls

Hi, I'm using the latest Mozilla browser, and when I click on your example link, I get "you have chosen to download a file of type: application/x-perl from http://groove.jpj.net/perl". Same thing for your Projects link. Is my browser screwed up, or what?

Replies are listed 'Best First'.
Re: Re: webls
by jpj (Novice) on Sep 28, 2002 at 17:22 UTC

    Or maybe not. With CGI::Pretty instead of CGI, performance of the server was drastically reduced. With CGI, stating a directory of 1440 items takes ~3s to display in a browser, minimal impact on the server, but simply changing to CGI::Pretty caused the process to exhaust all resources on the server stating the same directory.

    Can someone educate me on why this might be?

    Also, if the script exists in /perl and has a .pl extension, some Mozilla based browsers display the HTML code, but not the page (only for the cached pages) while all other browsers are fine, including other versions of Mozilla. If the script has a .cgi or no extension, all is well. I'm not quite sure what to make of that.

    -JPJ

Re: Re: webls
by jpj (Novice) on Sep 28, 2002 at 15:25 UTC
    Hrm. I'm using Mozilla 1.0.1 on Linux and everything works fine. I've tested with IE5/6 (Windoze/MacOS X), and Opera and had no issues. I see by looking at my server logs that others don't seem to be having issues. Try a screenshot -JPJ
Re: Re: webls
by jpj (Novice) on Sep 28, 2002 at 15:45 UTC
    Looks like it might be a bug in Mozilla 1.1 WRT long lines.

    Changing  use CGI qw/:standard *table start_ul/; to  use CGI::Pretty qw/:standard *table start_ul/; seems to have fixed that issue on Mozilla 1.1, without adversely affecting other browsers.

    {sigh}

    -JPJ

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://201452]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-04-25 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found