That did the trick, but now I'm getting what appear to be headers printed out at the bottom.
HTTP/1.1 200 OK Date: Mon, 09 Jul 2007 04:29:10 GMT Server: Apache/1.3.33 (Unix) mod_perl/1.29 PHP/4.3.10 Keep-Alive: timeout=15, max=92 Connection: Keep-Alive, Keep-Alive Transfer-Encoding: chunked, chunked Content-Type: http://www.greenaspen.com/misc/camp-cumorah/ John Halladay Xicheng Jia wrote: > Hi, John: > > On 7/8/07, John Halladay <[EMAIL PROTECTED]> wrote: >> I can't seem to get the MasonDeclineDirs 0 parameter to take in my >> httpd.conf file. > I'm running Apache 1.3.33, mod_perl 1.29, with Mason >> 1.36 and here is what my >> entry looks like in my conf file. >> >> <VirtualHost *:80> >> DocumentRoot /usr/local/apache/htdocs/greenaspen_com/www >> ServerName www.greenaspen.com >> ServerAlias greenaspen.com >> ErrorLog /usr/local/apache/logs/greenaspen_com-error_log >> CustomLog /usr/local/apache/logs/greenaspen_com-access_log combined >> PerlSetVar MasonCompRoot /usr/local/apache/htdocs/greenaspen_com/www >> PerlSetVar MasonDataDir /usr/local/apache/mason/greenaspen_com/www >> PerlSetVar MasonDeclineDirs 0 > >> <LocationMatch "\.html$"> > > By this configuration, the Mason handler is only loaded when the URLs > end with '.html'. A directory usually ends with the slash '/', which > will never get a chance to call the Mason handler.. a solution might > be changing the above line to: > > <LocationMatch "(\.html|/)$"> > > Regards, > Xicheng > -- > perl -le'print"So~*kde~box*DS*Zoxf*fe|er"^$\x23' > > >> SetHandler perl-script >> PerlHandler HTML::Mason::ApacheHandler >> </LocationMatch> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Mason-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mason-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

