OK.

With Apache I can write in httpd.conf :

<FilesMatch "(\.mas|handler)$">
   SetHandler perl-script
   PerlModule Apache::Constants
   PerlHandler "sub { return Apache::Constants::NOT_FOUND }"
</FilesMatch>

Now, when I ask for the URL http://localhost/my_component.mas
Apache sends an error "NOT FOUND".

I just want to simulate this behavior in Catalyst without Apache.

Thanks





> On Thu, Dec 21, 2006 at 10:24:20AM -0600, Jonathan Rockway
wrote:
> > I read this and assumed he wanted to know how to prevent
Static::Simple
> > from serving something.  That case is well-documented, so
I suggest that
> > he take a look at the Static::Simple documentation.
>
> Just goes to show what a badly written question leads to ...
>
> --
> Chisel Wright
> e: [EMAIL PROTECTED]
> w: http://www.herlpacker.co.uk/
>
>   What do we want? Less premature ejaculation!
>   When do we want it? ... aaw heck
>
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>

Jean-Michel Caricand
mail : [EMAIL PROTECTED]
 

Accédez au courrier électronique de La Poste
sur www.laposte.net ou sur 3615 LAPOSTENET (0,34€ TTC /mn)
1 Giga de stockage gratuit – Antispam et antivirus intégrés




_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to