This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Subject: [Slashcode] Slashcode and virtual hosts From: jim.weller@gci.net (James Weller) Date: Thu, 22 Jun 2000 09:47:07 -0800 (AKDT) All hail slash. I now have a psuedo-working slash. But I'm experiencing some anomalous behavior from the vhosts portion. If I start a single host (non vhost) server I have a perfectly working slash. And I love it. But I need virtual hosts to support a couple of hosted domains. So I modify the distributed vhosts.httpd.conf file to reflect my local paths. When I fire up the webserver and slashd and all the goods I get internal server errors for every slash and sub-slash page. Where slash-error_log says [Thu Jun 22 17:23:20 2000] [error] Unknown error Compilation failed in require at /home/www/slash/public_html/admin.pl line 30. BEGIN failed--compilation aborted at /home/www/slash/public_html/admin.pl line 30. BTW "use Slash;" is on line 30 It bails like this for any file (all) that "use Slash". Here's the wierd crap. If I start the single host server which works. Then copy the vhosts httpd.conf file into place and restart the server then the vhosts setup works without a problem. So my question is why does Slash.pm only compile in singler server mode? === Subject: Re: [Slashcode] Slashcode and virtual hosts From: jim.weller@gci.net (James Weller) Date: Thu, 22 Jun 2000 11:28:53 -0800 (AKDT) Cliff Wood <cbwood@exit118.com> wrote: >On Thu, 22 Jun 2000 09:47:07 -0800 (AKDT), James Weller said: > >> All hail slash. >> >> I now have a psuedo-working slash. But I'm experiencing some anomalous >> behavior from the vhosts portion. >> >> If I start a single host (non vhost) server I have a perfectly working >> slash. And I love it. >> >> But I need virtual hosts to support a couple of hosted domains. > >Just so you know, I have slash running on an httpd with at least 3 vhosts. >> So I modify the distributed vhosts.httpd.conf file to reflect my local >> paths. When I fire up the webserver and slashd and all the goods I >> get internal server errors for every slash and sub-slash page. Where >> slash-error_log says >> >> [Thu Jun 22 17:23:20 2000] [error] Unknown error >> Compilation failed in require >> at /home/www/slash/public_html/admin.pl line 30. >> BEGIN failed--compilation aborted >> at /home/www/slash/public_html/admin.pl line 30. >> >> BTW "use Slash;" is on line 30 >> >> It bails like this for any file (all) that "use Slash". > >OK. I admit, that is odd. ;-) >> Here's the wierd crap. If I start the single host server which works. >> Then copy the vhosts httpd.conf file into place and restart the server >> then the vhosts setup works without a problem. >> >> So my question is why does Slash.pm only compile in singler server mode? >OK, it might help if I could get a copy of your httpd.conf file, since I >haven't seen this error before. Like I said, I have vhosts working, so my >guess is that it's something unique to your setup. Thanks for the reply! I should mention that I'm only running slash on one of the vhosts. I posted the conf files here... http://saturn.math.uaa.alaska.edu/~wellerj/ ===