Prolem with scripts running under Apache:RegistryLoader

2002-03-07 Thread pawelp

I have a code (not mine) that work fine witout Apache:RegistryLoader
- problem is that every httpd process has ~30 MB. After using
Apache:RegistryLoader process is 5 MB + 20 MB in shared mem.

But than new problem appered: when work without RegLoader I have
one connection do our Sybase database per process. Now I have only
ONE connection (database handle - $dbh - is global) within all
processes. I think this leads to my problem: database connection is
being corrupted after couple of minutes (Invalid packet header,
Unknown marker etc)

Rewriting the could is rather not possible (~10.000 lines - not mine),
so I looking for some connection polling solution (or sth else).

Does anybody could help me.

Pawe³ Piecuch



Re: Urgent: Can we get compiled codes(class files in java) in perl like in java

2002-03-07 Thread Tom Brown

By 'compiled code ... just like that in Java' do you mean byte code?
You may want to look at
http://perlmonks.org/index.pl?lastnode_id=864node_id=76685
which I found by searching for 'compiled' at perlmonks.org.

Your client is making a strange request. Most people put a higher
value on source code than object code, and mod_perl makes source
execute
as quickly as object code, on average.

Side note: please wrap your lines at something like 70 characters.


On Thu, Mar 07, 2002 at 11:48:51PM +0530, A.C.Sekhar wrote:
 Hi all ,
I need a help. My requirement is like this, we are developing one portal site 
in perl5(mod_perl)-apache-linux. our client don't want the perl source code. He want 
only the compiled code. Is it possible to give the compiled code in perl just like 
that in Java? How can we do that, plz help us in this regard and tell me what to do 
and how to do? This is a bit urgent...
 
 Thanks and Regards
 A C Sekhar
 
-- 
mailto:[EMAIL PROTECTED]
http://www.ece.utexas.edu/~thecap/
28 70 20 71 2C 65 29 61 9C B1 36 3D D4 69 CE 62 4A 22 8B 0E DC 3E



modperl@apache.org is now modperl@perl.apache.org

2002-03-07 Thread Ask Bjoern Hansen


[EMAIL PROTECTED] is now [EMAIL PROTECTED]  The old
addresses should still work; but please use the new ones.

If you change any mentions on webpages and such; please always use
[EMAIL PROTECTED] instead of the posting address.

Please let me know if you notice anything odd or broken related to
this.  Thanks! :-)


 - ask

-- 
ask bjoern hansen, http://ask.netcetera.dk/   !try; do();





Re: mod_perl training companies?

2002-03-07 Thread Miroslav Madzarevic


A young, startup company of 15 local people (believers) is doing traning and
development on mod_perl, web and system administration (Linux). We are
located in Yugoslavia, Belgrade but we also work with people and companies
from other countries (Canada, Germany, Cyprus, USA). Much of our expirience
comes from this mailing list, perl books and jobs we've worked on abroad. We
got a lot from open source community and we're giving it back.

Prices are very low since our country living standard is very low and there
are not many perl jobs around here, unfortunatelly.
We respect all the clients we have.

Our biggest accomplishment is in progress, since we've given a chance of
assisting in moving old cgi-bin applications to mod-perl for
www.cleverform.com (British company, rewiewed in January's edition of PC
Magazine). I hope in time to come you'll be able to put this site in Powered
by mod-perl section.

These days we applied for Belgrade Perl Mongers since the two grops from Yu
reported on pm seem that either 1) don't have a website on or 2) not to have
any
members

You can reach us at http://www.modperldev.com (a website we're making to
serve open community).

-
Best regards,

Miroslav Madzarevic, Senior Perl Programmer
[EMAIL PROTECTED]
Mod Perl Development http://www.modperldev.com
Telephone: +381 64 1193 501
jamph

$_=,,.,,.,,,.,,,.,,,..,,.,,,.,.,,,;
s/\s//gs;tr/,./05/;my(@a,$o,$i)=split//;$_=DATA;tr/~`'^/0-4/;map{$o
.=$a[$i]+$_;$i++}split//;@a=$o=~m!...!g;map{print chr}@a; __DATA__
`~^`~~``^`~`~`^``~`~``''~^'`~^``'``^```~^``'```'~`~




Re: mod_perl training companies?

2002-03-07 Thread Stas Bekman

Miroslav Madzarevic wrote:
 A young, startup company of 15 local people (believers) is doing traning and
 development on mod_perl, web and system administration (Linux). We are
 located in Yugoslavia, Belgrade but we also work with people and companies
 from other countries (Canada, Germany, Cyprus, USA). Much of our expirience
 comes from this mailing list, perl books and jobs we've worked on abroad. We
 got a lot from open source community and we're giving it back.
 
 Prices are very low since our country living standard is very low and there
 are not many perl jobs around here, unfortunatelly.
 We respect all the clients we have.
 
 Our biggest accomplishment is in progress, since we've given a chance of
 assisting in moving old cgi-bin applications to mod-perl for
 www.cleverform.com (British company, rewiewed in January's edition of PC
 Magazine). I hope in time to come you'll be able to put this site in Powered
 by mod-perl section.
 
 These days we applied for Belgrade Perl Mongers since the two grops from Yu
 reported on pm seem that either 1) don't have a website on or 2) not to have
 any
 members
 
 You can reach us at http://www.modperldev.com (a website we're making to
 serve open community).

Thanks Miroslav

What's the real name of the company? may be it's just me, but I don't 
think it's smart to call your company modperl development. Let's say I 
want to refer to your company, consider:

*** there is this modperl development company in Belgrade, they are very 
good.

--- Which company you are talking about

*** the modperl development company of course!

--- but what company are you talking about?

... two hours later ...

--- sorry, I still don't know what company you are talking about.

*** the modperl company!!! Aarrrgg

Hope you get the idea ;)

_
Stas Bekman JAm_pH  --   Just Another mod_perl Hacker
http://stason.org/  mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/




Can anyone recommend a good flavour of Cookie?

2002-03-07 Thread Jeff

Please forgive a mod_perl wannabie [aka woza.PHP4.user]

I have googled two differing flavoured cookies in the
mod_perl recipe library:
  Apache::Cookie
  Apache::RequestNotes

and of course, there is the 'Why not hack the HTTP_COOKIE 
env all by your lonesome?' peppermint flavour too!

So which is it folks? Please vote for your favourite
flavour of cookie for poor woza.PHP4.user

Thanks in advance!

Jeff.

PS Any kind Debian soul might also include the name of the 
.deb containing said flavour?

PPS Not too keen on the taste of hysterical raisins.





Re: [OT] Can anyone recommend a good flavour of Cookie?

2002-03-07 Thread Marcel Weber

I prefer Chips Ahoi chocolate chips cookies, but the really chunky ones;-)

(sorry I could not help it...)

Marcel


Jeff wrote:
 Please forgive a mod_perl wannabie [aka woza.PHP4.user]
 
 I have googled two differing flavoured cookies in the
 mod_perl recipe library:
   Apache::Cookie
   Apache::RequestNotes
 
 and of course, there is the 'Why not hack the HTTP_COOKIE 
 env all by your lonesome?' peppermint flavour too!
 
 So which is it folks? Please vote for your favourite
 flavour of cookie for poor woza.PHP4.user
 
 Thanks in advance!
 
 Jeff.
 
 PS Any kind Debian soul might also include the name of the 
 .deb containing said flavour?
 
 PPS Not too keen on the taste of hysterical raisins.
 
 
 
 
 






Perl script for Cobalt Cube 3

2002-03-07 Thread Thomas Hanson

I am trying to make 2 perl scripts for our cube3 since we are trying to
automate the add user and delete user administration.

So far I have found perl scripts to add users and groups, delete users and
groups but not to add or delete mail aliases.
Those scripts use these modules :
Cobalt::user
Cobalt::group

I found that there is a Cobalt::mail  module too, and figure I need to use
that one too.

Where can I find som info on these modules and how to use them?
And can anyone give me any pointers on what else I might need (I have never
programmed perl before, but there is always a first time).

Thanks

Thomas



Re: Virtual locations in mod_perl

2002-03-07 Thread Ernest Lergon

Milo Hyson wrote:
 
 [snip]
 handler ... virtual location (i.e. one that does not directly
 map to anything in the server's filesystem).
 [snip]


Hi Milo,

that's easy. This is an anonymized excerpt of httpd.conf for a
multilanguage shop. None of the named locations exists on the server:

VirtualHost *
ServerName www.myshop.xxx
ServerAlias *.myshop.xxx
ServerAlias myshop.xxx
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/myshop/public_html
CustomLog /home/myshop/log/access_log combined
ErrorLog /home/myshop/log/error_log
ScriptAlias /cgi-bin/ /home/myshop/public_html/cgi-bin/

# This delivers the main page:

LocationMatch ^(/|/index|/de|/de/|/de/index)$
SetHandler  perl-script
PerlSetVar  Languagede
PerlHandler MyShop::Index
/LocationMatch

# This delivers catalogue pages:

Location /de/catalog
SetHandler  perl-script
PerlSetVar  Languagede
PerlHandler MyShop::Catalog
/Location

# Detailed view of articles:

Location /de/zoom
SetHandler  perl-script
PerlSetVar  Languagede
PerlHandler MyShop::Zoom
/Location

# A search form (In/Out):

Location /de/search
SetHandler  perl-script
PerlSetVar  Languagede
PerlHandler MyShop::Search
/Location

# and more...

# Same in English:

LocationMatch ^(/|/index/en|/en/|/en/index)$
SetHandler  perl-script
PerlSetVar  Languageen
PerlHandler MyShop::Index
/LocationMatch


# and as above...

/VirtualHost


Hope, that helps.

Ernest


-- 

*
* VIRTUALITAS Inc.   *  *
**  *
* European Consultant Office *  http://www.virtualitas.net  *
* Internationales Handelszentrum *   contact:Ernest Lergon  *
* Friedrichstraße 95 *mailto:[EMAIL PROTECTED] *
* 10117 Berlin / Germany *   ums:+49180528132130266 *
*




Re: Can anyone recommend a good flavour of Cookie?

2002-03-07 Thread Geoffrey Young

Jeff wrote:
 
 Please forgive a mod_perl wannabie [aka woza.PHP4.user]
 
 I have googled two differing flavoured cookies in the
 mod_perl recipe library:
   Apache::Cookie

Apache::Cookie is a nice interface for cookies that is specific to the mod_perl 
environment.  it
parallels CGI::Cookie, except it is a C implementation so is a bit faster

   Apache::RequestNotes

is a wrapper around Apache::Cookie (among other things)

 
 and of course, there is the 'Why not hack the HTTP_COOKIE
 env all by your lonesome?' peppermint flavour too!

eeew, don't do that.  the whole point of Apache::Cookie, CGI::Cookie (and CPAN in 
general) is to
abstract out these things into modular components that are tried and true.  using 
Apache::Request or
CGI.pm for parsing GET and POST parameters (instead of reading from STDIN or 
$ENV{QUERY_STRING}) is
also the preferred way.

Recipes 3.5 and 3.7 in the mod_perl cookbook should be of some help.

welcome to mod_perl!  :)

--Geoff
plug
http://www.modperlcookbook.org/
/plug



Re: Document Caching

2002-03-07 Thread Rafiq Ismail (ADMIN)

On Wed, 6 Mar 2002, Rasoul Hajikhani wrote:
 Robert Landrum wrote:
  #startup.pl
 
  open(FILE,/path/to/tmpl);
  $MY::TEMPLATE .= while(FILE);
  close(FILE);
 Thanks... But I use Template Toolkit to generate a dynamic file. How
 would the above code work in that situation?!
Not how I'd do it, although I'm pretty sure that TT2 has it's own caching
mechanism, however in answer to this 'particular question' could you not
overload TT's service object to use the preloaded instantiation similar,
or more specialised than the one above. (SEE ALSO man Template::Service
..probably) :)

fiq


btw Apache::Template does let you control caching of templates in memory.




Re: Perl script for Cobalt Cube 3

2002-03-07 Thread darren chamberlain

Quoting Thomas Hanson [EMAIL PROTECTED] [Mar 07, 2002 07:36]:
 I am trying to make 2 perl scripts for our cube3 since we are
 trying to automate the add user and delete user administration.
 
 So far I have found perl scripts to add users and groups,
 delete users and groups but not to add or delete mail aliases.
 Those scripts use these modules :
 Cobalt::user
 Cobalt::group
 
 I found that there is a Cobalt::mail  module too, and figure I
 need to use that one too.
 
 Where can I find som info on these modules and how to use them?
 And can anyone give me any pointers on what else I might need
 (I have never programmed perl before, but there is always a
 first time).

Can't you just open up the modules and read the source code?
Let perl tell you where they are:

  perl -MCobalt::user -MCobalt::group -MCobalt::mail -e 'print map Cobalt::$_ = 
$INC{Cobalt/${_}.pm}\n, qw(user group mail)'

(darren)

-- 
Laziness is often mistaken for patience.



Re: mod_perl training companies?

2002-03-07 Thread Rich Bowen

On Wed, 6 Mar 2002, Stas Bekman wrote:

 Rich Bowen wrote:
  On Tue, 5 Mar 2002, Stas Bekman wrote:
 
 
 I'm compiling a list of companies giving mod_perl training for our new
 mod_perl site. Currently I have only:
 
 http://training.gbdirect.co.uk/courses/linux/customized_and_bespoke.html
 
 If you know of other companies please send me the URL of the page
 advertising the mod_perl courses.
 
 
  My company, Cooper McGregor does a mod_perl training course. Our
  training page is located at http://coopermcgregor.com/training/  The
  course outline for the mod_perl course should be put up there today,
  since, for some reason, the web site guy did not have a copy of it
  before.

 Thanks Rich!
 I also forgot to ask you to tell me the covered regions. e.g. London
 only, UK only, Europe, World Wide... to help potential customers
 minimize their research efforts.

At the moment, it is mainly just me doing the training. I will, however
travel anywhere, so I suppose I would say that I am primarily based in
the US, but will do training world wide.

Our training facility is in central Kentucky, but we also do on-site at
customer locations.

-- 
http://www.CooperMcGregor.com/
Apache Support and Training




Re: Can anyone recommend a good flavour of Cookie?

2002-03-07 Thread Robert Landrum

At 9:28 AM + 3/7/02, Jeff wrote:
Please forgive a mod_perl wannabie [aka woza.PHP4.user]

I have googled two differing flavoured cookies in the
mod_perl recipe library:
  Apache::Cookie
  Apache::RequestNotes

and of course, there is the 'Why not hack the HTTP_COOKIE
env all by your lonesome?' peppermint flavour too!

So which is it folks? Please vote for your favourite
flavour of cookie for poor woza.PHP4.user


Actually, I always roll my own...  I can't stand those Apache::Cookie 
and CGI::Cookie modules... they never seem to work the way I expect 
them to.

Plus, decoding cookies is easy.

my %cookies = map {
s/\%([A-F0-9]{2})/chr(hex($1))/eg;  split(/=/,$_,2);
} (split(/\/,$ENV{'HTTP_COOKIE'}));

Rob

--
When I used a Mac, they laughed because I had no command prompt. When 
I used Linux, they laughed because I had no GUI.  



Authentication redirection

2002-03-07 Thread Christian Gilmore

I am attempting to redirect certain users during the authentication phase
to support password expiration management. I am not having success
building it directly into the authentication module and think it may be
perhaps that the internal REDIRECT constant is ignored if given outside of
a content handling phase. Could someone confirm this thought? I was
attempting this bit of code:

  if ($expired eq 'true') {
 $r-content_type('text/html');
 $r-header_out(Location = $redirect);
 return REDIRECT;
  }

The behavior from this bit of code is just as if I had returned OK.

My other idea is to just write a note on the board and have a downstream
content handler do the redirection, but I was hoping to roll it all into
one package, since the problem, password expiration, is most directly tied
to authentication.

Thanks,
Christian

-
Christian Gilmore
Team Lead
Web Infrastructure  Tools
IBM Software Group




Re: Site Host Providers that Support mod_perl?

2002-03-07 Thread Fran Fabrizio


I thought I had posted to this thread yesterday but looking back I don't 
see that it showed up, so I'll try again. :)

I'm also looking for good mod_perl-supporting ISPs.  Recently I went 
through the list on the web site, and either the links were broken, or 
the sites made no mention of supporting mod_perl.  The best I've managed 
to find on my own is an ISP that starts supporting it at the $250/month 
level!  Yikes. =)  The inaccuracy of the list doesn't surprise me since 
the ISP world has experienced so much turnover and turmoil in the last 
couple of years.  I'd be willing to compile a list of ISPs that you all 
know about and/or use, and forward that on to the web site maintainer.

I know one option is to run your own mod-perl enabled apache but I 
imagine that a lot of ISPs would get pretty upset about you running 
servers (especially ones that love memory) on non-privileged ports, if 
they even allow connections to those ports in the first place.

My ideal setup would be to be able to colocate one of my servers and 
just use the ISP's bandwidth, but those plans are all pretty pricey. 
So, I'd really like to have a good ISP that supports mod_perl that I can 
afford because I'd enjoy being able to play around and create sites that 
use mod_perl outside of work.  Of course, I can do it at home, but it's 
not the best place to host a web app, it'd have an audience of one. =)

Thanks,
Fran

David Simcik wrote:

 Alright, I'm a total mod_perl newbie and would like to find a host for my
 personal site that allows me to develop mod_perl scripts. First off, I'm
 assuming that there is no way to install mod_perl on my current provider due
 to (obvious) access privilige restrictions to Apache? Secondly, the obvious
 question here, whom would you folks recommend for hosting services, assuming
 the afforementioned?
 
 Thanks!
 David
 





Re: Authentication redirection

2002-03-07 Thread Geoffrey Young

Christian Gilmore wrote:
 
 I am attempting to redirect certain users during the authentication phase
 to support password expiration management. I am not having success
 building it directly into the authentication module and think it may be
 perhaps that the internal REDIRECT constant is ignored if given outside of
 a content handling phase. Could someone confirm this thought? 

for the resource control phases the proper response is generally
AUTH_REQUIRED or FORBIDDEN.  AUTH_REQUIRED triggers a special set of
headers, so if you're trying to bypass those, instead of using
REDIRECT try returning FORBIDDEN with a custom response

$r-custom_response(FORBIDDEN, $redirect_url);
return FORBIDDEN;

HTH

--Geoff



RE: Site Host Providers that Support mod_perl?

2002-03-07 Thread Joe Breeden

I use a small ISP in Cookeville to co-locate my equipment. They charge $79.00 per 
month for co-location charges. It is a no-frills setup, so you should provide your own 
UPS as they do not have power generators. They have been in business since 1995 and I 
don't see them going away any time soon. I wouldn't recommend putting a machine that 
is going to stream a lot data, but something to do a reasonable amount of 
ecommerce/data serving should ok for their bandwidth ( around 6Mbps with about 25 
hosted servers and 300/400 dialup lines in the facility where the server would be 
co-located).

If you, or anyone, contact them, please mention that I sent you.

Thanks,

Joe Breeden

 -Original Message-
 From: Fran Fabrizio [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 07, 2002 10:35 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Site Host Providers that Support mod_perl?
 
 
 
 I thought I had posted to this thread yesterday but looking 
 back I don't 
 see that it showed up, so I'll try again. :)
 
 I'm also looking for good mod_perl-supporting ISPs.  Recently I went 
 through the list on the web site, and either the links were 
 broken, or 
 the sites made no mention of supporting mod_perl.  The best 
 I've managed 
 to find on my own is an ISP that starts supporting it at the 
 $250/month 
 level!  Yikes. =)  The inaccuracy of the list doesn't 
 surprise me since 
 the ISP world has experienced so much turnover and turmoil in 
 the last 
 couple of years.  I'd be willing to compile a list of ISPs 
 that you all 
 know about and/or use, and forward that on to the web site maintainer.
 
 I know one option is to run your own mod-perl enabled apache but I 
 imagine that a lot of ISPs would get pretty upset about you running 
 servers (especially ones that love memory) on non-privileged 
 ports, if 
 they even allow connections to those ports in the first place.
 
 My ideal setup would be to be able to colocate one of my servers and 
 just use the ISP's bandwidth, but those plans are all pretty pricey. 
 So, I'd really like to have a good ISP that supports mod_perl 
 that I can 
 afford because I'd enjoy being able to play around and create 
 sites that 
 use mod_perl outside of work.  Of course, I can do it at 
 home, but it's 
 not the best place to host a web app, it'd have an audience of one. =)
 
 Thanks,
 Fran
 
 David Simcik wrote:
 
  Alright, I'm a total mod_perl newbie and would like to find 
 a host for my
  personal site that allows me to develop mod_perl scripts. 
 First off, I'm
  assuming that there is no way to install mod_perl on my 
 current provider due
  to (obvious) access privilige restrictions to Apache? 
 Secondly, the obvious
  question here, whom would you folks recommend for hosting 
 services, assuming
  the afforementioned?
  
  Thanks!
  David
  
 
 
 



RE: Site Host Providers that Support mod_perl?

2002-03-07 Thread Joe Breeden

I forgot their URL for those interested ( http://www.multipro.com/hosting.html ).

 -Original Message-
 From: Joe Breeden 
 Sent: Thursday, March 07, 2002 10:39 AM
 To: Fran Fabrizio; [EMAIL PROTECTED]
 Subject: RE: Site Host Providers that Support mod_perl?
 
 
 I use a small ISP in Cookeville to co-locate my equipment. 
 They charge $79.00 per month for co-location charges. It is a 
 no-frills setup, so you should provide your own UPS as they 
 do not have power generators. They have been in business 
 since 1995 and I don't see them going away any time soon. I 
 wouldn't recommend putting a machine that is going to stream 
 a lot data, but something to do a reasonable amount of 
 ecommerce/data serving should ok for their bandwidth ( around 
 6Mbps with about 25 hosted servers and 300/400 dialup lines 
 in the facility where the server would be co-located).
 
 If you, or anyone, contact them, please mention that I sent you.
 
 Thanks,
 
 Joe Breeden
 
  -Original Message-
  From: Fran Fabrizio [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, March 07, 2002 10:35 AM
  To: [EMAIL PROTECTED]
  Subject: Re: Site Host Providers that Support mod_perl?
  
  
  
  I thought I had posted to this thread yesterday but looking 
  back I don't 
  see that it showed up, so I'll try again. :)
  
  I'm also looking for good mod_perl-supporting ISPs.  
 Recently I went 
  through the list on the web site, and either the links were 
  broken, or 
  the sites made no mention of supporting mod_perl.  The best 
  I've managed 
  to find on my own is an ISP that starts supporting it at the 
  $250/month 
  level!  Yikes. =)  The inaccuracy of the list doesn't 
  surprise me since 
  the ISP world has experienced so much turnover and turmoil in 
  the last 
  couple of years.  I'd be willing to compile a list of ISPs 
  that you all 
  know about and/or use, and forward that on to the web site 
 maintainer.
  
  I know one option is to run your own mod-perl enabled apache but I 
  imagine that a lot of ISPs would get pretty upset about you running 
  servers (especially ones that love memory) on non-privileged 
  ports, if 
  they even allow connections to those ports in the first place.
  
  My ideal setup would be to be able to colocate one of my 
 servers and 
  just use the ISP's bandwidth, but those plans are all 
 pretty pricey. 
  So, I'd really like to have a good ISP that supports mod_perl 
  that I can 
  afford because I'd enjoy being able to play around and create 
  sites that 
  use mod_perl outside of work.  Of course, I can do it at 
  home, but it's 
  not the best place to host a web app, it'd have an audience 
 of one. =)
  
  Thanks,
  Fran
  
  David Simcik wrote:
  
   Alright, I'm a total mod_perl newbie and would like to find 
  a host for my
   personal site that allows me to develop mod_perl scripts. 
  First off, I'm
   assuming that there is no way to install mod_perl on my 
  current provider due
   to (obvious) access privilige restrictions to Apache? 
  Secondly, the obvious
   question here, whom would you folks recommend for hosting 
  services, assuming
   the afforementioned?
   
   Thanks!
   David
   
  
  
  
 



Re: mod_perl training companies?

2002-03-07 Thread David Wheeler

On Thu, 2002-03-07 at 01:17, Stas Bekman wrote:

 *** there is this modperl development company in Belgrade, they are very 
 good.
 
 --- Which company you are talking about
 
 *** the modperl development company of course!
 
 --- but what company are you talking about?
 
 ... two hours later ...
 
 --- sorry, I still don't know what company you are talking about.
 
 *** the modperl company!!! Aarrrgg
 
 Hope you get the idea ;)

Don't you watch That 70s show?

David
-- 
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/  Yahoo!: dew7e
   Jabber: [EMAIL PROTECTED]




where is libperl.so.1?

2002-03-07 Thread J S



Hi there,

I've installed an apache build I did onto a Solaris
2.6 box, and when I try to start it I get the following error message:

ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
No such file or directory
Killed

I can't find libperl.so on either the original box, or the box I'm
installing to. Can anyone help me out please?

Thanks for any help,

JS.

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com




Re: Document Caching

2002-03-07 Thread Perrin Harkins

Cahill, Earl wrote:
 I would not be opposed to calling a different,
 more standard function to check the cache (set up in a more standard way),
 and then fetch accordingly.

Look at how the Memoize module does it.  You may be able to do something 
similar that would allow caching to be added easilly to any pure virtual 
function.

- Perrin





Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Fran Fabrizio

  upgrades for applications that maintain state - since a user might
  have a session created using a new-code box, then hit an old-code box
  on the next page view.  it takes us many minutes to work through
  restarting the entire array.
 
  were you ever concerned about something like that?


I only learned this yesterday by reading Perrin's eToys article, but
their concept of sticky load balancing was interesting.  They had a
proxy server in front of the app servers.  The proxy assigned session
keys, and made sure that if you came back in on the same session you got
assigned to the same app server.  I thought that was a neat idea and
would solve this particular problem.

-Fran







Re: where is libperl.so.1?

2002-03-07 Thread J S

I forgot to mention that mod-perl1.26 is compiled into the apache build 
(statically) as well.

Hi there,

I've installed an apache build I did onto a Solaris
2.6 box, and when I try to start it I get the following error message:

ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
No such file or directory
Killed

I can't find libperl.so on either the original box, or the box I'm
installing to. Can anyone help me out please?

Thanks for any help,

JS.

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com





_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Gordon Henriksen

I'm looking at how to best avoid downtime during a code upgrade, as we often
do spot releases of critical code fixes and we're getting to the usage level
that I don't want to interrupt service to deploy that code. At the same
time, I want to avoid running 200 stat()'s per request for all of the loaded
modules.

We're presently running in this configuration:

Apache 1.3.22
static mod_perl 1.26
Apache::StatINC --Want to get rid of it.
PerlFreshRestart OFF

I see three options open to me:

 1. static mod_perl w/ PerlFreshRestart
  Reloads %INC.
  downside: Heresay claims historical instablity.

 2. dynamic mod_perl
  Tears down  cleans up Perl interpreter on graceful restart.
  downside: Heresay claims historical instablity.

 3. static mod_perl w/ Apache::StatInc
  Runs many stat()'s per request.
  downside: Runs many stat()'s per request.

Aside from the historical instability, the second option strikes me as the
cleanest and most robust. How has the current stability of these mechanisms?
Is it enterprise-worthy? I'm variously running on RedHat Linux 7.0 and 7.1.

--

Gordon Henriksen
IT  Engineering
ICLUBcentral Inc.
[EMAIL PROTECTED]




Re: Site Host Providers that Support mod_perl?

2002-03-07 Thread Brett W. McCoy

On Thu, 7 Mar 2002, Fran Fabrizio wrote:

 My ideal setup would be to be able to colocate one of my servers and
 just use the ISP's bandwidth, but those plans are all pretty pricey.
 So, I'd really like to have a good ISP that supports mod_perl that I can
 afford because I'd enjoy being able to play around and create sites that
 use mod_perl outside of work.  Of course, I can do it at home, but it's
 not the best place to host a web app, it'd have an audience of one. =)

If you had something like Speakeasy DSL or a similar provider that allows
you to run your own servers, you can run a server out of your house and
use mod_perl and have fun.

-- Brett
  http://www.chapelperilous.net/

What the scientists have in their briefcases is terrifying.
-- Nikita Khrushchev




Re: Site Host Providers that Support mod_perl?

2002-03-07 Thread Fran Fabrizio


 If you had something like Speakeasy DSL or a similar provider that allows
 you to run your own servers, you can run a server out of your house and
 use mod_perl and have fun.
 
 -- Brett


I actually have BellSouth dsl.  I've never perused their acceptable use 
policy, but I never thought it was a good idea to host a site at home 
because of a lot of thingsI have to open port 80 and then I'd have 
to worry even more about security, it's dynamic IP and my IP refreshes 
fairly regularly and the dyndns service that I use sometimes lags by as 
much as 15 minutes in its updates.  I live in a thunderstorm-rich area, 
our power is constantly going out, etc... then again, what I'd like to 
host isn't mission critical so maybe I'll rethink that...I've gotten 
some good feedback so far, thanks to everyone!

I still would like to find either an ISP or a colo, because the other 
half of it is that I do a good deal of freelance work on sites, and 
having the option to resell a hosting agreement that supports mod_perl 
and then having mod_perl at my disposal for app development is 
attractive.  I certainly would not want to host that kind of thing at 
home.

-Fran





Re: where is libperl.so.1?

2002-03-07 Thread Issac Goldstand

so if it's statically compiled, why are you using LoadModule?

  Issac

J S wrote:



 Hi there,

 I've installed an apache build I did onto a Solaris
 2.6 box, and when I try to start it I get the following error message:

 ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
 No such file or directory
 Killed

 I can't find libperl.so on either the original box, or the box I'm
 installing to. Can anyone help me out please?

 Thanks for any help,

 JS.

 _
 Chat with friends online, try MSN Messenger: http://messenger.msn.com







Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Geoffrey Young

Gordon Henriksen wrote:
 
 I'm looking at how to best avoid downtime during a code upgrade, as we often
 do spot releases of critical code fixes and we're getting to the usage level
 that I don't want to interrupt service to deploy that code. At the same
 time, I want to avoid running 200 stat()'s per request for all of the loaded
 modules.

look into the touchfile option in Apache::Reload - that might help
some.

--Geoff



Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Perrin Harkins

Gordon Henriksen wrote:
 I see three options open to me:
 
  1. static mod_perl w/ PerlFreshRestart
   Reloads %INC.
   downside: Heresay claims historical instablity.
 
  2. dynamic mod_perl
   Tears down  cleans up Perl interpreter on graceful restart.
   downside: Heresay claims historical instablity.
 
  3. static mod_perl w/ Apache::StatInc
   Runs many stat()'s per request.
   downside: Runs many stat()'s per request.

Frankly, those options all suck for anything other than development 
servers.  A production server on a busy site needs to be fully stopped 
and restarted when you upgrade your code.  Doing anything else is just 
asking for trouble (strange closure issues, for example) and will trash 
your shared memory to boot.

The best way I've found to deal with this problem is to have multiple 
servers behind a load-balancer and do a rolling restart.  If you have 
servers A and B, you take A out of the load balancer temporarilly, 
upgrade it, add it back in, take B out, upgrade it, add it back in. 
Using this technique, we were able to smoothly upgrade production 
servers on a very busy cluster of machines during normal business hours 
while customers were on the site.

- Perrin




Re: Site Host Providers that Support mod_perl?

2002-03-07 Thread Sergey Maretskiy

Hello.

Sorry my bad English.
There is ISP Zenon http://zenon.net
I think Zenon is the best of those providing professional hosting services
and they rank first
by number of clients hosted in Russia.
They offer personal httpd with mod_perl (running as backend), shell, gcc,
personal MySQL and PostgreSQL DBs etc. for $45/month.
They also pay a lot of attention to security (for example, personal httpd is
actually given to each client even on smaller plans where you don't have
access to httpd.conf, so users cannot walk by each other account data etc.)
Unfortunatly English part of their site is very poor and I don't know if
they provide same good international services as local. But may be you will
have success with them!

Sergey.

- Original Message -
From: Fran Fabrizio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 07, 2002 7:34 PM
Subject: Re: Site Host Providers that Support mod_perl?



 I thought I had posted to this thread yesterday but looking back I don't
 see that it showed up, so I'll try again. :)

 I'm also looking for good mod_perl-supporting ISPs.  Recently I went
 through the list on the web site, and either the links were broken, or
 the sites made no mention of supporting mod_perl.  The best I've managed
 to find on my own is an ISP that starts supporting it at the $250/month
 level!  Yikes. =)  The inaccuracy of the list doesn't surprise me since
 the ISP world has experienced so much turnover and turmoil in the last
 couple of years.  I'd be willing to compile a list of ISPs that you all
 know about and/or use, and forward that on to the web site maintainer.

 I know one option is to run your own mod-perl enabled apache but I
 imagine that a lot of ISPs would get pretty upset about you running
 servers (especially ones that love memory) on non-privileged ports, if
 they even allow connections to those ports in the first place.

 My ideal setup would be to be able to colocate one of my servers and
 just use the ISP's bandwidth, but those plans are all pretty pricey.
 So, I'd really like to have a good ISP that supports mod_perl that I can
 afford because I'd enjoy being able to play around and create sites that
 use mod_perl outside of work.  Of course, I can do it at home, but it's
 not the best place to host a web app, it'd have an audience of one. =)

 Thanks,
 Fran

 David Simcik wrote:

  Alright, I'm a total mod_perl newbie and would like to find a host for
my
  personal site that allows me to develop mod_perl scripts. First off, I'm
  assuming that there is no way to install mod_perl on my current provider
due
  to (obvious) access privilige restrictions to Apache? Secondly, the
obvious
  question here, whom would you folks recommend for hosting services,
assuming
  the afforementioned?
 
  Thanks!
  David
 







Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Geoffrey Young


 
 The best way I've found to deal with this problem is to have multiple
 servers behind a load-balancer and do a rolling restart.  If you have
 servers A and B, you take A out of the load balancer temporarilly,
 upgrade it, add it back in, take B out, upgrade it, add it back in.
 Using this technique, we were able to smoothly upgrade production
 servers on a very busy cluster of machines during normal business hours
 while customers were on the site.

we do that frequently here - 7 servers behind a BigIP.  I've always
wondered, though, whether this approach is foolproof for major
upgrades for applications that maintain state - since a user might
have a session created using a new-code box, then hit an old-code box
on the next page view.  it takes us many minutes to work through
restarting the entire array.

were you ever concerned about something like that?

--Geoff



Re: segfaulting upon request

2002-03-07 Thread Ged Haywood

Hi there,

On Mon, 4 Mar 2002, Steev Hise wrote:

 I'm having trouble with the latest version of mod_perl and apache.
 (version 1.26 with apache 1.3.23)
 
 upon startup there's a segmentation fault upon any http request.
 i'd be grateful for any assistance.
[snip]
 i built modperl and apache like this:
[snip]
 here's details of the machine:
--
 on redhat 7.0 linux i686, kernel 2.2.19-7.0.1smp
--
 perl -V
 Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
   Platform:
--
 osname=linux, osvers=2.2.16-22smp, archname=i686-linux
--

Hmmm.  That's interesting... do I smell RPMs?

73,
Ged.




Re: Site Host Providers that Support mod_perl?

2002-03-07 Thread Tagore Smith

Fran Fabrizio wrote:
 I thought I had posted to this thread yesterday but looking back I don't
 see that it showed up, so I'll try again. :)

 I'm also looking for good mod_perl-supporting ISPs.  Recently I went
 through the list on the web site, and either the links were broken, or
 the sites made no mention of supporting mod_perl.  The best I've managed
 to find on my own is an ISP that starts supporting it at the $250/month
 level!  Yikes. =)  The inaccuracy of the list doesn't surprise me since
 the ISP world has experienced so much turnover and turmoil in the last
 couple of years.  I'd be willing to compile a list of ISPs that you all
 know about and/or use, and forward that on to the web site maintainer.

 I know one option is to run your own mod-perl enabled apache but I
 imagine that a lot of ISPs would get pretty upset about you running
 servers (especially ones that love memory) on non-privileged ports, if
 they even allow connections to those ports in the first place.

 My ideal setup would be to be able to colocate one of my servers and
 just use the ISP's bandwidth, but those plans are all pretty pricey.
 So, I'd really like to have a good ISP that supports mod_perl that I can
 afford because I'd enjoy being able to play around and create sites that
 use mod_perl outside of work.  Of course, I can do it at home, but it's
 not the best place to host a web app, it'd have an audience of one. =)

You might look at ISPs that offer virtual server (as opposed to vhost)
hosting. For example Netmode- http://www.netmode.com -offers dedicated IP
hosting starting at about $50.00/month. You get a shell account and can
compile and run anything you want (as long as it doesn't do anything
destructive), and connect to any privileged or non-privileged port. You get
your own apache process. You can set up vhosts and resell the hosting if
that's your cup of tea. The downside is that their ulimits on memory are
quite low. I tried to compile postgres and failed because gcc uses a _lot_
of memory compiling bison generated parsers. I still haven't written to them
about this- it may be that they are just using FreeBSD default settings
which are quite stingy if I recall correctly. Anyway, if you don't need to
handle heavy traffic it's a flexible, affordable setup. And the servers
include a dynamically loadable mod_perl by default.

TagoreSmith








Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Perrin Harkins

Geoffrey Young wrote:
 we do that frequently here - 7 servers behind a BigIP.  I've always
 wondered, though, whether this approach is foolproof for major
 upgrades for applications that maintain state - since a user might
 have a session created using a new-code box, then hit an old-code box
 on the next page view.  it takes us many minutes to work through
 restarting the entire array.
 
 were you ever concerned about something like that?

We also used BigIP, with the sticky load-balancing option on.  (Well, we 
used two, and only the application servers were sticky.  It didn't 
matter which proxy/web server you went to.)  This prevents the problem 
you're talking about.

Of course if the upgrade involves changing some shared resource like a 
database as well, you have to take the site off-line while you do it.  I 
suppose it's possible to rig up something crazy with multiple databases 
and synchronization, but it's just not worth it.

- Perrin






Re: where is libperl.so.1?

2002-03-07 Thread J S

Not sure I understand your answer. I'm not using LoadModule.

JS.

so if it's statically compiled, why are you using LoadModule?

  Issac

J S wrote:



Hi there,

I've installed an apache build I did onto a Solaris
2.6 box, and when I try to start it I get the following error message:

ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
No such file or directory
Killed

I can't find libperl.so on either the original box, or the box I'm
installing to. Can anyone help me out please?

Thanks for any help,

JS.

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com








_
Chat with friends online, try MSN Messenger: http://messenger.msn.com




Re: Authentication redirection

2002-03-07 Thread Philip M. Gollucci

 $r-headers_out-set(Location = /whatever);
 $r-status(REDIRECT);
 $r-send_http_header;

I belive this will work for you.


END
--
Philip M. Gollucci (p6m7g8) [EMAIL PROTECTED] 301.314.3118

Science, Discovery,  the Universe (UMCP)
Webmaster  Webship Teacher
URL: http://www.sdu.umd.edu

EJPress.com
Database/PERL Programmer  System Admin
URL : http://www.ejournalpress.com

Resume  : http://p6m7g8.com/Work/index.html


On Thu, 7 Mar 2002, Christian Gilmore wrote:

 I am attempting to redirect certain users during the authentication phase
 to support password expiration management. I am not having success
 building it directly into the authentication module and think it may be
 perhaps that the internal REDIRECT constant is ignored if given outside of
 a content handling phase. Could someone confirm this thought? I was
 attempting this bit of code:

   if ($expired eq 'true') {
  $r-content_type('text/html');
  $r-header_out(Location = $redirect);
  return REDIRECT;
   }

 The behavior from this bit of code is just as if I had returned OK.

 My other idea is to just write a note on the board and have a downstream
 content handler do the redirection, but I was hoping to roll it all into
 one package, since the problem, password expiration, is most directly tied
 to authentication.

 Thanks,
 Christian

 -
 Christian Gilmore
 Team Lead
 Web Infrastructure  Tools
 IBM Software Group






Re: where is libperl.so.1?

2002-03-07 Thread Issac Goldstand

*looks again*  oops...  I didn't look close enough at tyhe error, 
assumed it couldn't find mod_perl.so *hits himself in head*.

Did you install perl yourself?  If so, you may want to make sure that 
the directory containing the libperl.so file (usually 
TOP_LEVEL/libexec/) is included in the file /etc/ld.so.conf and then run 
ldconfig as root.
That might help...

  Issac

J S wrote:

 Not sure I understand your answer. I'm not using LoadModule.

 JS.


 so if it's statically compiled, why are you using LoadModule?

  Issac

 J S wrote:



 Hi there,

 I've installed an apache build I did onto a Solaris
 2.6 box, and when I try to start it I get the following error message:

 ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open 
 failed:
 No such file or directory
 Killed

 I can't find libperl.so on either the original box, or the box I'm
 installing to. Can anyone help me out please?

 Thanks for any help,

 JS.







Re: Site Host Providers that Support mod_perl?

2002-03-07 Thread Marc Slagle

 Alright, I'm a total mod_perl newbie and would like to find a host for my
 personal site that allows me to develop mod_perl scripts. First off, I'm
 assuming that there is no way to install mod_perl on my current provider
due
 to (obvious) access privilige restrictions to Apache? Secondly, the
obvious
 question here, whom would you folks recommend for hosting services,
assuming
 the afforementioned?

Secure Level provides mod_perl hosting.  We have two packages.  The first is
$80/month, and you get 4gb throughput, your own httpd/IP address, no memory
limits (as long as you don't kill the server) and 25 Mb storage space.  Its
$65/month if you pre-pay one year.  The second package is $10 less a month
if you dont need your own IP address, and want to run on a non-standard
port.

Our facility is fed by 18 OC-192 connections, so heavy traffic isn't that
much of an issue.

http://www.securelevel.com

Marc Slagle




Re: Site Host Providers that Support mod_perl?

2002-03-07 Thread c . hauser

Hello


My company and Simplicity Ltd. are offering dedicated hosting, this
includes:

 - A or some virtual host with access to own httpd.conf over Webmin
 - Ability to restart the server (!).
 - DNS for multiple hosts/domains, also the ones not with us.
 - FTP access by dedicated IP.
 - Mail domain and account mgmt. over Webmin.
 - Standard stats per domain.
 - Optionally mySQL account.

 - And of course mod_perl installed!
 
 - HTML::Mason ready (others upon request)
 - Midgard ready (sorry to mention this :-)

The price? This might be very individual, not much cheaper than
others (the economic ones). It really depends on traffic 10 MB or 10
GB per Month (including mail) or on additional RAM load (no cache
limits, sexy servers). We specialize on individual services for SMB's
who want to keep control over basic technologies. Feel free to give
some details on your hosting project and you will get a straight offer.


Best Regards C.Hauser  -  [EMAIL PROTECTED]  -

.

IT assistance Ltd.
Lange Gasse 6
CH-4052 Basel

.


== beginn original ==
Date: Mittwoch, 6. März 2002, 17:47:24
Subject: Site Host Providers that Support mod_perl?

Alright, I'm a total mod_perl newbie and would like to find a host for my
personal site that allows me to develop mod_perl scripts. First off, I'm
assuming that there is no way to install mod_perl on my current provider due
to (obvious) access privilige restrictions to Apache? Secondly, the obvious
question here, whom would you folks recommend for hosting services, assuming
the afforementioned?

Thanks!
David

=== end original 




Re: where is libperl.so.1?

2002-03-07 Thread darren chamberlain

Quoting J S [EMAIL PROTECTED] [Mar 07, 2002 12:18]:
 I've installed an apache build I did onto a Solaris
 2.6 box, and when I try to start it I get the following error message:
 
 ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
 No such file or directory
 Killed
 
 I can't find libperl.so on either the original box, or the box
 I'm installing to. Can anyone help me out please?

You shouldn't need to find libperl.so if you've built it
statically.  For example:

Here is my httpd:
$ /usr/local/apache/1.3.22/bin/httpd-modperl1.25-perl5.00503  -l
Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_info.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_actions.c
  mod_alias.c
  mod_rewrite.c
  mod_access.c
  mod_auth.c
  mod_proxy.c
  mod_so.c
  mod_setenvif.c
  mod_perl.c

Here is what it's using:
$ ldd /usr/local/apache/1.3.22/bin/httpd-modperl1.25-perl5.00503 
libm.so.6 = /lib/libm.so.6 (0x40019000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x40037000)
libdb.so.3 = /lib/libdb.so.3 (0x40064000)
libnsl.so.1 = /lib/libnsl.so.1 (0x4009f000)
libdl.so.2 = /lib/libdl.so.2 (0x400b5000)
libc.so.6 = /lib/libc.so.6 (0x400b9000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)

No libperl.so.  Are you sure you're trying to start the correct
httpd?

(darren)

-- 
I must say I find television very educational. The minute somebody
turns it on, I go to the library and read a good book.
-- Grouchy Marx



Re: where is libperl.so.1?

2002-03-07 Thread Michael Peppler

darren chamberlain writes:
  Quoting J S [EMAIL PROTECTED] [Mar 07, 2002 12:18]:
   I've installed an apache build I did onto a Solaris
   2.6 box, and when I try to start it I get the following error message:
   
   ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
   No such file or directory
   Killed
   
   I can't find libperl.so on either the original box, or the box
   I'm installing to. Can anyone help me out please?
  
  You shouldn't need to find libperl.so if you've built it
  statically.

He does need libperl.so if he built *perl* to use a shared libperl
instead of a static libperl.a

I guess setting LD_LIBRARY_PATH correctly (to include
/usr/lib/perl5/5.6.x/i386-linux/CORE or wherever the main perl library
is located on that box) should fix the problem.

Michael
-- 
Michael Peppler  Data Migrations, Inc.
[EMAIL PROTECTED]   *or*  [EMAIL PROTECTED]
http://www.mbay.net/~mpeppler
International Sybase User Group: http://www.isug.com



Re: segfaulting upon request

2002-03-07 Thread Steev Hise

On Thu, 7 Mar 2002, Ged Haywood wrote:

- on redhat 7.0 linux i686, kernel 2.2.19-7.0.1smp
---
- perl -V
- Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
-   Platform:
---
- osname=linux, osvers=2.2.16-22smp, archname=i686-linux
---
-
-Hmmm.  That's interesting... do I smell RPMs?

well all redhat machines have some RPMs on them, if that's what you mean.
but i didnt use any rpms when i built apache, modssl, php, and modperl. so
i'm not sure what you mean or how your comment is intended to help.

best,


Steev Hise, Information Engineer
[EMAIL PROTECTED]   http://www.datamassage.com
-
Getting programmers to write documentation is almost as hard
 as getting them to wear ties
-Larry Wall, et.al, 'Programming Perl'
-




Re: Site Host Providers that Support mod_perl?

2002-03-07 Thread Stas Bekman

[EMAIL PROTECTED] wrote:
 Hello
 
 
 My company and Simplicity Ltd. are offering dedicated hosting, this
 includes:
 
  - A or some virtual host with access to own httpd.conf over Webmin
  - Ability to restart the server (!).
  - DNS for multiple hosts/domains, also the ones not with us.
  - FTP access by dedicated IP.
  - Mail domain and account mgmt. over Webmin.
  - Standard stats per domain.
  - Optionally mySQL account.
 
  - And of course mod_perl installed!
  
  - HTML::Mason ready (others upon request)
  - Midgard ready (sorry to mention this :-)
 
 The price? This might be very individual, not much cheaper than
 others (the economic ones). It really depends on traffic 10 MB or 10
 GB per Month (including mail) or on additional RAM load (no cache
 limits, sexy servers). We specialize on individual services for SMB's
 who want to keep control over basic technologies. Feel free to give
 some details on your hosting project and you will get a straight offer.

Guys, if you want to be listed here: http://perl.apache.org/isp.html
You must provide the URL advertising your service (assuming that you 
provide mod_perl hosting). Thanks!


_
Stas Bekman JAm_pH  --   Just Another mod_perl Hacker
http://stason.org/  mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/




Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Sreeji K Das

We had been using Option 1 for a long time  we had
absolutely no problems (with
mod_perl-1.19/Apache-1.3.14/Perl-5.005).
However on upgrading to mod_perl-1.26, we were getting
hell lot of errors. I have tracked this to a bug in
perl_util.c  on fixing this PerlFreshRestart works
w/o any problems. I have posted this details 2/3 weeks
back but haven't got any reply.

I had to go for option 1, since I was not sure about
DSO  StatINC does stats() for every request that
comes in - not too good. (even with a touchfile, it
has to do stat() !)

Sreeji

--- Gordon Henriksen [EMAIL PROTECTED] wrote:  I'm
looking at how to best avoid downtime during a
 code upgrade, as we often
 do spot releases of critical code fixes and we're
 getting to the usage level
 that I don't want to interrupt service to deploy
 that code. At the same
 time, I want to avoid running 200 stat()'s per
 request for all of the loaded
 modules.
 
 We're presently running in this configuration:
 
 Apache 1.3.22
 static mod_perl 1.26
 Apache::StatINC --Want to get rid of it.
 PerlFreshRestart OFF
 
 I see three options open to me:
 
  1. static mod_perl w/ PerlFreshRestart
   Reloads %INC.
   downside: Heresay claims historical
 instablity.
 
  2. dynamic mod_perl
   Tears down  cleans up Perl interpreter on
 graceful restart.
   downside: Heresay claims historical
 instablity.
 
  3. static mod_perl w/ Apache::StatInc
   Runs many stat()'s per request.
   downside: Runs many stat()'s per request.
 
 Aside from the historical instability, the second
 option strikes me as the
 cleanest and most robust. How has the current
 stability of these mechanisms?
 Is it enterprise-worthy? I'm variously running on
 RedHat Linux 7.0 and 7.1.
 
 --
 
 Gordon Henriksen
 IT  Engineering
 ICLUBcentral Inc.
 [EMAIL PROTECTED]
  


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Perrin Harkins

 We had been using Option 1 for a long time  we had
 absolutely no problems

But doesn't it totally wreck your shared memory?  For me that would make
it unusable.  I usually get a pretty large percentage of memory to be
shared and count on that for getting maximum capacity from each box.

- Perrin




[Patch] Apache::ProxyPassThru

2002-03-07 Thread Tatsuhiko Miyagawa

Ask,

here is a patch for Apache::ProxyPassThru, fixing the bug that
multiple response headers are mungled into one (like double Set-Cookie:s)

I should apply this with my own proxy modules ... :)

--- ProxyPassThru.pm~   Tue Aug 21 08:06:24 2001
+++ ProxyPassThru.pmFri Mar  8 15:23:04 2002
 -33,8 +33,9 
 #feed reponse back into our request_rec*
 $r-status($res-code);
 $r-status_line($res-status_line);
+my $table = $r-headers_out;
 $res-scan(sub {
-   $r-header_out(_);
+   $table-add(_);
 });

 $r-send_http_header();



cvs commit: modperl-site index.html

2002-03-07 Thread stas

stas02/03/07 07:56:36

  Modified:.index.html
  Log:
  [EMAIL PROTECTED][EMAIL PROTECTED]/ for all mailing lists which weren't moved
  earlier
  
  Revision  ChangesPath
  1.100 +10 -10modperl-site/index.html
  
  Index: index.html
  ===
  RCS file: /home/cvs/modperl-site/index.html,v
  retrieving revision 1.99
  retrieving revision 1.100
  diff -u -r1.99 -r1.100
  --- index.html22 Feb 2002 04:35:25 -  1.99
  +++ index.html7 Mar 2002 15:56:36 -   1.100
  @@ -495,19 +495,19 @@
ul
   
lisubscribe to the list: a
  - 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a.
  + 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a.
/li
   
lisubscribe to the list's digest: a
  - 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a.
  + 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a.
/li
   
liunsubscribe from the list: a
  - 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a.
  + 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a.
/li
   
liget help with the list: a
  - href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a.
  + 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a.
/li
   
/ul
  @@ -746,18 +746,18 @@
ul
   
lisubscribe to the list:  a
  -   href=mailto:[EMAIL PROTECTED];
  -   [EMAIL PROTECTED]/a.
  +   href=mailto:[EMAIL PROTECTED];
  +   [EMAIL PROTECTED]/a.
/li
   
liunsubscribe from the list: a
  - href=mailto:[EMAIL PROTECTED];
  - [EMAIL PROTECTED]/a.
  + href=mailto:[EMAIL PROTECTED];
  + [EMAIL PROTECTED]/a.
/li
   
liget help with the list: a
  - href=mailto:[EMAIL PROTECTED];
  - [EMAIL PROTECTED]/a.
  + href=mailto:[EMAIL PROTECTED];
  + [EMAIL PROTECTED]/a.
/li
   
/ul
  
  
  



cvs commit: modperl-site/guide help.html

2002-03-07 Thread stas

stas02/03/07 08:03:12

  Modified:guidehelp.html
  Log:
  [EMAIL PROTECTED][EMAIL PROTECTED]/
  
  Revision  ChangesPath
  1.33  +6 -6  modperl-site/guide/help.html
  
  Index: help.html
  ===
  RCS file: /home/cvs/modperl-site/guide/help.html,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- help.html 15 Nov 2001 09:04:50 -  1.32
  +++ help.html 7 Mar 2002 16:03:12 -   1.33
  @@ -261,14 +261,14 @@
   The Apache/Perl mailing list EMis available for mod_perl users and
   developers to share ideas, solve problems and discuss things related
   to mod_perl and the Apache::* modules./EM  To subscribe to this list, send email 
to A
  -HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A
  
+HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A
   . To unsubscribe send email to A
  -HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A
  
+HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A
   . 
   
   P
   To subscribe to the digest list send email to A
  
-HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A
  
+HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A
   .
   
   P
  @@ -426,11 +426,11 @@
   
   P
   To subscribe to this list, send email to A
  -HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A
  
+HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A
   . To unsubscribe send email to A
  
-HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A
  
+HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A
   . Send email to A
  -HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A to post to
  +HREF=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/A to post to
   the list.
   
   P