Re: Dynamic content that is static
On Fri, 22 Dec 2000, Philip Mak wrote: So, it would probably be more efficient if I had a /src directory and a /html directory. The /src directory could contain my modperl files and a Makefile that knows the dependencies; when I type "make", it will evaluate the modperl files and parse them into plain HTML files in the /html directory. i've had great success with squid in http accelerator mode. we squeezed a factor of 100 in speed with just that. :) however, i have been talking to a few people about something like a mod_makefile. :) -- brian d foy [EMAIL PROTECTED] Perl hacker for hire
offer of resources for Take23
i don't think my responses to yesterday's discussion made it to the list, so here's a summary: Smith Renaud or Perl Mongers can donate rack space, infrastructure, and other support to a new, canonical mod_perl site. we can either provide a box (which we then control, sysadmin and policy-wise), or put a donated box in our rack (which someone else could control). we can also supply a squid box in front of either of those. we have the things you would expect (backup power, backups, etc) and if someone needs something else (console server, reboot server, etc) that is not a huge problem. Matt mentioned that take23 is now behind a 64k leased line, so i'm sure that the dual T3s leading out of our facility (which are shared with all of our other things) might look attractive. ;) if this offer is attractive i can even try to get someone to donate a box if the idea of a sponsor link or some such is okay. and, if no-one likes any of that, we could at least mirror it. ;) -- brian d foy [EMAIL PROTECTED] Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985
Re: SSL / Apache / .vtml
On Fri, 15 Dec 2000, Mike Buglioli wrote: Do you think it's because they are generating dynamic .vtml pages which could be causing them some problems ? mlb i don't knwo what they have done. i doubt that it is either an SSL, database, or mime-type problem. in my experience, and i've done some fairly wierd stuff, it didn't matter to my application if it was happening over SSL. whether SSL was used or not didn't affect anything and i could turn it off or on without a problem. it sounds like a design problem, although i wouldn't rule out a lack of documentation reading either. brian d foy wrote: On Thu, 14 Dec 2000, Mike Buglioli wrote: I got this message from a vendor as to why they couldn't do SSL on their site...or that they couldn't, what does Apache say ? Utilizing SSL with Apache is indeed a very simple modification to Apache when there is not database parsing happening in the same process. both of those work fine together. perhaps they are having other issues. -- brian d foy [EMAIL PROTECTED] Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985 -- brian d foy [EMAIL PROTECTED] Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985
Re: Mod_perl tutorials
On Wed, 13 Dec 2000, Andrew Ho wrote: I'm thinking somebody should probably take it upon themselves to spearhead this effort, and perhaps set up another list for potential volunteers to coordinate. Lots of open source projects are short on useful documentation Perl Mongers can host, mirror, or otherwise support whomever gets blessed as the caretaker of the canonical mod_perl site. all the normal shell things are available and we're setting up a squid caching server and the normal CVS things to go along with that. anything else that is needed can be arranged. how fast we can do this is only limited by how much stuff we can move into some new racks before everyone takes off for the holidays ;) -- brian d foy [EMAIL PROTECTED] Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985
RE: Mod_perl tutorials
On Thu, 14 Dec 2000, Matt Sergeant wrote: On Wed, 13 Dec 2000, Ed Park wrote: Anyways, take23 is very fast for now. Don't expect that to last too long - its behind a 64Kb leased line. But its fast because it delivers everything gzipped - so there's an argument for gzipped content. wanna use my T3? ;) -- brian d foy [EMAIL PROTECTED] Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985
Re: Mod_perl tutorials
On 13 Dec 2000, Randal L. Schwartz wrote: And admittedly, the perl.org/pm.org/perl.com split is never clear to most visitors (or even to the people who maintain it). I'm just afraid of another arbitrary demarcation like this. i assume you mean the www hosts since you are talking about web sites. the domains themselves do a lto more than jsut web thingys. it's very clear to me and i think it is clear to mjd, and i wouldn't say that it is unclear to most visitors. some visitors will always be confused about a website no matter what it is or how much you tell them about it. :) the trouble is what people think a particular website should do and what it actually does. -- brian d foy [EMAIL PROTECTED] Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985
RE: does notes() work with custom_response()?
On Thu, 14 Sep 2000, Geoffrey Young wrote: i was using: - my $notes = $r-notes; - my $pnotes = $r-pnotes; you suggested: + my $notes = $r-prev-notes || $r-notes; + my $pnotes = $r-prev-pnotes || $r-pnotes; neither of those worked for me. did they work for you? -- brian d foy [EMAIL PROTECTED] Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985
Logging real HTTP status
let's suppose that i want to change the HTTP status to be something other than i'm going to return from the handler(). is there a way to get the logging phase to log the status that the user-agent got rather than the return value of the handler()? here's my small script which illustrates what i'm trying to do: sub mod_perl_error { # a request object is the first argument # in handler, return mod_perl_error($r); $_[0]-status( SERVER_ERROR ); $_[0]-content_type('text/html'); $_[0]-send_http_header; $_[0]-print("There was an oopsie."); return DONE; # the log ends up with status 200 } -- brian d foy [EMAIL PROTECTED] Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985
Re: [OT] amp; in URLs (was: Re: Templating System)
On Fri, 28 Jul 2000, Michael Hanisch wrote: I really believe my thoughts outlined in my original post are correct - but right now I am starting to worry... Personally I would attribute the described problem to a bug in IE4 - even if it parses the URI for entities, it shouldn't find a "sect;" since the trailing semi-colon is missing. (Aargh, feeling like a smart-ass again ;-) Alan Flavell has an excellent article on this problem, although i seemed to have misplaced the URL. there's also a note in Nick Kew's CGI FAQ. see the CGI Meta FAQ for details (http://www.smithrenaud.com/public/CGI_MetaFAQ.html) -- brian d foy [EMAIL PROTECTED] Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985
Re: [OT] amp; in URLs (was: Re: Templating System)
On Fri, 28 Jul 2000, brian d foy wrote: On Fri, 28 Jul 2000, Michael Hanisch wrote: Personally I would attribute the described problem to a bug in IE4 - even if it parses the URI for entities, it shouldn't find a "sect;" since the Alan Flavell has an excellent article on this problem, although i seemed to have misplaced the URL. i've found that URL amongst all of the other excellent articles from Alan. it had a different title than i remembered. http://ppewww.ph.gla.ac.uk/~flavell/www/formgetbyurl.html -- brian d foy [EMAIL PROTECTED] Director of Technology, Smith Renaud, Inc. 875 Avenue of the Americas, 2510, New York, NY 10001 V: (212) 239-8985