FilesMatch for files that don't exist

2001-09-17 Thread dss
these .phtml files don't actually exist and FilesMatch wants a physical file on the server. I'm curious if my approach is the best way. httpd.conf -- PerlModule Apache::Controller Directory /usr/local/apache/htdocs SetHandler perl-script PerlHandler Apache::Controller /Directory Apache

Re: FilesMatch for files that don't exist

2001-09-17 Thread dss
Ooops, that should be: Apache::Controller (simplified for clarity) --- package Apache::Controller; use strict; use Apache::Constants qw( :common ); sub handler { my $r = shift; my $cv; if( $r-uri =~ m{\.phtml$} ) { $cv =

Re: FilesMatch for files that don't exist

2001-09-17 Thread Perrin Harkins
, so these .phtml files don't actually exist and FilesMatch wants a physical file on the server. I'm curious if my approach is the best way. It's easier to use a directory structure, i.e. everything under /perl/ is handled by your controller module. You should also look at Apache::Dispatch

Re: FilesMatch for files that don't exist

2001-09-17 Thread dss
--- Perrin Harkins [EMAIL PROTECTED] wrote: It's easier to use a directory structure, i.e. everything under /perl/ is handled by your controller module. You should also look at Apache::Dispatch. Thanks. Unfortunately I'm trying to please the designers and forcing them to put everything

Re: FilesMatch for files that don't exist

2001-09-17 Thread darren chamberlain
dss [EMAIL PROTECTED] said something to this effect on 09/17/2001: The issue is that I'm using virtual urls, so these .phtml files don't actually exist and FilesMatchwants a physical file on the server. I'm curious if my approach is the best way. Shouldn't LocationMatch be what you want?