I have my Mason site and it works when not on SSL ( http:// ).  

But when I go to SSL ( https:// ) it's like Mason isn't installed.  My *.mhtml 
files aren't being parsed by mason and the Autohandler isn't getting involved.

It used to work with SSL when I didn't have my site setup as a virtual host.  
Now I have Apache 1.3 on Linux and my site is a virtual host and Mason isn't 
working on SSL.

Is there somthing I need to do to configure mason to work with this?

Here is my apache virtual host config:
<VirtualHost *>

    ServerAdmin [EMAIL PROTECTED]
 ServerName coptraps.com
 ServerAlias www.coptraps.com
    DocumentRoot /home/coptraps.com/htdocs
    CustomLog /home/coptraps.com/logs/access_log combined
    ErrorLog /home/coptraps.com/logs/error_log

 <Location /perl-status>
  SetHandler perl-script
  PerlHandler Apache::Status
 </Location>
 
 PerlSetVar  MasonCompRoot   /home/coptraps.com/htdocs
 PerlSetVar  MasonDataDir    /home/coptraps.com/mason
 PerlSetVar  MasonAllowGlobals  $dbh
 PerlAddVar  MasonAllowGlobals  $session
 PerlAddVar  MasonAllowGlobals  $auth
 PerlAddVar  MasonAllowGlobals  $cgi
 PerlAddVar  MasonAllowGlobals  $site_ip
 PerlAddVar  MasonAllowGlobals  $global_db_driver
 PerlAddVar  MasonAllowGlobals  $global_user
 PerlAddVar  MasonAllowGlobals  $global_password
 
 
 PerlModule HTML::Mason::ApacheHandler  
 
 <Perl>
 { 
  package HTML::Mason::Commands;
    use strict;
    use warnings;
    use CGI;
    use DBI;
    use CGI;
    use CGI::Session;
    use CGI::Session::Auth::DBI;
    use CGI::Carp qw(fatalsToBrowser);
    use Data::Dumper;
 }
 </Perl>
 
  
 <Directory />
   <FilesMatch "\.mhtml$">
     SetHandler perl-script
     PerlHandler HTML::Mason::ApacheHandler
   </FilesMatch>
 </Directory>
</VirtualHost>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to