March 14th, 2005

PERL Problems

Heya Guys,

I recently attempted to install LiveJournal, and have encountered quite a few errors on the way, mostly of which we've managed to sort out so far, but sadly, we've encountered one we cant seem to overcome:

Collapse )

This script always seems to fail with the same errors. We know we've got installed, just the script cannot seem to find it. Is there any way to fix this?

We're running:

Apache 1.3.33
Pel 5.8.5



James J
  • tauno

Apache/mod_perl LiveJournal Problem

I've been mucking around trying to get the LJ code to work on Apache 1.3.33. I've got it running nicely when I use the IP address, but it refuses to work (404 errors) with the hostname. Initially I assumed the problem was with apache, but the hostname works fine when I comment out  the "PerlRequire  /home/lj/cgi-bin/" line and add in a DocumentRoot of /home/lj/htdocs - the site of course doesn't work since it's not loading on the & stuff.

I've tried modifying various lines in the cgi-bin/modperl*.pl files and got nothing. Apache does fail if there's a syntax error, so it's reading the file. Below is my VirtualHost section from httpd.conf

        PerlSetEnv   LJHOME /home/lj
        PerlRequire  /home/lj/cgi-bin/
        <Directory "/home/lj">
            Options Indexes FollowSymLinks ExecCGI
        #for speed, instead of "All"
            AllowOverride None
            Order allow,deny
            Allow from all

Like I said before, using the IP address works, as does the domain when I comment out the PerlRequire line and add a DocumentRoot line.

Any ideas? I'm still learning mod_perl/perl so perhaps I'll stumble on it soon.