We send a good deal of templated based E-Mail with the option to edit right
before sending. The editing is done via webpage running under
mod_perl/Apache or PerlEx/IIS with Oracle and MSSQL backends respectively.
Anyone know of any good modules to add a spellchecker ability to this edit
This differs from Embperl where the application layer itself handles
the XSLT rending, not the script/XML file:
PerlSetEnv EMBPERL_RECIPE LibXSLT
PerlSetEnv EMBPERL_XSLTPROC libxslt
PerlSetEnv EMBPERL_XSLTSTYLESHEET $ROOT/hello.xsl
So perhaps Embperl 2 is able to do some
I just installed Apache and mod_perl, but for some reason when I execute
scripts through my Apache server it shows all of the Perl code:
#!C:/Perl/bin/Perl.exe
print Content-type: text/html\n\n;
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|\n|\\n|g;
$val =~ s||\\|g;
Geoff,
The reason I was using an internal redirect was that I wanted to maintain
the request for the following page.
The internal_redirect is being called in several circumstances - From
PerlAuthenHandler, PerlAuthzHandler and a PerlHandler for login().
1) Is there any
Hi,
Usually, a perl script when not set to chmod +x or as executable file will
just be treated as an ordinary text file. This may be the reason why you get
the text file instead of executing the commands inside the file. Please make
sure you:
chmod +x your_script.pl
Then try to execute first
Hello B.
From the FAQ:
My CGI/Perl Code Gets Returned as Plain Text Instead of Being Executed by the Webserver
Check your configuration files and make sure that the ExecCGI is turned on in your
configurations.
Location /perl
SetHandler perl-script
PerlHandler Apache::Registry
Hello B.
I just reread your question it is MP2. For ModPerl2 there is another answer in the FAQ:
Apache::Registry, Apache::PerlRun and Friends
Apache::Registry, Apache::PerlRun and other modules from the registry family now live
in
the ModPerl:: namespace to avoid collisions with the versions
From: Gerald Richter [mailto:[EMAIL PROTECTED]
Yes, Embperl per default caches a compiled version of the
stylsheet in
memory.
Gerald
P.S. There are also options to cache the result of the xslt
transformation
or any itermediate steps
Oh - A way of making it even faster in the
It seams to be your configuration problem on your apache.
Make sure this on your httpd.conf:
Directory /
Options FollowSymLinks +ExecCGI
AddHandler cgi-script cgi pl
AllowOverride None
/Directory
Willy
Stas Bekman wrote:
Can you send a short script (removing all the irrelevant bits) that we
can reproduce the problem with?
Made a script that generated the same POST request and same
redirect as the problem code. The problem was not reproduced!
The only difference I can see between working POSTs
Hello Philip
I just digged my way through Ispell a great spell checking module
with libraries for many languages:
http://fmg-www.cs.ucla.edu/geoff/ispell.html
See the my latest contribution on this topic in the Mason thread:
http://marc.theaimsgroup.com/?l=masonm=104657497230694w=2
I used it
Hello all,
currently I'm working over XML::Sablotron module, bringing it alive in
the multithreaded environment. I searched both of Apache and mod_perl
documentation, but there is one issue, I do not understand.
Is there some relation between Perl threads and Apache threads? What I
mean: If
On Thu, 6 Mar 2003, Stas Bekman wrote:
Nick Tonkin wrote:
On Wed, 5 Mar 2003, Richard Clarke wrote:
Hi,
I'm trying to figure out why my accesshandler is getting triggered twice
for each request that I make. I'm 100% sure that I'm doing no explicit
lookups/redirects anywhere in my
Pavel Hlavnicka wrote:
Is there some relation between Perl threads and Apache threads? What I
mean: If Apache fires a new thread, what happens in mod_perl? Are perl
structures copied from the parent thread interpreter to the new one?
... or is the new perl environment clean?
Have you read this?
Oops, I overlooked the forst reading. Sorry for this.
Anyway, even after reading this, I'm not really sure, what may happen.
Is it possible, that some new interpreter is cloned later then the pool
is created, and is it possible, that ANY interpreter cloning will clone
my global data? (I really
Also have a look as 'aspell', which I found to have a more extensive
dictionary and thus suggestions for words. I also discovered that sending
stdin to it from a perl script can be quite slow (e.g. an email that has
several replies), however there's a perl module interface that I also
Hello,
I've been following the thread on AIX4.3.3 and mod_perl1.99_08 from Darryl
Priest. I've been trying to install the mod_perl and by following the thread
I was able to get to the point below by touching
./src/modules/perl/mod_perl.exp. I wasn't able to find any mod_perl.exp that
was
[ Please keep posts on the list. I am not the most knowledgeable person
here about threads, mp2, or XS code. ]
Pavel Hlavnicka wrote:
Thanks again,
I'm solving following problem: generally may happen, that somebody has
an instance of XML::Sablotron (and of few more packages) allocated in
the
Philip M. Gollucci wrote:
We send a good deal of templated based E-Mail with the option to edit right
before sending. The editing is done via webpage running under
mod_perl/Apache or PerlEx/IIS with Oracle and MSSQL backends respectively.
Anyone know of any good modules to add a spellchecker
On Thu, 6 Mar 2003, Bill Moseley wrote:
[snip]
A bit off topic, but I have a similar need. I have a form where HTML is
entered. I can easily parse out the text with HTML::Parser, and build a
list of incorrectly spelled words, open in another window and show the
words and a list for
On Thu, Mar 06, 2003 at 12:23:49PM -0600, Ken Y. Clark wrote:
[snip]
A bit off topic, but I have a similar need. I have a form where HTML is
entered. I can easily parse out the text with HTML::Parser, and build a
list of incorrectly spelled words, open in another window and show the
On Wed, 5 Mar 2003, Richard Heintze wrote:
Since I had such a tough time installing mod_perl on
Win2000, I thought I would solicit for experiences
getting Hello, World running with EmbPerl on Apache
HTTPD on Windows2000.
What URL did you download embperl from?
Did you get any errors
Hi,
I´m protecting a directory of my site with mod_perl, but all .shtml files inside it don´t get parsed by mod_include.
There are any way that shtml files get parsed?
thanksMSN Messenger: converse com os seus amigos online. Instale grátis. Clique aqui. Get 2 months FREE*.
Hi,
I´m protecting a directory of my site with mod_perl, but all .shtml files
inside it don´t get parsed by mod_include.
There are any way that shtml files get parsed?
thanks
_
MSN Hotmail, o maior webmail do Brasil.
You have to install a fixup handler to tell the server to parse them
again, i have the following in my config file:
-- in httpd.conf --
PerlFixupHandler +NetChant::Component::Handlers::shtmlFixupHandler
and my shtmlFixupHandler subroutine looks like:
#
#
Hi,
This is because your perl handler is not active.
How did you setup your apache for perl scripts under mod_perl ?
I see you're using windows ?
Are you sure mod_perl is working (check out Apache error log when it starts) ?
Take a look at the docs for Apache::Registry or Apache::PerlRun.
I
Can Apache 2 Filters be implemented in Apache 1.3.x via
mod_perl ?
My goal is to rewrite some parts of the body of a web
page before it is sent
back to the client (Output Filter). I have it
working in Apache 2 using an Output Filter.
However, I'm forced to return to Apache 1.3.x; I
Sorry - implemented via mod_perl
1.x
- Original Message -
From: David Culp
To: [EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 11:13 PM
Subject: Help - Can Apache 2 Filters be implemented in Apache 1.3.x
via mod_perl
Can Apache 2 Filters be implemented in Apache 1.3.x via
Apache::compat is useful during the mp1 code porting. Though remember that
it's implemented in pure Perl. In certain cases it overrides mp2 methods,
because their API is very different and doesn't map 1:1 to mp1. So if
anything, not under my control, loads Apache::compat my code is forced to
I'm solving following problem: generally may happen, that somebody has
an instance of XML::Sablotron (and of few more packages) allocated in
the interperter at the time, the perl is cloned.
Sablotron objects are just wrappers around internal c++ structures,
and the only data, they keep, are
On Thu, 2003-03-06 at 23:13, David Culp wrote:
Can Apache 2 Filters be implemented in Apache 1.3.x via mod_perl [1.x]?
No. However, there are a couple of method for doing this in 1.x. See
Apache::Filter or Apache::OutputChain.
- Perrin
31 matches
Mail list logo