[EMAIL PROTECTED] wrote:
Is there a way that I can find out how a user has requested a page?
Everything I have read suggests that I can do it by
$r->parsed_uri->scheme, but this always seems to yeild undef.
thanks in advance.
It would help alot if you showed us what you are working with.
use SELinux:
http://fedora.redhat.com/docs/selinux-apache-fc3/
Cheers to Linux,
Jonathan Steffan
P.S. I think you need to restart for the changes by
system-config-securitylevel to take effect.
Blair Copeland wrote:
Thanks to the brilliance of Jonathan Steffan it turns out that Fedora 4
has SELinu
7; because you can rock your SELinux contexts while not enforcing. You
would then have to relabel... and that might be a pain in the rear.
Jonathan Steffan
Blair Copeland wrote:
My perl script will not work correctly when run from Apache2 but works
fine from the command line.
Apache2 invoke
The rewrite rule is different. Something like:
RewriteRule ^(*.)/(*.)/(*.)
http://localhost:8080/perl-bb/script.pl?a=$1&b=$2&c=$3 [P]
However, I worked around the issue and used a ProxyPass to pass the
request to the backend and _then_ do the rewrite. The handler is also
different.
-Jon
P
index.pl
**
Did not seem to work for me... but I only had a minute to test.
Jonathan
Perrin Harkins wrote:
On Thu, 2005-09-29 at 18:22 -0600, Jonathan Steffan wrote:
I tried with my FC3 machine (Apache::Registry) and I could also not get
index.pl to be the default document.
It
I tried with my FC3 machine (Apache::Registry) and I could also not get
index.pl to be the default document.
Jonathan
Perrin Harkins wrote:
On Thu, 2005-09-29 at 17:24 -0600, Jonathan Steffan wrote:
Well... This is what you need to do.
Add to your mod_perl enabled block.
(Lock this
Well... This is what you need to do.
Add to your mod_perl enabled block.
(Lock this down more later): AllowOverride All
In .htaccess file where you want index.pl to handle requests:
ErrorDocument 404 /path/to/index.pl
Hope this fixes it. I use it.
-Jonathan
Dickon Newman wrote:
I tried
1.
Concept:
2.
3.
GET http://domain.tld/search/a/b/c (via :80)
4.
rewrite search/a/b/c ->
http://localhost:8080/perl/script?a=a&b=b&c=c [P] (via .htaccess
RewriteRule) [OK] (localhost:8080 is another apache w/mod_perl)
5.
proxy: http://localhost:8080
Hello again all,
I have a static frontend apache (2.0.40 mp1.99) and a backend apache
(2.0.54 mp2) that run my searches. I am mod_rewriting the frontend
apache to take /search/a/b/c and rewrite it to the backend running on
host:81. The backend is where the perl code is. So search/a/b/c ->
htt
Hello again all,
I am thinking about using perl to package RPMs. I am going to do the
interface via mod_perl for managing the tree. Anyone have experience
with building rpms with perl? I hope I'm not starting from scratch.
Thanks in advance.
Jonathan Steffan
P.S. As background, I am
Philip M. Gollucci wrote:
Jonathan Steffan wrote:
no conflicting prior mod_perl version found - good.
[ error] '/opt/httpd/bin/apxs -q INCLUDEDIR' failed:
[ error] Can't locate strict.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.7/i686-linux /usr/local/lib/perl5/5.
Thanks everyone for all your help. I am still having issues. When
installing to /opt everything works fine untill I go to install
mod_perl. I am erroring out on the line...
/opt/perl/bin/perl Makefile.PL MP_APXS=/opt/httpd/bin/apxs
-fails with-
Reading Makefile.PL args from @ARGV
MP_APXS =
Tom Schindl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I went back to my 2.0.40 install of Apache. The 2.0.54 was not playing
nice with plesk. How do I update the @INC path and/or mod_perl for the
new perl 5.8.7? I try using CPAN with install Bundle::Apache and no go.
Any ideas?
Stas Bekman wrote:
Philip M. Gollucci wrote:
[...]
Actually from the README,
*** Prerequisites ***
Apache:
Dynamic mod_perl (DSO):Apache 2.0.47 - 2.0.54.
Static mod_perl: Apache 2.0.51 - 2.0.54.
Newer Apache versions may work with this version of mod_perl. If
not, the
Tom Schindl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I went back to my 2.0.40 install of Apache. The 2.0.54 was not playing
nice with plesk. How do I update the @INC path and/or mod_perl for the
new perl 5.8.7? I try using CPAN with install Bundle::Apache and no go.
Any ideas?
Jonathan Steffan wrote:
After much work, I have installed perl 5.8.7 with all the modules I
need. I had to upgrade to Apache 2.0.54 from 2.0.40 to be able to
install mod_perl2. The new server seems to be working. I still have
not gotten anything running. I'm stuck with a problem with mo
After much work, I have installed perl 5.8.7 with all the modules I
need. I had to upgrade to Apache 2.0.54 from 2.0.40 to be able to
install mod_perl2. The new server seems to be working. I still have not
gotten anything running. I'm stuck with a problem with mod_php and the
server just not st
I did get the script I have been working with to run once... well
twice... then I restarted the httpd server and bam... no go again. It
worked after I ran the following:
perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'
Still works from the command line and not from Apache::Registry::handl
Perrin Harkins wrote:
On Thu, 2005-08-18 at 12:21 -0600, Jonathan Steffan wrote:
I have no idea how. I can't use yum... nor can I use the CPAN shell. Any
advice on how to complete this?
Installing things from CPAN is pretty well-covered in the Perl
documentation, and not just
Perrin Harkins wrote:
On Thu, 2005-08-18 at 12:21 -0600, Jonathan Steffan wrote:
I have no idea how. I can't use yum... nor can I use the CPAN shell. Any
advice on how to complete this?
Installing things from CPAN is pretty well-covered in the Perl
documentation, and not just
Perrin Harkins wrote:
On Thu, 2005-08-18 at 12:08 -0600, Jonathan Steffan wrote:
ModPerl::Registry: Can't locate object method "request" via package
"Apache" at /usr/lib/perl5/5.8.0/CGI.pm line 342.!
The location of the error changes as I do misc. work arounds.
Afternoon Group. I have been working on this for some time and Googling
it. So now I am here.
I am migrating to a new server. I am having some weird problems. For
one, I can't seem to get CPAN to update modules... or install the
'r'ecommened updates. Any help with that would rock.
The core i
22 matches
Mail list logo