Hi -
I am using Apache::DBI on my test server - all OK.
When I try to use it on my production server, I get the
following-> stdout:
Shutting down httpd..done
Starting httpd [ PERL ]
Syntax OK
stderr:
/etc/init.d/apache: line 206: 18040 Segmentation fault $HTTPD_BIN
$INET6 -t -f /etc/http
I'm running into a problem with some characters being added during a
mod_perl request. An  charater is getting added when i print the
document STDOUT. When i print that exact same variable to STDERR the Â
is not added. Here are two hex dumps (via od -hc). The first is what
is sent to the web
Hi All
I know I can use $r->dir_config() to access parameter values
set in the config file with PerlSetVar, but is it possible to
access the value of generic Apache configuration directives?
I have a module that takes a request and maps it to both a
Perl class and a template for displaying the c
Marcin Kasperski wrote:
Thanks for all the people who sent me the references (both here and to
private email).
Maybe it would be good idea to add some such references to the 'sites
running modperl' page. My business client after taking a look at
http://perl.apache.org/outstanding/sites.html said
Noam Solomon wrote:
In the process of building apache_1.3.27 / mod_perl 1.3.27 /
openssl0.9.6g / mod_ssl mod_ssl-2.8.12-1.3.27 on a Solaris OS 2
UltraSparc, with Perl 5.8, the apache make failed because of an
undefined "url_delims". I was using the method where you build mod_ssl,
then build m
I guess its a your mileage may vary sort of thing. The
marketing folks here use XP and whatever IE comes with it.
I send
$r->content_type( 'application/vnd.ms-excel' ) ;
$r->header_out('Content-Disposition' =>
'attachment; filename=report.xls' ) ;
#$r->content_type( 'applicatio
> Bonus Points : Use
> Content-Disposition: attachment;filename=blabla
>
> and pre-set the name of the file on disk.
I tried it hard (in my case I generate PDF files. No way. Internet
Explorer ignored it. Finally I decided to perform redirect to URL
ending with /blabla.pdf - then it worked more-o
Thanks for all the people who sent me the references (both here and to
private email).
Maybe it would be good idea to add some such references to the 'sites
running modperl' page. My business client after taking a look at
http://perl.apache.org/outstanding/sites.html said 'nice, but there
are most
Hi all, I have a question about how to pass form data
with mod_perl and SSI.
I have an HTML page with a mod_perl script included.
The script creates a form and takes its input and then
prints output based on the input (pretty basic). I
have the form action set to the script
(action="/perl/test.c
Hi - and thank you -
I am RTFM, but when you get into something new (and vast)
it takes a while for the _gestalt_ to happen. You have
given me the kick start I needed. I'll be silent for a
time coding away ;)
Aloha => Beau.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE
[EMAIL PROTECTED] wrote:
>What about namespaces, i.e. how
>do I avoid stepping on someone else's variable?
Prepend some custom string in front of the VarName:
PerlSetVar MyApp_Var1 value1
PerlSetVar MyApp_Var2 value2
Also, note that these are scoped within the block where they
are defin
This works for me:
I'm using pdf stuff here, but you can set the
content type to whatever you want.
$r->content_type('application/pdf');$r->header_out("Content-Disposition"
=> "attachment;
filename=order.pdf");$r->send_http_header();
Marc Slagle
- Original Message -
From: "Denni
I clicked on the links I sent in my previous message and noticed that one of
them didn't work because my mail program had split the url into two pieces
at a line boundary. You may have to cut and paste the two pieces into your
browser's URL box.
You can also look for the documents by their titles
Dennis,
Microsoft has documentation on how IE handles MIME types,
content-disposition headers, etc. It may be out of date, and not accurate,
but it's certainly worth reading. Have a look at:
http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.as
p
There is also a support
--
mod_perl digest
November 4, 2002 - November 17, 2002
--
Recent happenings in the mod_perl world...
Features
o
Hello,
I'm looking for consulting software development work in the
Perl/mod_perl/DBI/Oracle/MySQL/Linux/Web area. Anything
Open Source is a plus!
I'm based in Maryland Baltimore/D.C. area. I'm flexible and
willing to travel to your location for a period of time, if needed.
More info about me her
Thanks all for the great suggestions. This group is wonderfully helpful.
I tried the quick route, setting MIME type to "application/octet-stream,"
and that works fine for xl spreadsheets, but I still get the same behavior
as before with MS Project files (browser IE 5.00.3105.0106, which is one
of
Hi!
On Mit, Nov 20, 2002 at 12:48:34 -1000, Beau E. Cox wrote:
> May I use PerlSetVar/PerlAddVar statements in the httpd.conf
> file for my own use?
Yes. Thats what they are here for.
> What about namespaces, i.e. how
> do I avoid stepping on someone else's variable?
Prepend some custom string
Hi!
On Mit, Nov 20, 2002 at 10:02:06 +0100, Juan Julian Merelo Guervos wrote:
> Hi,
> I'm having problems with apache::gallery, mod_perl 1.99 and apache 2.0
> (and who hasn't?, you might ask).
I'm not sure if Apache::Gallery works with mod_perl 2.x (and mod_perl
1.99 is the development vers
Becuase some browsers and mail clients don't follow the RFC. The RFC
clearly states that "When a mail reader encounters mail with an unknown
Content-type value, it should generally treat it as equivalent to
'application/octet-stream'" (SECTION 4 last paragraph - page 12) So my
suggestion should a
Hi -
I'm new to mod_perl, so here's my query:
May I use PerlSetVar/PerlAddVar statements in the httpd.conf
file for my own use? What about namespaces, i.e. how
do I avoid stepping on someone else's variable?
Assume I can. How can I access those variables from my mod_perl
scripts?
How can I set
Hello,
I am currently developing a modperl filter that uses the streaming
approach. I started off with the example in
http://perl.apache.org/docs/2.0/user/handlers/filters.html#Stream_oriented_Output_Filter
sub handler {
my $filter = shift;
my $left_over = '';
while ($filt
On Wed, Nov 20, 2002 at 11:24:33AM +0200, Issac Goldstand wrote:
> To force the save window is easy - make up your own content subtype (main
> type application) and set it:
>
> Content-Type: application/x-download-this-file-you-stupid-browser
>
> Remember to start with an "x-" as your type is ob
This is what I have... Your installation is not looking good.
$ ls -F /usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache2/
APR/ APR.pm Apache/ ModPerl/ auto/ mod_perl.pm typemap
E s t eb a n!
:wq
On 20 Nov 2002, Juan Julian Merel
El mié, 20-11-2002 a las 10:40, Esteban Fernandez Stafford escribió:
> Look for a Apache2 folder in your perl folder.
>
> find /usr/lib/perl -name Apache2
It's at:
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache2
but there's only a typemap file in it. Should there be something el
Look for a Apache2 folder in your perl folder.
find /usr/lib/perl -name Apache2
If you dont find it, modperl is not properly installed.
E s t eb a n!
:wq
On 20 Nov 2002, Juan Julian Merelo Guervos wrote:
> El mié, 20-11-2002 a la
No, find the location of your apache modules. For a hint type
rpm -ql perl
E s t eb a n!
:wq
On 20 Nov 2002, Juan Julian Merelo Guervos wrote:
> Hi,
>
>
> > # For the Apache::* modules
> > use lib qw(/usr/lib/perl5/site_perl/5.6.1
El mié, 20-11-2002 a las 10:25, Esteban Fernandez Stafford escribió:
> Hi Juan,
>
> I had a similar problem. To solve it I added these lines to startup.pl
> I guess you will have to change the paths to your own settings.
>
>
> # For the Apache::* modules
> use lib qw(/usr/lib/perl5/site_perl/5.6
Hi,
> # For the Apache::* modules
> use lib qw(/usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache2);
>
Does that mean I have to downgrade to 5.6.1?
J
--
Juan Julian Merelo Guervos <[EMAIL PROTECTED]>
GeNeura team
Hi Juan,
I had a similar problem. To solve it I added these lines to startup.pl
I guess you will have to change the paths to your own settings.
# For the Apache::* modules
use lib qw(/usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache2);
# For my own
use lib qw(/home/esteban/apache_mod_perl/perl);
To force the save window is easy - make up your own content subtype (main
type application) and set it:
Content-Type: application/x-download-this-file-you-stupid-browser
Remember to start with an "x-" as your type is obviously not registered with
the IANA.
The tricky part is setting up the defa
Hi,
I'm having problems with apache::gallery, mod_perl 1.99 and apache 2.0
(and who hasn't?, you might ask).
This is the setup I'm using in perl.conf
PerlSetVar GalleryTemplateDir
/home/jmerelo/public_html/gallery/templates
PerlSetVar GalleryAllowOriginal 1
SetHandlerperl-
I am working in a greek investment bank called, appropriately,
Investment Bank. It is one of the largest investment banks, and one of
the biggest financial institutions in Greece.
We are currently implementing the company's internet presence in mod_perl.
There is an existing web site that was o
33 matches
Mail list logo