Implementing abstract URI with mod_perl?

[prev] [thread] [next] [Date index for 2005/04/19]

From: Devin Murphy
Subject: Implementing abstract URI with mod_perl?
Date: 16:30 on 19 Apr 2005
I'm trying to implement abstract URL / URI calls.

For my htdocs directory (and .html files), the
MultiViews option works fine.  For example,
http://localhost/address will resolve to its
respective html file.

No such luck when I'm trying to get Apache to resolve
.pl files.  For example, http://localhost/perl/counter
gives me a 404 error.  (The full path,
http://localhost/perl/counter.pl, works right)

The idea is to hide the .pl extension from average
users / links / &c.

I've set up a simple Location tag:

<Location /perl>
   SetHandler perl-script
   PerlHandler ModPerl::Registry
   Options +ExecCGI
   PerlSendHeader On
</Location>

And it seems like MultiViews option causes problems
with the scripts (it denies access / 403 error).

Also no luck setting up a typemap / .var file.

Any hints?

Thanks,

Devin Murphy


		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

Implementing abstract URI with mod_perl?
Devin Murphy 16:30 on 19 Apr 2005

Re: Implementing abstract URI with mod_perl?
Slava Bizyayev 17:35 on 19 Apr 2005

Generated at 09:30 on 27 Apr 2005 by mariachi v0.52