Hi Adam

I actually use Apache 2, HTML Mason 2, and mod_perl 2 on a Fedora 4 server.

In case they may be of any use to you, I have tarred and gzipped my
apache config files up for you and attched them to this email.

Two more pieces of information:

All my mason files have the suffix .html.
My server is actually named: www.mysite.dev

Jim

Adam wrote:
> 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]
> <mailto:[EMAIL PROTECTED]>
>  ServerName coptraps.com
>  ServerAlias www.coptraps.com <http://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
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users
>   

Attachment: jimreys-apache-config-files.tar.gz
Description: application/gzip

begin:vcard
fn:Jim Rey
n:Rey;Jim
adr:Bradshaw;;48 Laburnum Park;Bolton;Lancashire;BL2 3BU;United Kingdom
email;internet:[EMAIL PROTECTED]
title:Software Designer Developer
tel;work:01204 593 222
tel;home:01204 593 222
tel;cell:07816 751 874
x-mozilla-html:TRUE
url:http://www.jimrey.co.uk/
version:2.1
end:vcard

-------------------------------------------------------------------------
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
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to