apachecon: BOF?
Do we want to have a mod_perl BOF at ApacheCon? or related? I've just logged into apachecon system to see this option to request a BOF. what about gizmos? mod_perl underwear/socks anybody? Laser link (Geoff?) or some new guys? _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Help with Apache::SubProcess needed.
Help with Apache::SubProcess needed. I have tried the example for running a long duration task from Mod Perl, as found in the performance tuning guide, but I get the following error: [error] Can't locate object method "cleanup_for_exec" via package "Apache" at /usr/local/apachessl/handlers/wrapper_handler line 22 I am using the script right off the page and I have downloaded (from CPAN) and installed SubProcess. any ideas? Thanks in advance. Steve
RE: apachecon: BOF?
-Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 3:52 AM To: mod_perl list Subject: apachecon: BOF? Do we want to have a mod_perl BOF at ApacheCon? or related? I've just logged into apachecon system to see this option to request a BOF. what about gizmos? mod_perl underwear/socks anybody? Laser link (Geoff?) or some new guys? sorry, no shirts this year. I'm going to have to use threats and/or bribery to get the company to even pay the conference fees. It's just not the same company anymore *sigh* --Geoff _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
mod_vhost_alias / ProxyPassReverse problem
Hi, I have a mod_perl backend listening on *:81 and a proxy in front of it listening on *:80, both using mod_vhost_alias configured with VirtualDocumentRoot /www/site/%0 i.e. www.mydomain.com will have /www/site/www.mydomain.com as it's document root. The frontend has IfModule !mod_perl.c RewriteEngine On ... RewriteRule \.(jpg|png|swf|css|html|txt|cgi)$ - [last] RewriteRule ^/(.*)$ http://%{HTTP_HOST}:81/$1 [proxy] /IfModule Now this all works fine except when a client side redirect using meta http-equiv tags occurs, in which case the hostname part in the url holds a :81 suffix, effectively bypassing the proxy. Now, the problem is I cannot use ProxyPassReverse because it doesn't eat hostnames as its first argument. What's the advisable thing here? Should I consider hacking around in src/main/util_uri.c? Can this be fixed by a fixup handler (maybe replacing r-uri_components-port?) Or should I just drop mod_vhost_alias on the backend and start using perl sections to do a directory scan on /www/site and setup all my VirtualHosts that way? Has anybody done this before? Ime
Squid and mod_perl. Is it a good company?
What proxy server is better Squid or apache_proxy and that will work with mod_perl? Do you have any suggestions or comments? Mark
Re: Squid and mod_perl. Is it a good company?
They are very good and friendly company. I'm using this bundle over two years under high load. All things works fine. I can send you all configuration tips and comments, if you have any problems. Vasily Petrushin +7 (095) 2508363 http://www.interfax.ru mailto:[EMAIL PROTECTED]
[DIGEST] mod_perl digest 02/04/01
-- mod_perl digest February 4, 2001 - February 10, 2001 -- Recent happenings in the mod_perl world... Features o mod_perl status o module announcements o mailing list highlights o news o links mod_perl status o mod_perl - stable: 1.25 (released January 29, 2001) [1] - development: 1.25_01-dev [2] o Apache - stable: 1.3.17 (released January 29, 2001) [3] - development: 1.3.18-dev [4] o Perl - stable: 5.6 (released March 23, 2000) [5] - development: 5.7 [6] module announcements o OpenInteract Web Application Server - an extensible web application framework using mod_perl and the Template Toolkit as its core technologies [7] mailing list highlights o External redirects, internal redirect, Location tags, URI RFCs explained. It's all here in a heated debate [8] [9] o This article [10] by Doug on using the Apache::DB interactive debugger surfaced this week [11] o Apache::URI seems to segfault when calling $uri-unparse without explicitly setting $uri-scheme('http') first [12] o Just a reminder that $r-print($foo) will automatically dereference $foo, so there's no need for $r-print($$foo) [13] o There are a few good examples of configuring mod_perl with Perl sections here [14] news o Netcraft mod_perl statistics are out for January [15] mod_perl: 2,001,011 Domains, 225,123 IP Addresses links o The Apache/Perl Integration Project [16] o mod_perl documentation [17] o mod_perl modules on CPAN [18] o mod_perl homepage [19] o mod_perl news and advocacy [20] o mod_perl list archives [21] [22] happy mod_perling... --Geoff [EMAIL PROTECTED] -- [1] http://perl.apache.org/dist/ [2] http://perl.apache.org/from-cvs/modperl/ [3] http://www.apache.org/dist/ [4] http://dev.apache.org/from-cvs/apache-1.3/ [5] http://www.perl.com/pub/language/info/software.html#stable [6] http://www.perl.com/pub/language/info/software.html#devel [7] http://forum.swarthmore.edu/epigone/modperl/wergoiwherm [8] http://forum.swarthmore.edu/epigone/modperl/munsmonthun [9] http://forum.swarthmore.edu/epigone/modperl/smangrelvol [10] http://www.perlmonth.com/features/mod_perl/mod_perl.html?issue=2 [11] http://marc.theaimsgroup.com/?l=apache-modperlm=98167734026230w=2 [12] http://forum.swarthmore.edu/epigone/modperl/twimgerdgrol [13] http://forum.swarthmore.edu/epigone/modperl/chulblerchol [14] http://forum.swarthmore.edu/epigone/modperl/bilthersmeh [15] http://marc.theaimsgroup.com/?l=apache-modperl-cvsm=98162404332308w=2 [16] http://perl.apache.org [17] http://perl.apache.org/#docs [18] http://www.cpan.org/modules/by-module/Apache/ [19] http://www.modperl.com [20] http://www.take23.org [21] http://forum.swarthmore.edu/epigone/modperl/ [22] http://marc.theaimsgroup.com/?l=apache-modperlr=1w=2
trouble with path_info
I spent two days trying to make my "virtual document" PerlHandler work from various locations, which I had thought to be really easy, by simply looking at the path_info to determine what virtual document to bring up. No go. In just about every cases that I could do, I have $r-path_info identical to $r-uri! I freaked out after a while, thinking I must have been doing something wrong here, so I downloaded the Apache::TreeBrowser module from the modperl.com site, installed it as the sole handler in my server (no translation handler or *anything* else). I installed it just like in the Eagle book. Where on http://www.modperl.com/tree/ I see this: URI = /tree/ Path information =/ On my server (http://foobar/virtual) I see this: URL = /virtual Path information =/virtual What the heck??? I was expecting path_info to be blank there, then getting a redirect to /virtual/ (and having just a slash in there). I think that I know what I might be doing wrong though: I'm running Apache 1.3.14 and mod_perl 1.24_01 from the Red Hat "RawHide", on a Red Hat Linux 7.0. 1.24_01 is a development version, right? :-) In any case, this might be a problem developers might want to hear about... -- Pierre Phaneuf http://www3.sympatico.ca/pphaneuf/
RE: trouble with path_info
-Original Message- From: Pierre Phaneuf [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 9:35 AM To: [EMAIL PROTECTED] Subject: trouble with path_info I spent two days trying to make my "virtual document" PerlHandler work from various locations, which I had thought to be really easy, by simply looking at the path_info to determine what virtual document to bring up. No go. In just about every cases that I could do, I have $r-path_info identical to $r-uri! you may want to check out this thread: http://marc.theaimsgroup.com/?t=9790472865w=2r=1 and $r-location() HTH --Geoff
Re: trouble with path_info
Geoffrey Young wrote: I spent two days trying to make my "virtual document" PerlHandler work from various locations, which I had thought to be really easy, by simply looking at the path_info to determine what virtual document to bring up. No go. In just about every cases that I could do, I have $r-path_info identical to $r-uri! you may want to check out this thread: http://marc.theaimsgroup.com/?t=9790472865w=2r=1 and $r-location() Actually, I want to do the exact *inverse* than this guy! :-) But I agree that stripping off $r-location() from $r-uri() would give something workable, and that's what I have been doing, but the thing is that $r-path_info() should *already* work, and none of this should be needed! Apache::TreeBrowser *doesn't work* here, because of this problem, for example. I could put that $r-location() workaround in it, but it would be just that, a workaround, because on Doug's web server, it works. -- Pierre Phaneuf http://www3.sympatico.ca/pphaneuf/
Antwort: Repost: Anyone using virtual server for mod_perl hosts?
Hi, I'm using a similar service at services.superb.net since last Friday (thanx Martin :-), USD79/month, Linux. They already had a Apache 1.3.9 with mod_perl 1.21 and Perl 5.005_03 + mod_frontpage + mod_php + mod_ssl. That all seemed to work, but I quickly uninstalled it and compiled my own perl/mod_perl/apache - Apache Toolbox is great... :-) I'm happy with this virtual box and had no problems. Michael, http://j-e-b.net Datum: 30.01.2001 19:49 An:"[EMAIL PROTECTED]" [EMAIL PROTECTED] Betreff: Repost: Anyone using "virtual server" for mod_perl hosts? Nachrichtentext: As many people understood I mean some kind of virtual host service, I would like to restate my question. There are companies (Verio at least) offering a 'virtual machine' running a virtualized OS. Verio is offering NetBSD and Solaris. They have a seriouly large iron where many virtual machines run, each virtual machine gets a share of CPU, HD and RAM resources, an at least an IP address. In there is a full OS, and you get to be root for about $150 a month. It's a cheap alternative to co-location, a middle ground between a good virtual hosting service and owning a box. You can run your own MTA, compile whatever the hell you want, etc, although they offer a bunch of services out-of-the-box and have a lot of useful --if annoying-- cron jobs rotating your logs, monitoring the temperature of your daemons, feeding the dog and whatnot. Of course, you get to share resources with a bunch of other customers. It seems a great environment to set up a low traffic / highly customized server, like apache+mod_perl. Now, I know and understand the services they offer, but I have never actually used one with mod_perl. Now, has anyone tried this services? Do I have to worry about anything? Why didn't Stas list them in his article? -- they don't appear in the Guide either -- Do they have a fundamental or practical flaw I can't see? Martin
Re: Squid and mod_perl. Is it a good company?
"MW" == Marek W [EMAIL PROTECTED] writes: MW What proxy server is better Squid or apache_proxy and that will work with MW mod_perl? Do you have any suggestions or comments? The only answer to your question is "it depends". You need to be more specific as to your application needs before you can get meaningful advice.
[OT] Re: Repost: Anyone using virtual server for mod_perl hosts?
Malcolm Beattie writes: 50 boxes: no problem. 200 boxes: 5 racks or 1U, getting messy. 1000 boxes: admin nightmare. Plus you don't get much too many built-in reliability features with a 1U box. Now consider that you can run *thousands* of separate Linux images on a S/390 box which consists of just one or two frames (i.e. the size of one or two racks). It'll The slides from my talk "IBM Mainframe Hardware from a Linux Hacker's Viewpoint" are now available at http://users.ox.ac.uk/~mbeattie/newcastle2001/index.html There may well be a few errors in the facts and figures (mainly because most of the reason for the talk was gathering together large numbers of facts and figures from disparate sources). However, the attendees seemed to like it, despite the fact that I had to rush through part of it due to lack of time. --Malcolm -- Malcolm Beattie [EMAIL PROTECTED] Unix Systems Programmer Oxford University Computing Services
caching, proxying, and specific requirements..
Don't know if squid or Proxypass has the ability to do what I'm looking for, but maybe someone can provide guidance.. Say (for example) we have a page called /customer/reports/PHILADELPHIA, which has a list of things on it, one authenticated user can see X number of things of the total list, another user can see the whole list Is it possible to, basically cache a page on a per user basis...
Re: mod_vhost_alias / ProxyPassReverse problem
For what it is worth, I once again fixed my own problem by hacking http_core.c on the backend: [root@nobel src]# diff -U 6 ../build/apache_1.3.14/src/main/http_core.c http_core_hack-1.3.14.c --- ../build/apache_1.3.14/src/main/http_core.c Tue Oct 10 19:33:09 2000 +++ http_core_hack-1.3.14.c Mon Feb 12 17:02:53 2001 @@ -758,16 +758,17 @@ API_EXPORT(char *) ap_construct_url(pool *p, const char *uri, request_rec *r) { unsigned port = ap_get_server_port(r); const char *host = ap_get_server_name(r); -if (ap_is_default_port(port, r)) { +// XXX HACK: get rid of the port number on redirects +// if (ap_is_default_port(port, r)) { return ap_pstrcat(p, ap_http_method(r), "://", host, uri, NULL); -} -return ap_psprintf(p, "%s://%s:%u%s", ap_http_method(r), host, port, uri); +//} +// return ap_psprintf(p, "%s://%s:%u%s", ap_http_method(r), host, port, uri); } Dunno if this will break other things, it doesn't seem to in my setup, and for the moment I'm happy. Ime
Re: trouble with path_info
Pierre Phaneuf ([EMAIL PROTECTED]) said something to this effect on 02/12/2001: I spent two days trying to make my "virtual document" PerlHandler work from various locations, which I had thought to be really easy, by simply looking at the path_info to determine what virtual document to bring up. No go. In just about every cases that I could do, I have $r-path_info identical to $r-uri! If you are installing your handler as such: Location / SetHandler perl-script PerlHandler My::Package /Location Then what you are seeing is correct. What does the relevent httpd.conf snippet look like? (darren) -- Most rock journalism is people who can't write interviewing people who can't talk for people who can't read. -- Frank Zappa
Problem with libapreq on RH 6.2
I have seen mails flying around about a problem on RH using RPMs for Apache/mod_perl and libapreq. So I decided to build Apache (1.3.17), mod_perl (1.25) and libapreq (0.31_03) from source. All installed without any suggestion of a problem. However, when I try to run Apache (configured to use OpenInteract 1.05) I get the following error: OpenInteract::Startup::require_module (236) --require error: Apache::Request : Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/Request/Request.so' for module Apache::Request: libapreq.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169, MOD chunk 4. at /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 65535 OpenInteract::Startup::require_module (236) --require error: Apache::Cookie : Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/Cookie/Cookie.so' for module Apache::Cookie: libapreq.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169, MOD chunk 5. at /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 65535 Does anyone have any idea why this is happening? TIA Andy "Talkie Toaster: Given that God is infinite, and that the Universe is also infinite, would you like a toasted tea cake?"
PerlRequire
Hey there. I have a line in my httpd.conf: PerlRequire /path/to/startup.pl In startup.pl I have this line: use lib '/path/to/module'; This is not being added to my @INC like it should. Any thoughts? __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
RE: PerlRequire
Make sure that your PerlRequire comes BEFORE you actually want to 'use' the module in your httpd.conf Alternately, you could unshift(@INC, '/path/to/module') in your startup.pl -Original Message- From: Aaron Schlesinger [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 10:07 AM To: [EMAIL PROTECTED] Subject: PerlRequire Hey there. I have a line in my httpd.conf: PerlRequire /path/to/startup.pl In startup.pl I have this line: use lib '/path/to/module'; This is not being added to my @INC like it should. Any thoughts? __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
RE: PerlRequire
I was under the impression that once I ran the PerlRequire script, if I did the use lib command, all my other mod_perl scripts called on that server would have access to that library?! Aaron --- "Liddick, Scott" [EMAIL PROTECTED] wrote: Make sure that your PerlRequire comes BEFORE you actually want to 'use' the module in your httpd.conf Alternately, you could unshift(@INC, '/path/to/module') in your startup.pl -Original Message- From: Aaron Schlesinger [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 10:07 AM To: [EMAIL PROTECTED] Subject: PerlRequire Hey there. I have a line in my httpd.conf: PerlRequire /path/to/startup.pl In startup.pl I have this line: use lib '/path/to/module'; This is not being added to my @INC like it should. Any thoughts? __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Re: PerlRequire
Aaron Schlesinger wrote: I have a line in my httpd.conf: PerlRequire /path/to/startup.pl In startup.pl I have this line: use lib '/path/to/module'; This is not being added to my @INC like it should. try use lib '/path/to'; use module; Ernest -- Yours sincerely Mit freundlichen Gren Ernest Lergon VIRTUALITAS Artists online, Fine Arts online, Poets online http://www.virtualitas.com/
Re: trouble with path_info
darren chamberlain wrote: In just about every cases that I could do, I have $r-path_info identical to $r-uri! If you are installing your handler as such: Location / SetHandler perl-script PerlHandler My::Package /Location Then what you are seeing is correct. What does the relevent httpd.conf snippet look like? Just like in the eagle book (page 143): Location /virtual SetHandler perl-script PerlHandler Apache::TreeBrowser /Location And I'm totally unable to get what you see on page 137. :-( I will try with a non-development mod_perl now. :-) -- "Unix gives you just enough rope to hang yourself -- and then a couple of more feet, just to be sure." -- Eric Allman
Re: trouble with path_info
Pierre Phaneuf wrote: Then what you are seeing is correct. What does the relevent httpd.conf snippet look like? Just like in the eagle book (page 143): Location /virtual SetHandler perl-script PerlHandler Apache::TreeBrowser /Location And I'm totally unable to get what you see on page 137. :-( I will try with a non-development mod_perl now. :-) I just tried going back to the RPMs that came with Red Hat 7.0, no go either (Apache 1.3.12, mod_perl 1.24). -- "MSDOS didn't get as bad as it is overnight -- it took over ten years of careful development." -- [EMAIL PROTECTED]
Re: [OT] Re: Repost: Anyone using virtual server for mod_perl hosts?
Hi guys, On Mon, 12 Feb 2001, Malcolm Beattie wrote: you can run *thousands* of separate Linux images on a S/390 How much, to the nearest order of magnitude, does a S/390 cost? 73, Ged.
path_info in my perl handler
Did some more testing: $ENV{PATH_INFO} from a CGI script is okay, and so is $r-path_info() from an Apache::Registry script. Why does the PerlHandler one doesn't work right then? -- "The 3 great virtues of a programmer: laziness, impatience and hubris." -- Larry Wall
RE: Debug perl package in Apache
On Sun, 11 Feb 2001, Wang, Pin-Chieh wrote: First I can't put the IfDefine PERLDB block at the beginning of the http.conf (I got httpd.conf syntax error when I run httpd -X -DPERLDB; Then I move the block to the end of the http.conf file re-run the command then I get % ./bin/httpd -X -DPERLDB [notice] Apache::DB initialized in child 23415 You can only call this after you have loaded modperl and such. So it might be related to that. the system is waiting for my call the request. But when I call http://localhost/server-status I still don't got the debug prompt. here I called server-status instead of perl-status. I guess I don't understand how Debuger is configured into perl-status when http://localhost/perl-status is called. can you share some light on this? This is because you can only use Apache::DB to debug perl code. mod_status.c (i.e. server-status) is written in C, so you will need to use a C debugger such as gdb or dbx. See the earlier thread on that for some useful hints. Hope that helps, -- Sander van Zoest [[EMAIL PROTECTED]] Covalent Technologies, Inc. http://www.covalent.net/ (415) 536-5218 http://www.vanzoest.com/sander/
RE: Accessing Global Configuration Directives
Apache-server will work - but it will always return the base server (so if you are using virtual hosts it will return a different server from $r-server). As long as you are not using virtual hosts you should be ok. sterling On Mon, 12 Feb 2001, Stathy Touloumis wrote: Kinda, need to access these directives outside of a handler. Will see how well it works creating a server object through the server method directly (Apache-server). Thanks, not sure quite what you're asking, but if you're looking for a global PerlSetVar/PerlAddVar type of thing - well, as of 1.21_01 i believe you can do it - as long as you have access to Apache::Server. Like in a child init handler: PerlAddVar foo bar PerlAddVar foo bar2 PerlChildInitHandler myChildInitHandler::init and then in the init handler do something like sub init { my $s = shift; my @values = $s-dir_config-get('foo'); } @values will be [bar, bar2] is that what you're lookin for?
Re: mod_vhost_alias / ProxyPassReverse problem
| Use the following config: | Listen 81 | Port 80 | In the presence of a Listen directive, the Port directive acts like | ServerName, i.e. it's what the server calls itself regardless of the | name that other people use to get to it. OK, thanks a lot, that does the trick. I tried that earlier today, but I overlooked an explicit ServerName directive somewhere else in httpd.conf, overruling mod_vhost_alias... Thanks again! Ime
Re: Slow $r-print
Erdmut Pfeifer wrote: do you get a high CPU load during those 4 seconds? NO! Even if i request 10 documents at the same time, there is no significant load (except the Postgres load and some DBI stuff in the beginning before printing). hmmm! :( Ciao Alvar
Sporadic server errors
I am having problems with my email client and aplogize if this is the second email such as this that I have sent. Any help would be greatly appreciated. We have been experiencing server errors that show up one second and go away the next. I understand that this is probably due to there being several mod_perl processes running, but sometimes the problem goes away altogether for a long time, only to resurface later. To further complicate the matter, we have two servers with the same configurations. On the live server, the errors are frequent, and on the devel server they have only happened once or twice. One of the errors complains about Apache::Constants: "NOT_IMPLEMENTED" is not exported by the Apache::Constants module at /home/sites/your.studentloanfunding.com/your-lib/eAward/eAwardCustomizeLetter.pm line 81 "DOCUMENT_FOLLOWS" is not exported by the Apache::Constants module at /home/sites/your.studentloanfunding.com/your-lib/eAward/eAwardCustomizeLetter.pm line 81 ... line 81 is: use Apache::Constants qw(:common :response); Here is another error: Modification of a read-only value attempted at /usr/lib/perl5/5.00503/Exporter.pm line 40. BEGIN failed--compilation aborted at /home/sites/your.studentloanfunding.com/your-lib/eAward/GenerateOtherSections.pm line 56. line 56 is: use POSIX qw(strftime); Both errors only happen sometimes, and don't show up other times, hardly ever showing up on the devel server. If anyone has experienced similar problems or knows what might be causing these errors, I would love to hear about it. fyi, SERVER_SOFTWARE: Apache/1.3.12 (Unix) mod_perl/1.21 running on linux Thanks a lot, Craig Muth
Re: Slow $r-print
Hi, Michael Bacarella wrote: Hmmm, slow name resolution? no, because the time is dependent on the length of the document! Ciao Alvar When I get really stumped, I whip out strace/ktrace. I don't know how I used to get along without it. It's time consuming, but 95% of the time it will tell you exactly what you need to know. hmmm, with mod_perl? Ciao Alvar
Re: Sporadic server errors
Craig Muth wrote: Here is another error: Modification of a read-only value attempted at /usr/lib/perl5/5.00503/Exporter.pm line 40. BEGIN failed--compilation aborted at /home/sites/your.studentloanfunding.com/your-lib/eAward/GenerateOtherSections.pm line 56. line 56 is: use POSIX qw(strftime); Both errors only happen sometimes, and don't show up other times, hardly ever showing up on the devel server. Hmm, how about http://www.bitmechanic.com/mail-archives/modperl/Dec1997/0199.html - Gerd. begin:vcard n:Kortemeyer;Gerd tel;fax:(517) 432-2175 tel;work:(517) 432-5468 x-mozilla-html:FALSE url:http://www.lite.msu.edu/kortemeyer/ org:LITE Lab;DSME MSU version:2.1 email;internet:[EMAIL PROTECTED] title:Instructional Technology Specialist adr;quoted-printable:;;123 North Kedzie Labs=0D=0AMichigan State University;East Lansing;MI;48824;USA fn:Gerd Kortemeyer end:vcard
Re: PerlRequire
On Mon, 12 Feb 2001, Aaron Schlesinger wrote: I have a line in my httpd.conf: PerlRequire /path/to/startup.pl In startup.pl I have this line: use lib '/path/to/module'; This is not being added to my @INC like it should. Any thoughts? How do you know it isn;t being added? Try putting this in your httpd.conf, right after the PerlRequire: Perl print join (':', @INC); /Perl - Perrin
Re: Sporadic server errors
That certainly sheds some light on the situation. Thanks a lot:) --Craig On Mon, 12 Feb 2001, Gerd Kortemeyer wrote: Hmm, how about http://www.bitmechanic.com/mail-archives/modperl/Dec1997/0199.html - Gerd. Craig Muth wrote: Here is another error: Modification of a read-only value attempted at /usr/lib/perl5/5.00503/Exporter.pm line 40. BEGIN failed--compilation aborted at /home/sites/your.studentloanfunding.com/your-lib/eAward/GenerateOtherSections.pm line 56. line 56 is: use POSIX qw(strftime); Both errors only happen sometimes, and don't show up other times, hardly ever showing up on the devel server. Hmm, how about http://www.bitmechanic.com/mail-archives/modperl/Dec1997/0199.html - Gerd.
Re: Threading on Win32
Alistair I believe this is because the Apache and mod_perl are threaded but the perl is not (optional/experimental). So, the mod_perl serializes the use of perl. Someday, it will be safe to use the options in the perl makefile to turn it on. I'm on NT and 2000 as well and wish I wasn't. Chuck Hi. I'm running Apache 1.3.14, mod_perl 1.24_02 on Windows 2000 sp1, but I've seen this problem on other Win32 platforms.Basically, no matter how many "threads" are set up in httpd.conf, when a mod_perl URL is retreived, my apache will not service any other URLs until the mod_perl URL is finished. Apache on its own is OK, I can (say) download two 4MB files simultaneously, but as soon as any mod_perl process gets going, all new URLS "hang" until it completes. If a long download is going on and the mod_perl process starts, then the long download carries on AND the mod_perl one works, but any new URL doesn't get serviced, whether mod_perl or not.I'm running with the pre-built ActiveState perl (5.6.0; build 618), and the pre-built mod_perl at ftp://theoryx5.uwinnipeg.ca/pub/other/ (made by Randy Kobes), but I've seen this with a perl and a mod_perl that I've compiled myself, running on NT4.0. Is this a known problem, and are there any workarounds? I'd be grateful for any info.Cheers,Alistair
trouble with path_info
I'm really stumped with that one. How come Apache::Registry gets the right information and I don't??? I tried doing the exact same thing, to no avail. I built the smallest possible testcase I could (attached to this message, just fix the /home/pp/tmp in httpd.conf and startup.pl into wherever you unpack this, if you want to try it out). Ideally, http://localhost/perl/test/foo and http://localhost/test/foo would both say the same thing ("path_info: /foo"). On my machine, they don't. http://localhost/virtual/ should also say "Path information =/" at the bottom. On my machine, it says "Path information =/virtual/". Help!!! -- "Back in 1997, I grepped over a huge number of messages and collected some damned lies, I mean, statistics, on what kind of In-Reply-To headers they contained." -- Jamie W. Zawinski mod_perl-trouble.tar.gz
Re: mod_vhost_alias / ProxyPassReverse problem
I was going to suggest having the backend server listen on localhost:80, with the proxying server listening on public addres:80, then the redirects from either would be to port 80. This suggestion of Tony's certainly seems like a cleaner solution though. (Plus, I learned something I didn't know about this interaction of Listen and Port directives -- always "a good thing" (tm) ;^) On Mon, 12 Feb 2001, Ime Smits wrote: | Use the following config: | Listen 81 | Port 80 | In the presence of a Listen directive, the Port directive acts like | ServerName, i.e. it's what the server calls itself regardless of the | name that other people use to get to it. OK, thanks a lot, that does the trick. I tried that earlier today, but I overlooked an explicit ServerName directive somewhere else in httpd.conf, overruling mod_vhost_alias... Thanks again! Ime =-=-=-=-=-=-=-=-=-=- My God! What have I done? -=-=-=-=-=-=-=-=-=-= Steve Reppucci [EMAIL PROTECTED] | Logical Choice Software http://logsoft.com/ |
Re: Apache FileMan
At 02:25 PM 2/11/2001 +, you wrote: George, Just had a peek at your FileMan demo. Looks pretty neat. I too was about to extend/rewrite Apache::AutoIndex to do some similar things. A few questions Does it use Apache::AutoIndex at all or is it a total rewrite ? There was a lot to do, so I did an extensive rewrite and tried to maintain the existing functionality. What versions are you using ? I'm running perl 5.6.0, mod_perl 1.25 and apache 1.3.17. I just tried using AutoIndex and while it built OK, I got a child seg fault (11) when I tried to access a directory. Whats your setup ? I am similar but at Apache 1.3.14 and mod_perl 1.24_01. Try setting the following directive and let me know if you have better success. FileManOptions language 0 I will be updating Apache and mod_perl soon, but I also had seg faults when using language. However, I have been updating the code to include more Apache::Language support, so I will be looking at this more. How extensible is FileMan ? (I'm about to get the source). The thing I wanted to do over AutoIndex was have control over the Description field for each file. I want this to be a link to an RDF search engine I'm thinking about, so each file would have a description like ( e.g. dir = /bar/baz ) I have not over ridden any of the functions within the module, but with the latest code, I made the arguments to the internal menu commands have all the same format. My goal is to make it so the module OO in the future, but I doubt that it is there today. The description field works fine today, however. Just try the classic autoindex directives, such as AddDescription "HTML text" .html .htm Also a couple other points/suggestions. - I was thinking about having the directory path across the top (where you have "Directory index of x/y/z " ) into links also, like Directory index of a href='/x/' x /a / a href='/y/' y /a / z which would allow rapid movement around directory tree instead of popping up via parent. I am a little slow with suggestions, (it just a personal thing). Do you mean to have a go to root link? (Kind of like a go to top for a long page.) Or are you suggesting dynamic book marks or some thing alone those lines? - I'd like the option to apply a CSS link to the directory page What is a CSS link? - Is it because its a demo or a fundamental aspect of the module that when you go to the directory itself as a URL you don't get the FileMan menu structure / form, i.e there is a distinction between /demo/foo/ and /demo/.XFM/foo#root. Could the FileMan page be made the Directory Index or am I missing something ? The module uses the fake .XFM directory so that you can provide authentication when accessing the root. In other words, lets say you wanted to set FileMan up to access http://www.website.com/users/john You would have to access http://www.website.com/users/john/.XFM in order to activate the file manager functionality. This way if you require authentication, you will need to apply it to http://www.website.com/users/john/.XFM, that way hopefully only john will have access to his files. Anyway I might install your latest version and give it a go. I will have an update available in about two days.
alarm w/in mod_perl?
does apache swallow SIGALRM during its normal operation? can't find any reference to alarm or ALRM in eagle; doesn't mean i havn't missed something... using: sub blah { recalculate time-based items that change hourly; alarm $next_time_to_run - time; $next_time_to_run; } sig{ALRM} = \blah; gets me nowhere, so far as i can tell. messages printed to STDERR get output then the sub is first run; reducing the time to 10 seconds doesn't generate 6 records / minute. i can imaging apache using ALRM for its own purposes, leaving me stuck with $cutoff = blah if( time $cutoff ) every time i pass through the routine (blech). -- Steven Lembark 2930 W. Palmer St. Chicago, IL 60647 [EMAIL PROTECTED] 800-762-1582
Re: alarm w/in mod_perl?
"SL" == Steven Lembark [EMAIL PROTECTED] writes: SL does apache swallow SIGALRM during its normal operation? SL can't find any reference to alarm or ALRM in eagle; doesn't SL mean i havn't missed something... go to the guide, and type "alarm" in the first search box (the nextrieve search) and then read the first result document, near the bottom.
Re: General Question
If youre looking for a solution, i suggest putting in a little javascript on the form.. FORM blah onSubmit="return submitme();" ... script language="JavaScript" !-- var clicked = 0; function submitme() { if(clicked == 0) { clicked = 1; } else { return false; } return true; } //-- /script as for the other processes, its been my experience that they complete and die off after apache is done... ie lagging your server to hell.. depends on your configuration though Michael Wojcikiewicz Web Application Developer E-Mail: [EMAIL PROTECTED] ICQ: 944221 On Sun, 11 Feb 2001, Buddy Lee Haystack wrote: Situation: I press the submit button on a form 55 times in 15 seconds. Each request would normally return data to the browser within ten seconds due to the time it takes the database query to execute. Question: What happens to the 54 earlier processes, since I submitted the request 55 times? How do Apache mod_perl handle the processes to nowhere? Thanks! -- ***NOTE*** This entire message is confidential, and protected by copyright. If you are not the intended recipient, you are hereby notified that any review, dissemination or archiving of this message is strictly prohibited. ** www.RentZone.org
ANNOUNCE: HTML::Embperl 1.3.1
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-1.3.1.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/HTML-Embperl-1.3.1.tar.gz size: 328406 bytes md5: e58778ddd2e56ef129220a416818a525 The main improvements in this release is in EmbperlObject, which has made more stable and reliable. Also an tutorial for EmbperlObject has been added to the release. Embperl gives you the power to embed Perl code in your HTML documents and the ability to build your Web site out of small reusable objects in an object-oriented style. You can also take advantage of all the usual Perl modules, (including DBI for database access) use their functionality and easily include their output in your web pages. Embperl has several features which are especially useful for creating HTML, including dynamic tables, form field processing, URL escaping/unescaping, session handling, and more. See http://perl.apache.org/embperl/ (english) or http://www.ecos.de/embperl/ (german) for more information. Enjoy Gerald Changes since 1.3.0: - Added new Introduction to EmbperlObject written by Neil Gunton. See perldoc IntroEmbperlObject - Added new Tips and Tricks pod written by Neil Gunton. See perldoc TipsAndTricks. Anybody is invited to send me their own Tips and Tricks! - Added object and isa parameters to Execute, which allows to get an object reference for a certain file and set the Perl inherence hierachive. Ideas from Neil Gunton and Angus Lees. - Corrected a problem that leads to very strange errors when an Embperl sub is called from an in memory source (that is passed via the Execute input parameter). Spotted by Neil Gunton. - Make EmbperlObject work better with relative paths and drive letters on Windows. Based on a patch from Freddy Vulto. - Fixed a problem with the cache key, which could cause that the same file is compiled within different packages. - Fixed a problem that Embperl are in a wired state after an file upload has been interrupted. Spotted by Dirk Lutzebaeck. - Fixed a problem set @ISA is not correctly setup in case a file is compiled in the same package as the base file of EmbperlObject. Spotted by Neil Gunton. - Fixed problem with including ../foo.html in EmbperlObject. Spotted by Neil Gunton. - Added warning if @ISA is not correctly setup/corrupted. - Fixed a SIGSEGV that occurs when an reference to undef is returned from a [+ +] inside a URL. - Added warning to Makefile.PL, if File::Spec 0.82 isn't installed, which is required by EmbperlObject. - Fixed "use of undefined value" warning in make test - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925131 WWW:http://www.ecos.de Fax: +49 6133 925152 -
Re: General Question
Yes, I remember Gunther recommending the javascript approach a while back, and I think it is a good solution, but I just can't stand javascript. I always surf with it turned off, because it frequently causes my browser to hang. It's a personal hang-up. I was really interested in just learning how the server handled it, and Stas squared me away. My fear was that it would cause my server to hang, which was my usual experience under Windows NT, but my Linux box just slows to a crawl, and doesn't hang. I can live with that. :) Have a good night! Mike Wojcikiewicz wrote: If youre looking for a solution, i suggest putting in a little javascript on the form.. FORM blah onSubmit="return submitme();" ... script language="JavaScript" !-- var clicked = 0; function submitme() { if(clicked == 0) { clicked = 1; } else { return false; } return true; } //-- /script as for the other processes, its been my experience that they complete and die off after apache is done... ie lagging your server to hell.. depends on your configuration though Michael Wojcikiewicz Web Application Developer E-Mail: [EMAIL PROTECTED] ICQ: 944221 On Sun, 11 Feb 2001, Buddy Lee Haystack wrote: Situation: I press the submit button on a form 55 times in 15 seconds. Each request would normally return data to the browser within ten seconds due to the time it takes the database query to execute. Question: What happens to the 54 earlier processes, since I submitted the request 55 times? How do Apache mod_perl handle the processes to nowhere? Thanks!
cvs commit: modperl/lib/Apache test.pm
sbekman 01/02/12 01:04:42 Modified:lib/Apache test.pm Log: fixing case typo in doc Revision ChangesPath 1.22 +1 -1 modperl/lib/Apache/test.pm Index: test.pm === RCS file: /home/cvs/modperl/lib/Apache/test.pm,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- test.pm 2000/12/20 06:34:20 1.21 +++ test.pm 2001/02/12 09:04:40 1.22 @@ -517,7 +517,7 @@ =head1 NAME -Apache::Test - Facilitates testing of Apache::* modules +Apache::test - Facilitates testing of Apache::* modules =head1 SYNOPSIS
cvs commit: modperl-site/embperl CVS.pod.1.html CVS.pod.cont.html Changes.pod.1.html Changes.pod.10.html Changes.pod.11.html Changes.pod.12.html Changes.pod.13.html Changes.pod.14.html Changes.pod.15.html Changes.pod.16.html Changes.pod.17.html Changes.pod.18.html Changes.pod.19.html Changes.pod.2.html Changes.pod.20.html Changes.pod.21.html Changes.pod.22.html Changes.pod.23.html Changes.pod.24.html Changes.pod.25.html Changes.pod.26.html Changes.pod.27.html Changes.pod.28.html Changes.pod.29.html Changes.pod.3.html Changes.pod.30.html Changes.pod.31.html Changes.pod.32.html Changes.pod.33.html Changes.pod.34.html Changes.pod.35.html Changes.pod.36.html Changes.pod.37.html Changes.pod.38.html Changes.pod.39.html Changes.pod.4.html Changes.pod.40.html Changes.pod.41.html Changes.pod.42.html Changes.pod.43.html Changes.pod.44.html Changes.pod.45.html Changes.pod.5.html Changes.pod.6.html Changes.pod.7.html Changes.pod.8.html Changes.pod.9.html Changes.pod.cont.html Embperl.pod.1.html Embperl.pod.10.html Embperl.pod.11.html Embperl.pod.12.html Embperl.pod.13.html Embperl.pod.14.html Embperl.pod.15.html Embperl.pod.16.html Embperl.pod.17.html Embperl.pod.18.html Embperl.pod.2.html Embperl.pod.3.html Embperl.pod.4.html Embperl.pod.5.html Embperl.pod.6.html Embperl.pod.7.html Embperl.pod.8.html Embperl.pod.9.html Embperl.pod.cont.html EmbperlObject.pod.1.html EmbperlObject.pod.2.html EmbperlObject.pod.3.html EmbperlObject.pod.4.html EmbperlObject.pod.5.html EmbperlObject.pod.6.html EmbperlObject.pod.cont.html Faq.pod.1.html Faq.pod.2.html Faq.pod.3.html Faq.pod.4.html Faq.pod.5.html Faq.pod.6.html Faq.pod.7.html Faq.pod.8.html Faq.pod.9.html Faq.pod.cont.html Features.pod.1.html INSTALL.pod.1.html Intro.pod.1.html Intro.pod.10.html Intro.pod.2.html Intro.pod.3.html Intro.pod.4.html Intro.pod.5.html Intro.pod.6.html Intro.pod.7.html Intro.pod.8.html Intro.pod.9.html Intro.pod.cont.html Intrors.pod.1.html Intrors.pod.2.html Intrors.pod.3.html Intrors.pod.4.html Intrors.pod.cont.html Mail.pod.1.html Mail.pod.2.html Mail.pod.cont.html NEWS.pod.1.html Sites.pod.1.html index.html
richter 01/02/12 01:18:55 Modified:embperl CVS.pod.1.html CVS.pod.cont.html Changes.pod.1.html Changes.pod.10.html Changes.pod.11.html Changes.pod.12.html Changes.pod.13.html Changes.pod.14.html Changes.pod.15.html Changes.pod.16.html Changes.pod.17.html Changes.pod.18.html Changes.pod.19.html Changes.pod.2.html Changes.pod.20.html Changes.pod.21.html Changes.pod.22.html Changes.pod.23.html Changes.pod.24.html Changes.pod.25.html Changes.pod.26.html Changes.pod.27.html Changes.pod.28.html Changes.pod.29.html Changes.pod.3.html Changes.pod.30.html Changes.pod.31.html Changes.pod.32.html Changes.pod.33.html Changes.pod.34.html Changes.pod.35.html Changes.pod.36.html Changes.pod.37.html Changes.pod.38.html Changes.pod.39.html Changes.pod.4.html Changes.pod.40.html Changes.pod.41.html Changes.pod.42.html Changes.pod.43.html Changes.pod.44.html Changes.pod.45.html Changes.pod.5.html Changes.pod.6.html Changes.pod.7.html Changes.pod.8.html Changes.pod.9.html Changes.pod.cont.html Embperl.pod.1.html Embperl.pod.10.html Embperl.pod.11.html Embperl.pod.12.html Embperl.pod.13.html Embperl.pod.14.html Embperl.pod.15.html Embperl.pod.16.html Embperl.pod.17.html Embperl.pod.18.html Embperl.pod.2.html Embperl.pod.3.html Embperl.pod.4.html Embperl.pod.5.html Embperl.pod.6.html Embperl.pod.7.html Embperl.pod.8.html Embperl.pod.9.html Embperl.pod.cont.html EmbperlObject.pod.1.html EmbperlObject.pod.2.html EmbperlObject.pod.3.html EmbperlObject.pod.4.html EmbperlObject.pod.5.html EmbperlObject.pod.6.html EmbperlObject.pod.cont.html Faq.pod.1.html Faq.pod.2.html Faq.pod.3.html Faq.pod.4.html Faq.pod.5.html Faq.pod.6.html Faq.pod.7.html Faq.pod.8.html Faq.pod.9.html Faq.pod.cont.html Features.pod.1.html INSTALL.pod.1.html Intro.pod.1.html Intro.pod.10.html Intro.pod.2.html Intro.pod.3.html Intro.pod.4.html Intro.pod.5.html Intro.pod.6.html Intro.pod.7.html Intro.pod.8.html Intro.pod.9.html Intro.pod.cont.html Intrors.pod.1.html Intrors.pod.2.html Intrors.pod.3.html Intrors.pod.4.html Intrors.pod.cont.html Mail.pod.1.html Mail.pod.2.html Mail.pod.cont.html NEWS.pod.1.html Sites.pod.1.html index.html Log: Embperl Webpages - Changes Revision ChangesPath 1.18 +1 -1 modperl-site/embperl/CVS.pod.1.html Index: CVS.pod.1.html === RCS file: /home/cvs/modperl-site/embperl/CVS.pod.1.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- CVS.pod.1.html2000/12/04 08:27:00 1.17 +++ CVS.pod.1.html2001/02/12 09:18:34 1.18 @@ -167,7 +167,7 @@ p[a href="" HOME/a]nbsp;nbsp; [a href="CVS.pod.cont.html"CONTENT/a]nbsp;nbsp; [a href="CVS.pod.cont.html"PREV (CVS - Content)/a]nbsp;nbsp; br font color="#808080"___br -HTML::Embperl - Copyright (c) 1997-2000 Gerald Richter / a href="http://www.ecos.de/"ecos gmbh/a +HTML::Embperl - Copyright (c) 1997-2001 Gerald Richter / a href="http://www.ecos.de/"ecos gmbh/a /font/p /blockquote /blockquote 1.13 +1 -1 modperl-site/embperl/CVS.pod.cont.html Index: CVS.pod.cont.html === RCS file: /home/cvs/modperl-site/embperl/CVS.pod.cont.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- CVS.pod.cont.html 2000/12/04 08:27:02 1.12 +++ CVS.pod.cont.html 2001/02/12 09:18:34 1.13 @@ -47,7 +47,7 @@ !-- INDEX END -- hrp[a href="" HOME/a]nbsp;nbsp; [a href="CVS.pod.cont.html"CONTENT/a]nbsp;nbsp; [a href="CVS.pod.1.html"NEXT (CVS - Access to the Embperl CVS development tree)/a]nbsp;nbsp; br font
cvs commit: modperl-site/embperl Changes.pod.46.html IntroEmbperlObject.pod.1.html IntroEmbperlObject.pod.2.html IntroEmbperlObject.pod.3.html IntroEmbperlObject.pod.4.html IntroEmbperlObject.pod.5.html IntroEmbperlObject.pod.6.html IntroEmbperlObject.pod.7.html IntroEmbperlObject.pod.8.html IntroEmbperlObject.pod.9.html IntroEmbperlObject.pod.cont.html Recordset.pod.1.html Recordset.pod.10.html Recordset.pod.11.html Recordset.pod.12.html Recordset.pod.13.html Recordset.pod.14.html Recordset.pod.15.html Recordset.pod.2.html Recordset.pod.3.html Recordset.pod.4.html Recordset.pod.5.html Recordset.pod.6.html Recordset.pod.7.html Recordset.pod.8.html Recordset.pod.9.html Recordset.pod.cont.html TipsAndTricks.pod.1.html TipsAndTricks.pod.2.html TipsAndTricks.pod.3.html TipsAndTricks.pod.4.html TipsAndTricks.pod.5.html TipsAndTricks.pod.6.html TipsAndTricks.pod.7.html TipsAndTricks.pod.8.html TipsAndTricks.pod.cont.html
richter 01/02/12 01:21:26 Added: embperl Changes.pod.46.html IntroEmbperlObject.pod.1.html IntroEmbperlObject.pod.2.html IntroEmbperlObject.pod.3.html IntroEmbperlObject.pod.4.html IntroEmbperlObject.pod.5.html IntroEmbperlObject.pod.6.html IntroEmbperlObject.pod.7.html IntroEmbperlObject.pod.8.html IntroEmbperlObject.pod.9.html IntroEmbperlObject.pod.cont.html Recordset.pod.1.html Recordset.pod.10.html Recordset.pod.11.html Recordset.pod.12.html Recordset.pod.13.html Recordset.pod.14.html Recordset.pod.15.html Recordset.pod.2.html Recordset.pod.3.html Recordset.pod.4.html Recordset.pod.5.html Recordset.pod.6.html Recordset.pod.7.html Recordset.pod.8.html Recordset.pod.9.html Recordset.pod.cont.html TipsAndTricks.pod.1.html TipsAndTricks.pod.2.html TipsAndTricks.pod.3.html TipsAndTricks.pod.4.html TipsAndTricks.pod.5.html TipsAndTricks.pod.6.html TipsAndTricks.pod.7.html TipsAndTricks.pod.8.html TipsAndTricks.pod.cont.html Log: - New documenation Revision ChangesPath 1.1 modperl-site/embperl/Changes.pod.46.html Index: Changes.pod.46.html === HTML HEAD TITLE0.10beta Jan 18 1997/TITLE LINK REV="made" HREF="mailto:[EMAIL PROTECTED]" /HEAD BODY bgcolor="#FF" blockquote blockquote table tr td valign=bottom align=center font size=6strong A NAME="0_10beta_Jan_18_1997"0.10beta Jan 18 1997/a/strong/font /tdtd rowspan=2 align=right/td /trtrtd valign=top align=center img src="line.jpg" alt="" WIDTH="732" HEIGHT="35" nbsp;nbsp;nbsp;nbsp;/td/tr/table [a href="" HOME/a]nbsp;nbsp; [a href="Changes.pod.cont.html"CONTENT/a]nbsp;nbsp; [a href="Changes.pod.45.html"PREV (0.10b-beta Jan 23 1997)/a]nbsp;nbsp; brhr P PRE- first public beta release /PRE p[a href="" HOME/a]nbsp;nbsp; [a href="Changes.pod.cont.html"CONTENT/a]nbsp;nbsp; [a href="Changes.pod.45.html"PREV (0.10b-beta Jan 23 1997)/a]nbsp;nbsp; br font color="#808080"___br HTML::Embperl - Copyright (c) 1997-2001 Gerald Richter / a href="http://www.ecos.de/"ecos gmbh/a /font/p /blockquote /blockquote /td/tr/table/body /html /BODY /HTML 1.1 modperl-site/embperl/IntroEmbperlObject.pod.1.html Index: IntroEmbperlObject.pod.1.html === HTML HEAD TITLEIntroduction/TITLE LINK REV="made" HREF="mailto:[EMAIL PROTECTED]" /HEAD BODY bgcolor="#FF" blockquote blockquote table tr td valign=bottom align=center font size=6strong A NAME="Introduction"Introduction/a/strong/font /tdtd rowspan=2 align=right/td /trtrtd valign=top align=center img src="line.jpg" alt="" WIDTH="732" HEIGHT="35" nbsp;nbsp;nbsp;nbsp;/td/tr/table [a href="" HOME/a]nbsp;nbsp; [a href="IntroEmbperlObject.pod.cont.html"CONTENT/a]nbsp;nbsp; [a href="IntroEmbperlObject.pod.cont.html"PREV (Introduction to EmbperlObject - Content)/a]nbsp;nbsp; [a href="IntroEmbperlObject.pod.2.html"NEXT (Getting Started)/a]nbsp;nbsp; br UL LIA href="IntroEmbperlObject.pod.1.html#Motivation_Constructing_Modular"Motivation: Constructing Modular Websites/A /UL hr P This tutorial is intended as a complement to the Embperl documentation, not a replacement. We assume a basic familiarity with Apache, mod_perl, and Perl, and the Embperl documentation. No prior experience with EmbperlObject is assumed. The real purpose here is to give a clearer idea of how EmbperlObject can help you to build large websites. We give example code which could serve as a starting template for your own projects, and hints about best practices which have come out of real experience using the toolkit. As always, there is more than one way to do it! P Since EmbperlObject is an evolving tool, it is likely that these design patterns will evolve over time, and it is recommended that the reader check back on the Embperl website for new versions from time to time. P HR H2img src="sq.gif" width="16" height="16" alt="-" A NAME="Motivation_Constructing_Modular"Motivation: Constructing Modular Websites/A/H2 P Embperl is a tool which allows you to embed Perl code in your HTML