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

Mark Jaffe interchange-users@icdevgroup.org
Sun Jul 14 15:48:01 2002


On 7/14/02 12:04, "cfm@maine.com" <cfm@maine.com> wrote:

> On Sun, Jul 14, 2002 at 11:14:40AM -0700, Mark Jaffe 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.
>>> 
>> 
>> Ed,
>> 
>> OK, let me get this straight; I ran the makecat script. It created a page I
>> can view, which has a link to the catalog. When I click that link, I am
>> logging into a page which does not exist?
>> 
>> The Apache error log has a path it tells me is not found. The path shows a
>> file (geminicat.cgi) masking as a directory /geminicat.cgi/index.html so I
>> can't get the permissions right.
>> 
>> How is it that someone else has gotten this to work? I am no stranger to
>> CGI, Apache, Perl, etc. I should be able to get this to work, yet obstacles
>> continue to impede me and the client for whom I am setting up the store is
>> wondering when he can start to sell things.
>> 
>> Sorry to be dense, but what could be the cause of this?
> 
> um, FBCAK?
> 
> "File masking as a directory"?  It is possible to confuse anyone
> that knows what they are doing, yes.  :-)  Include relevant log
> and ls -lR of the directories with your vlink.
> 
> 


FBCAK? Sorry, this is a new acronym for me :-)

Here's the end of the error log:

[Sun Jul 14 10:41:13 2002] [error] [client 64.255.69.153] script not found
or unable to stat: /usr2/sites/Gemini/geminicat.cgi

Again, here's the listing of the CGI:

[root@wizdev root]# 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

Now, the user's website is on another volume:

[root@wizdev root]# ls -l /usr2/sites/Gemini/
total 1580
.
.
.
drwxrwxr-x    3 alex     alex         4096 Jul 14 09:12 geminicat

And that directory contains:

[root@wizdev root]# ls -l /usr2/sites/Gemini/geminicat
total 8
drwxrwxr-x    6 alex     alex         4096 Jul 14 09:12 images
-rw-rw-r--    1 alex     alex         2806 Jul 14 09:12 index.html

Any help is appreciated!

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/