Hello all,
-- The Problem --
When i try try retrieve http://www.clickly.com/index.html
(Test-Site: not the real clickly.com) i get a blank return and i
mean a real blank content return (tried it with telnet to port 80 and
the server only sends back the headers of the web-page?)
Does anybody know what the problem is? I'va tried all sorts of
things but nothing worked.
Thanks in advance,
Guido Moonen
-- The Stuff i have --
* Solaris V 2.6 op Sun ultrasparc.
* perl, v5.6.0 built for sun4-solaris
* Server version: Apache/1.3.12 (Unix)
Server built: Sep 6 2000 14:51:05
* mod_perl-1.24
* Mason v. 0.88
-- Handler.PL --
<< SNIP >>
my (%parsers, %interp, %ah);
foreach my $site qw(www modified management)
{ $parsers{$site} = new HTML::Mason::Parser(allow_globals =>
[qw($dbh %session)]);
$interp{$site} = new HTML::Mason::Interp (parser=>$parsers{$site},
comp_root=>"/clickly/html/$site/",
data_dir=>"/clickly/masonhq/$site/",
system_log_events=>"ALL");
$ah{$site} = new HTML::Mason::ApacheHandler(interp=>$interp{$site});
chown (scalar(getpwnam "nobody"), scalar(getgrnam "nobody"),
$interp{$site}->files_written);
}
sub handler
{ my ($r) = @_;
my $site = $r->dir_config('site');
return -1 if $r->content_type && $r->content_type !~ m|^text/|i;
my $status = $ah{$site}->handle_request($r);
return $status;
}
<< SNIP >>
-- httpd.conf --
<< SNIP >>
# www.clickly.com (Default)
<VirtualHost 192.168.0.210>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /clickly/html/www
ServerName www.clickly.com
PerlSetVar site 'www'
<Directory "/clickly/html/www">
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
alias /mason /clickly/html/www
<Location /mason>
SetHandler perl-script
PerlHandler HTML::Mason
</Location>
</VirtualHost>
<< SNIP >>
==============================
Guido Moonen
Clickly.com
Van Diemenstraat 206
1013 CP Amsterdam
THE NETHERLANDS
Mob: +31 6 26912345
Tel: +31 20 6934083
Fax: +31 20 6934866
E-mail: [EMAIL PROTECTED]
http://www.clickly.com
Get Your Software Clickly!
==============================