PDF's [OT I THINK]

2002-04-08 Thread Geoff Ellis

not sure where to start looking for some info, so I thought here first

I need to be able to print pdf's from an apache webserver using perl...
I know usually that just an link to the file is sufficient, but these files
are outside of the /var/www/path to webserver.

2 questions really..

1st - does anyone have any info on this
2nd - could someone point in to a resource..

many thanks

geoff





Re: Finding if SSL is enabled on backend ..

2000-01-06 Thread Geoff Crawshaw

A solution is to have the the mod_perl server listen on two different
ports (.i.e 8000 and 8001) and have the mod_rewrite proxy rule in the
regular server redirect to port 8000 and the mod_rewrite proxy rule in
the SSL virtual host redirect to port 8001. In the mod_perl server
then just check the PORT variable to tell if the connect is encrypted
or not.

Joseph R. Junkin - Thu, Jan 06, 2000 at 12:17:12PM -0800
> Actually, I am wrong, the HTTP_REFERER is the previous referring
> document, not the current URL so this does not solve my problem. Again,
> if anyone knows a way to determine if SSL is activated on the backend,
> please let me know.
> 
> > > Hi all,
> > > I have a two machine setup:
> > > (A) A frontend running mod_ssl, mod_rewrite and mod_proxy.
> > > (B) A backend mod_perl machine server not running SSL that is
> > > proxypassed to from the frontend
> > >
> > > Problem: I need to know within my mod_perl backend server whether or not
> > > SSL is active on the frontend, because if not I won't permit login.
> > >
> > > So how can I find out from the backend server (B) whether or not the
> > > frontend (A) is running in SSL?
> > >
> > > Thanks!
> > >
> > > Joe Junkin
> > > [EMAIL PROTECTED]

-- 
Geoff Crawshaw
CTO
TimeBills.com Inc.
[EMAIL PROTECTED]
http://www.timebills.com



Re: mod_perl Programmers demand is going up...

1999-12-05 Thread Geoff Crawshaw

I might as well pile on :-)

At TimeBills.com (www.timebills.com) we are looking for smart,
talented mod_perl/perl developers to help us build a complete suite of
small business applications.

We are location in Boston (Back bay for now, moving to South Station
in January). Seed funded and in the final throes of a solid first
round of VC funding. Open Source shop as much as possible, Linux,
Apache, Mod_perl, CVS, Emacs etc. We have a really good, fun crew,
good option packages, experienced management, lots of upside etc.

Check out our web site, play with the application and if you are
interested drop me an email.

-- 
Geoff Crawshaw
CTO
TimeBills.com Inc.
[EMAIL PROTECTED]
http://www.timebills.com

Andy Pruitt - Fri, Dec 03, 1999 at 07:38:46PM -0600
> 
> 
> Yet Another Well Funded Startup
> 
>  Company: DigitalWork.com
>  location: Chicago, IL
>  company: E-Commere B2B startup, probably largest true startup in Chicago
>  assets: 4 rounds of funding, VC's include Draper, Fisher Jurvetson
>  culture: startup -- stock options, pool table, stock options,
>playstation, stock options, free drinks, smart folks, stock
> options, etc
>  
>  hardware: Sun, Linux farm
>  software: apache 1.3.9/mod_perl 1.2.1 HTML::Mason  Oracle8i 
> 
> We're looking to hire as many folks as we can.
> 
> We really are pre-IPO, but only are recruiters and PR people can talk about
> that part. 
> 
> 
> 
> 
> 
> 
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Kreimendahl, Chad J
> > Sent: Friday, December 03, 1999 9:51 AM
> > To: '[EMAIL PROTECTED]'; mod_perl list
> > Subject: RE: mod_perl Programmers demand is going up...
> > 
> > 
> > I can describe what I mean when I say "mod_perl experience".  
> > I think that
> > to most it means this as well.
> > 
> > mod_perl experience is just a nifty word to aid in the 
> > finding of someone
> > who has the style of perl which fits the requirements of 
> > mod_perl.  The
> > ability to keep everything within scope; ability to write 
> > modular code; an
> > overall c programming style to perl.  Whether or not you've 
> > actually written
> > anything for to be run under a mod_perl apache doesn't really 
> > mean much.  If
> > someone familiar with programming for mod_perl were to look 
> > at your code, it
> > would be fairly easy for me to see if you had the ability to 
> > be a mod_perl
> > developer. 
> > 
> > In fact... if anyone is interested in a job using mod_perl... I need 3
> > people by the end of this month.
> > a little background on the company, project and group.
> > 
> > Company:
> > location: Kansas city, mo
> > company: financial institution
> > assets: 7+ billion
> > culture: suits (overall bank culture)
> > 
> > Group: Internet services
> > culture: laid back, open environment, no real dress code, 
> > flexible time,
> > smart people
> > 
> > Project: business to business e-commerce site
> > hardware: Sun Cluster
> > software: apache 1.3.9/stronghold/mod_perl 1.2.1 (Solaris 
> > 2.6) CVS Oracle 8i
> > 
> > The money is very good for the region... email me if you're interested
> > 
> > 
> > From: Scott Chapman [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, December 03, 1999 9:35 AM
> > To: mod_perl list
> > Subject: Re: mod_perl Programmers demand is going up...
> > 
> > 
> > I am new to Mod_Perl.  I don't know what all it's good for.  My 
> > question is, what do they mean by "mod_perl experience".  I can 
> > compile Apache with mod_perl and make emb_perl work correctly 
> > but I highly doubt that is all they are after.  Being new to 
> > this, I'd like 
> > some perspective from those more experienced.  
> > 




Stop stat() of script

1999-11-25 Thread Geoff Crawshaw

Any pointers on how to stop apache from stat()'ing and reloading a
script (running under mod_perl) that has changed on disk?

-- 
Geoff Crawshaw
TimeBills.com Inc.
[EMAIL PROTECTED]
http://www.timebills.com



Re: Result Pagination w/ mod_perl & MySQL

1999-11-10 Thread Geoff Crawshaw

Use the LIMIT command in MySQL

William R. Lorenz - Wed, Nov 10, 1999 at 09:37:31AM -0500
> ModPerl List,
> 
> Forgive me if this is offtopic, but I am attempting to paginate a set of
> returned SQL records using mod_perl connecting to a MySQL server (through
> DBI/DBD::mysql).  I believe this can be accomplished using the RANGE() SQL
> function, but to my knowledge it is not supported by MySQL.
> 
> Does anyone have a proved method of separating results (1-10, 10-20, etc. -
> think of AltaVista returning search results and separating them into pages),
> using as little resources on the webserver as possible (would like to push
> most of the task to SQL server)?  Thanks, in advance, for any assistance.

-- 
Geoff Crawshaw
CTO
TimeBills.com Inc.
[EMAIL PROTECTED]
http://www.timebills.com



Re: Image::Magick and mod_perl

1999-01-17 Thread Geoff Crawshaw

One solution is to use the 2 server setup described at
http://perl.apache.org/guide/scenario.html#One_Plain_and_One_mod_perl_enabl
and have the lightweight proxy server handle the upload as a regular
CGI process, after the file has uploaded redirect to a mod_perl
process for further processing. You can have a lot of lighweight proxy
processes handling uploads and only a few heavy mod_perl processes to
do the heavy lifting.

Todd Finney - Mon, Nov 15, 1999 at 01:14:43PM -0500
> We're putting together a site that involves processing images uploaded by
> our users.   I'm using Image::Magick to resize the images to a standard
> size, and to create thumbnails.We will have an upload page, which hits
> a CGI under mod_perl that handles the form data and processes the image.
> 
> I am wondering if this is the best way to handle this.   When a user
> uploads an image and it's being processed, am I occupying an entire child
> process for the duration of the transaction?  If each transaction lasts a
> couple of seconds, it this a Bad Thing?   Is there a more efficient way to
> handle this?
> 
> I saw the Apache::Magick demo in the modperl site, but it doesn't really
> apply to this situation, as I don't need to do dynamic rendering. 
> 
> thanks,
> Todd

-- 
Geoff Crawshaw
CTO
TimeBills.com Inc.