ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> modperl
modperl
dhandler not performing as expected
by Matthew Lineen other posts by this author
Dec 7 2006 11:18AM messages near this date
MODPERL and Reverse Proxy | Re: dhandler not performing as expected
Mason Gurus:

I have the following dhandler issue with mason/mod_perl/apache v1.3:

On disk, I have the following files...

/home/me/inherit/one/index.html
/home/me/inherit/one/test/dhandler
/home/me/inherit/one/test/override  <-- this is a file not a dir

When I access "http://localhost/me/inherit/test/override/foo", why do I 
see the contents of the "override" file?  I would expect that the 
dhandler *should* be serving this!

Then, if I call $m-> decline() in the override file, why is 
$m-> dhandler_arg() = 'override'?  I would expect that it should be 
'override/foo'!

Thanks in advance,
Matthew

-----
httpd.conf...

Alias   /me/inherit	/home/me/inherit/one
<Directory              /home/me/inherit/one> 
  DirectoryIndex index.html
  SetHandler perl-script
  PerlHandler HTML::Mason::ApacheHandler
  PerlAddVar  MasonCompRoot "one =>  /home/me/inherit/one"
  PerlSetVar  MasonDataDir  /home/me/inherit/masondata
  Allow from all
</Directory> 
Thread:
Matthew Lineen
Matthew Lineen

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved