Re: mime type problem when doing redirects

2002-01-31 Thread matt freake
Sorry, if you receive this twice. Ah, the joys of hotmail! I may have misunderstood, but 2 questions: - do you have the same problem if you use the form $http_headers_out{'Content-Type'} = 'text/html' to set the content type in the two cases ? - do you have the same problem when you do a

really basic mod_perl usage

2002-01-31 Thread Joshua Spoerri
a really basic mod_perl usage question: what's the preferred way for multiple embperl pages to include a single instance of data from one file (including apache::dbi handles behind dbix objects ) ? i'd like to do: [- Execute({inputfile=>'mycommon.html', package=>'mycommon'}); $mycommon::myset->Se

Re: really basic mod_perl usage

2002-01-31 Thread Andrew O'Brien
On Thu, Jan 31, 2002 at 02:32:50PM -0500, Joshua Spoerri wrote: > a really basic mod_perl usage question: > what's the preferred way for multiple embperl pages to include a single > instance of data from one file (including apache::dbi handles behind > dbix objects ) ? > > i'd like to do: > [- >

Re: mime type problem when doing redirects

2002-01-31 Thread Gerald Richter
Hi, adding the following to your httpd.conf AddType text/xml .xml should solve your Problem Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post:

Re: really basic mod_perl usage

2002-01-31 Thread Gerald Richter
> > if i instead do the Execute in startup.pl (which would be even better, > since it could be shared by all apache children), my pages don't even > see the package. > This is strange... If I understand you right and your page only contains Perl code, I would use an ordinary Perl module: package