Hi Nick,

Nickwork Work wrote:
> The website i was supplied had "autohandler.mh" files so being
> inexperienced, i just assumed that was the file extension they had. For this
> particular site, could this mean that mason has been instructed (somewhere
> in the httpd.conf file) to use autohandler.mh files for its autohandlers
> instead of just "autohandler" (without the 'mh') extension?


"autohandler" is the default filename for Mason.  My guess is that the 
website you got used a fixed file extension so that they could match all 
*.mh files (for example) and return a NOT_FOUND.  I have a similar rule 
but I do it the long way:  *.mas|autohandler|dhandler|syshandler .

To change the default filename, that would be a Mason set up.  Take a 
look at this:

http://search.cpan.org/~drolsky/HTML-Mason-1.42/lib/HTML/Mason/Devel.pod

[and scroll down to the sentence "The administrator can customize the 
file name used for autohandlers" or just go to here:

http://search.cpan.org/~drolsky/HTML-Mason-1.42/lib/HTML/Mason/Params.pod#autohandler_name

]

I've never used it before, so if you do want to change it, you might 
want to wait for someone else to help you.


> Does anyone know where the httpd.conf file normally resides on hosted
> websites please?


I can't speak for all OS', but on a Debian machine that file sits in 
/etc/apache2 .  /etc has all the configuration files of the system.

Ray



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to