On Jul 22, 2009, at 10:27 AM, Torsten Foertsch wrote:
If you want, it's actually possible to take this even further and
remove rewrite completely.
SetHandler perl-script
PerlHandler Apache2::Alex::SemanticWeb
Then alter your handler's code to parse $r->uri and extract
everything after
On Wed 22 Jul 2009, Adam Prime wrote:
> Eric Lease Morgan wrote:
> > On Jul 22, 2009, at 12:05 AM, Adam Prime wrote:
> >
> > By first changing my Location directive to the following:
> >
> >
> >SetHandler perl-script
> >PerlHandler Apache2::Alex::SemanticWeb
> >
> >
> > And then changin
Eric Lease Morgan wrote:
On Jul 22, 2009, at 12:05 AM, Adam Prime wrote:
By first changing my Location directive to the following:
SetHandler perl-script
PerlHandler Apache2::Alex::SemanticWeb
And then changing my RewriteRule to this:
RewriteRule ^/etexts/id/(.*) /sandbox/semanti
On Jul 22, 2009, at 12:05 AM, Adam Prime wrote:
SetHandler perl-script
PerlHandler Apache2::Alex::SemanticWeb
What am I doing wrong? Does an actual file need to exist in order
for
mod_perl to find it?
No.
I didn't think so, but what sort of configuration do I need to do
so m
Eric Lease Morgan wrote:
>
> On Jul 21, 2009, at 9:45 PM, Nick Wellnhofer wrote:
>
>>> What am I doing wrong? Does an actual file need to exist in order for
>>> mod_perl to find it?
>>
>> No.
>
>
> I didn't think so, but what sort of configuration do I need to do so my
> mod_perl packages get e
On Jul 21, 2009, at 9:45 PM, Nick Wellnhofer wrote:
What am I doing wrong? Does an actual file need to exist in order for
mod_perl to find it?
No.
I didn't think so, but what sort of configuration do I need to do so
my mod_perl packages get executed without the existence of a file?
--
Eric Lease Morgan wrote:
> What am I doing wrong? Does an actual file need to exist in order for
> mod_perl to find it?
No.
> How should I edit httpd.conf so I can: 1) rewrite
> GET requests, and 2) execute the result in a mod_perl module?
Try the mod_rewrite "passthrough" (PT) flag:
Rewrit
On Jul 21, 2009, at 9:32 PM, Eric Lease Morgan wrote:
How do I get Apache's RewriteRule, Location, and PerlHander to work
nicely together?...
I now want to implement a RewriteRule -- a la a "cool" linked data
URL -- to redirect URLs with a specific shape to SemanticWeb.pm, and
I use the