[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Server-Side Include isn't workin' :(
From: Sam Carleton <scarleton () miltonstreet ! com>
Date: 2000-03-31 19:25:46
[Download RAW message or body]
I have followed the example in "Writing Apache Modules in Perl and C".
The module Apache::ESSI is working fine for a virtual site (development
site), but it does not work for the main (non-virutal) site. Here a bit
of my httpd.conf:
-------------------------------------------------------------
##
## httpd.conf -- Apache HTTP server configuration file
##
[...snip...]
ResourceConfig conf/perl.conf
[...snip...]
ServerAdmin webmaster@miltonstreet.com
ServerName miltonstreet.tzo.com
DocumentRoot "/data01/www/miltonstreet"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/data01/www/miltonstreet">
Options FollowSymLinks MultiViews Includes ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
[...snip...]
<VirtualHost 192.168.0.5:80>
DocumentRoot /data01/www/dev-collect-lure
<Directory "/data01/www/scripts/cgi-bin-dev">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Location /images>
SetHandler perl-script
PerlHandler Apache::Magick
</Location>
</VirtualHost>
-------------------------------------------------------------
Apache::ESSI works fine on the 192.168.0.5 web site, but does not work
on the miltonstreet web site. Here is the perl.conf:
-------------------------------------------------------------
# perl.conf
PerlRequire /data01/www/scripts/startup.pl
PerlFreshRestart On
<Location /hello/world>
SetHandler perl-script
PerlHandler Apache::Hello
</Location>
<Files ~ "\.ehtml$">
SetHandler perl-script
Perlhandler Apache::ESSI
PerlSetVar ESSIDefs conf/essi.defs
</Files>
AddType text/html .ehtml
<Location /image>
SetHandler perl-script
PerlHandler Apache::Magick
</Location>
-------------------------------------------------------------
Any thoughts on what I am doing wrong?
Sam
P.S. the miltonstreet site is: http://miltonstreet.tzo.com/index.ehtml
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic