[ic] IC 4.8.5 on YDL 2.2, continued problems...

Mark Jaffe interchange-users@icdevgroup.org
Mon Jul 15 12:13:01 2002


On 7/14/02 12:34, "Ed LaFrance" <edl@newmediaems.com> wrote:

> At 12:07 PM 7/14/2002 -0700, you wrote:
>> On 7/14/02 10:50, "Ed LaFrance" <edl@newmediaems.com> wrote:
>> 
>>> At 10:42 AM 7/14/2002 -0700, you wrote:
>>>> On 7/14/02 10:11, "Ed LaFrance" <edl@newmediaems.com> wrote:
>>>> 
>>>>> At 09:35 AM 7/14/2002 -0700, you wrote:
>>>>>> Following a suggestion from a while back, I recreated a new catalog and
>>>>>> restarted the IC server. The message I see on the browser is
>>>>>> 
>>>>>> "Forbidden
>>>>>> 
>>>>>> You don't have permission to access /geminicat.cgi/index.html on this
>>>>>> server."
>>>>>> 
>>>>>> 
>>>>>> Looking at the Apache error log, it shows this:
>>>>>> 
>>>>>> [Sun Jul 14 09:21:46 2002] [error] [client 64.255.68.42] Options ExecCGI
>>>>>> is off in this directory: /usr2/sites/Gemini/geminicat.cgi
>>>>>> 
>>>>>> But if I look into the Apache config file, I have indeed set that option
>>>>>> (even though the directory mentioned IS NOT A REAL DIRECTORY!!)
>>>>>> 
>>>>>>     <Directory "/usr2/sites/Gemini/geminicat.cgi">
>>>>>>        AllowOverride None
>>>>>>         Options ExecCGI
>>>>>>         Order allow,deny
>>>>>>         Allow from all
>>>>>>     </Directory>
>>>>>> 
>>>>>> Why am I having so many problems? Is anyone else running IC on YDL?
>>>>>> 
>>>>>> Mark
>>>>> 
>>>>> /usr2/sites/Gemini/geminicat.cgi is not a directory, it is a file. try
>>>>> changing that path to /usr2/sites/Gemini and restart Apache.
>>>>> 
>>>>> - Ed L.
>>>>> 
>>>>> P.S.: I have one client running YD linux in PowerMacs, I can assure you
>>>>> that IC will work in that environment, and furthermore I did not find the
>>>>> setup to be noticeably different than on any other linux system I have
>>>>> worked with.
>>>>> 
>>>>> - Ed L.
>>>>> 
>>>> 
>>>> I did that. Now I get this error:
>>>> 
>>>> Not Found
>>>> 
>>>> The requested URL /geminicat.cgi/index.html was not found on this server.
>>> 
>>> I'd guess that either: a) the permissions are wrong (should be 755) on
>>> geminicat.cgi, or b) there is no file named geminicat.cgi in that path.
>>> 
>>> - Ed L.
>>> 
>> 
>> And yes, the perms on /home/httpd/cgi-bin/geminicat.cgi (this is the REAL
>> path to CGIs on this server) are indeed 755:
>> 
>> [root@wizdev wizards]# ls -l /home/httpd/cgi-bin/geminicat.cgi
>> -rwsr-xr-x    1 alex     alex         8376 Jul 14 09:12
>> /home/httpd/cgi-bin/geminicat.cgi
> 
> Well then I think that the scriptalias for the domain under which you are
> setting this up should point to /home/httpd/cgi-bin - do you have that
> configured in httpd.conf? I don't see where your Directory entry above is
> going to come into play here.
> 
> Perhaps you should start with the basics - get a little 'Hello world' cgi
> script working under your httpd setup; there is a simple script that comes
> with the Interchange dist called testcgi which should do. When you can get
> that working, the interchange catalog should not be far behind.
> 
> - Ed L.

OK, so I decided to do some looking at the FAQ pages and came across some
interesting results. In the FAQ where it talks about configuration problems
and making sure scripts execute with suid and so on, there is mention of
cgi-bin/simple as an example. So I go to the server and look for that
script. I do NOT find it where I am supposed to, it is only in the
foundation/templates from the tar-ball! Should this have been installed with
the rest of the pages, and might there be some more files that did not get
installed? What about /etc/socket? (Does not exist on my YDL machine.)

Are you available for consultation? (I cannot pay you...)

Mark 
============================================================
Mark Jaffe            | (408) 972-9638 (home)
Chief Wizard          | (408) 807-1530 (cell/page/voicemail)
Computer Wizards      | (425) 795-6421 (FAX)
wizards@c-wizards.com | http://www. c-wizards.com/