[ic] Trying to get Interchange::Link to work with 5.2

Kip Lawrence kip at jkcrafts.com
Wed Aug 11 15:26:35 EDT 2004

Hi all,

I'm trying to get Interchange::Link to work with my 5.2 interchange. 
Everything works perfectly if I use the cgi-bin method to access my 
store and backend but I can't seem to get Link to work. All I get is a 
completely blank page.

Perl v5.8.4
Apache/2.0.50 (Gentoo/Linux) mod_perl/1.99_11 Perl/v5.8.4 mod_ssl/2.0.50 
OpenSSL/0.9.7d PHP/4.3.8 configured

I have uncommented all of the warns in Link.pm and have attached at the 
bottom of this email what results I get when I try to go to /shop using 

Does any have any ideas for me?

Thank you,


Here is what I have in my apache2.conf file:
PerlModule Apache2
PerlRequire /etc/perl/startup.pl

Here is what I have in my vhosts.conf file:
<VirtualHost xx.xxx.xxx.xxx:80>
ServerName www.jkcrafts.com
DocumentRoot /var/www/www.jkcrafts.com/htdocs
ScriptAlias /cgi-bin/ /var/www/www.jkcrafts.com/cgi-bin/
  <Location /shop>
    SetHandler perl-script
    PerlResponseHandler  Interchange::Link
    PerlOptions +GlobalRequest
    PerlSetVar InterchangeServer /usr/local/interchange/etc/socket
    PerlSetVar OrdinaryFileList "/store/images/"

My socket permissions are:
www Interchange # ls -al /usr/local/interchange/etc/socket
srw-rw-rw-  1 interch interch 0 Aug 11 13:28 

----- /var/log/apache2/error_log
current location=/shop
Entering handler.
Got arguments.
Connection=Apache::Connection=SCALAR(0x8790ad4) at 
/etc/perl/Interchange/Link.pm line 446.
Getting location /shop
checking for OrdinaryFile (?-xism:^/store/images/)
header Host/HTTP_HOST=www.jkcrafts.com
header User-Agent/HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 
5.1; en-US; rv:1.7.2) Gecko/20040803
header Accept-Language/HTTP_ACCEPT_LANGUAGE=en-us,en;q=0.5
header Accept-Encoding/HTTP_ACCEPT_ENCODING=gzip,deflate
header Accept-Charset/HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7
header Keep-Alive/HTTP_KEEP_ALIVE=300
header Connection/HTTP_CONNECTION=keep-alive
header Cache-Control/HTTP_CACHE_CONTROL=max-age=0
Got environment.
Got entity.
vlink /usr/local/interchange/etc/socket RandomServer=
Ready to connect.
reading from SOCK
GOT header read from SOCK: Status: 404 Not found

GOT header read from SOCK: Content-Type: text/plain

GOT header read from SOCK: Content-Length: 24

GOT header read from SOCK:

Setting header=Status to '404 Not found'
Setting header=Content-Length to '24'
404 not found status

More information about the interchange-users mailing list