Mailing List Archive

Interchange running, demo site not running
Hello! I have installed Perl 5.6.0 and the latest Interchange on my
server. I have set up a default catalog and told it to use .cgi
scripts. I have installed the .cgi script into the web site's root
directory.

I can see the first page of the demo site by using a browser and going
to http://www.sitename.com/construct

If I type in http://www.sitename.com/construct.cgi, it says that the
user does not have appropriate privaleges to run the cgi script.
Interchange set the user of this file to "interch".

If I set it up to use non-.cgi extension files and put "contruct" into
/cgi-bin, then the server opens and displays the file, which looks like
an ELF file.

In either case, when I click on a link, my server comes back with "file
not found".

Oh, the Interchange daemon loads and runs without a problem.

What is my problem? What have I done wrong?

Please write back - my email is dave@htxtech.com and kokuryu@kokuryu.com

--Dave
Interchange running, demo site not running [ In reply to ]
What OS? Do you have the root dir set to ExecCGI?

Steve

David Somner wrote:

> Hello! I have installed Perl 5.6.0 and the latest Interchange on my
> server. I have set up a default catalog and told it to use .cgi
> scripts. I have installed the .cgi script into the web site's root
> directory.
>
> I can see the first page of the demo site by using a browser and going
> to http://www.sitename.com/construct
>
> If I type in http://www.sitename.com/construct.cgi, it says that the
> user does not have appropriate privaleges to run the cgi script.
> Interchange set the user of this file to "interch".
>
> If I set it up to use non-.cgi extension files and put "contruct" into
> /cgi-bin, then the server opens and displays the file, which looks like
> an ELF file.
>
> In either case, when I click on a link, my server comes back with "file
> not found".
>
> Oh, the Interchange daemon loads and runs without a problem.
>
> What is my problem? What have I done wrong?
>
> Please write back - my email is dave@htxtech.com and kokuryu@kokuryu.com
>
> --Dave
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users

--
=========================================================
WDI Steve & Patti Getzinger
702 Lincolnway West steveandpatti@wubs.org
South Bend, IN 46616 http://www.wubs.org/
219-287-4700 (Main Office) 317-535-0239 (Direct Line)
=========================================================
Interchange running, demo site not running [ In reply to ]
On Tue, Jan 09, 2001 at 12:31:00PM -0500, David Somner wrote:

> If I type in http://www.sitename.com/construct.cgi, it says that the
> user does not have appropriate privaleges to run the cgi script.
> Interchange set the user of this file to "interch".

What webserver are you running, and what version? Have you checked the
web server's log files?

If you're using Apache, check the ownership of the link file. Also, make
sure the owner is set correctly, particularly if you are using suexec with
VirtualHost containers. Make sure you can actually execute cgi in the
directory where the link has been copied.

Try a test.cgi or something like that. Make it look like this:

#!/usr/bin/perl
print "content-type: text/html\n\n";
print "foo!\n";

Get that working, and whatever you had to do to get it working, do the
same to the Interchange link file. :-)

2
Regards, /|/|
/ | (MSquared)
--
___________________________________________
M Squared <msquared@digitalwizards.com.au>
Product development
Digital Wizards
http://www.digitalwizards.com.au