Hi,

 

I try this script

Greetings, <% ("Earthlings","Martians") [rand 2] %>

 

Which supposed to be showing me "Greetings, Earthlings" or "Greetings,
Martians" in randoms. But all I got is blank page. The Apache has been
configured, this is my Mason configuration

""

PerlSetVar MasonCompRoot /opt/htdocs

PerlSetVar MasonDataDir /opt/htdocs/masonobj

 

PerlSetVar MasonAllowGlobals $dbh

PerlAddVar MasonAllowGlobals $q

 

PerlModule CGI

PerlModule DBI

PerlModule HTML::Mason::ApacheHandler

 

<FilesMatch "\.mhtml$">

    SetHandler perl-script 

    PerlHandler HTML::Mason::ApacheHandler 

</FilesMatch> 

 

""

Is there something wrong? I do notice that everytime I changed the mhtml
file, I need to delete the object that is created in /opt/htdocs/masonobj.
Is there a way for me to refresh it automatically the files changed?

 

Thanks,

 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to