Things I've tried and failed (with an `apachectl restart` after each)

   1.  sudo chown -R apache.apache /usr/local/tpp/cgi-bin;
   2.  sudo chown -R apache.apache /usr/local/tpp
   3. 
   4.  sudo chmod 755 -R apache.apache /usr/local/tpp
   5. disabled other /etc/httpd/conf.d/

FIXED!  There was interference from another app being served (incorrectly) 
on this server.

Mea culpa,

~ Malcolm
On Wednesday, June 8, 2022 at 5:17:49 PM UTC-5 Malcolm Cook wrote:

> an oddity re: the error message is it says " ExecCGI is off in this 
> directory: /usr/local/tpp/cgi-bin/tpp_gui.pl"  but it names a file, not a 
> directory. 
>
> ...maybe nothing.
>
> On Wednesday, June 8, 2022 at 5:14:17 PM UTC-5 Malcolm Cook wrote:
>
>> hi again
>> yes, I reported the only entry after fresh restart of apache and 
>> accessing that url I get the following in the error log:
>>
>> [Wed Jun 08 17:08:31.331141 2022] [mpm_prefork:notice] [pid 4451] 
>> AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
>> [Wed Jun 08 17:08:31.331189 2022] [core:notice] [pid 4451] AH00094: 
>> Command line: '/usr/sbin/httpd -D FOREGROUND'
>> [Wed Jun 08 17:08:39.167358 2022] [cgi:error] [pid 4453] [client 
>> 127.0.0.1:44684] Options ExecCGI is off in this directory: 
>> /usr/local/tpp/cgi-bin/tpp_gui.pl
>>
>> corresponding to this in the access log:
>>
>> 127.0.0.1 - - [08/Jun/2022:17:08:39 -0500] "GET /tpp/cgi-bin/tpp_gui.pl 
>> HTTP/1.1" 403 224 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) 
>> Gecko/20100101 Firefox/91.0"
>>
>> On Wednesday, June 8, 2022 at 5:04:27 PM UTC-5 David Shteynberg wrote:
>>
>>> It sounds like you are making progress get this installed and running. 
>>> Can you check the apache error logs to see if they hold the next clue?
>>>
>>> Thanks,
>>> David
>>>
>>> On Wed, Jun 8, 2022, 4:25 PM Malcolm Cook <malcol...@gmail.com> wrote:
>>>
>>>> I just finished building and installing TPP under centos7 
>>>>
>>>> Following Testing the installation with a sample dataset 
>>>> <http://tools.proteomecenter.org/wiki/index.php?title=TPP_6.1.0:_Installing_on_Ubuntu_20.04_LTS#Testing_the_installation_with_a_sample_dataset_.28optional.29>
>>>>  on 
>>>> I navigate to http://localhost:10401/tpp/cgi-bin/tpp_gui.pl
>>>>
>>>> I am running apache as user 'apache'
>>>>
>>>> It returns 403/Forbidden
>>>>
>>>> I think I must have some permissions/ownership wrong somewhere
>>>>
>>>> The error log shows:
>>>>
>>>>  Options ExecCGI is off in this directory: /usr/local/tpp/cgi-bin/
>>>> tpp_gui.pl
>>>>
>>>> This should not be since the installed httpd-2.4-tpp-1.conf indeed has 
>>>> this stanza:
>>>>
>>>> Alias //tpp/cgi-bin "/usr/local/tpp/cgi-bin"
>>>> <Directory "/usr/local/tpp/cgi-bin">
>>>>     Options MultiViews ExecCGI
>>>>     AddHandler cgi-script .pl .cgi 
>>>> ...
>>>>
>>>> Any ideas?
>>>>
>>>> Here are some more configuration diagnostics that might help...
>>>>
>>>> the CGI program is executable by anyone and owned by user tpp:
>>>>
>>>> ls -la /usr/local/tpp/cgi-bin/tpp_gui.pl
>>>> -r-xr-xr-x 1 tpp tpp 484152 Jun  8 14:19 /usr/local/tpp/cgi-bin/
>>>> tpp_gui.pl
>>>>
>>>> Below I review the ownership of directories within /usr/local/tpp
>>>>
>>>>  tree -u -d /usr/local/tpp
>>>> /usr/local/tpp
>>>> |-- [tpp     ]  bin
>>>> |-- [tpp     ]  cgi-bin
>>>> |-- [tpp     ]  conf
>>>> |-- [tpp     ]  html
>>>> |   |-- [tpp     ]  css
>>>> |   |-- [tpp     ]  images
>>>> |   |   |-- [tpp     ]  help
>>>> |   |   `-- [tpp     ]  lorikeet
>>>> |   |-- [tpp     ]  js
>>>> |   `-- [tpp     ]  ref
>>>> |-- [tpp     ]  lib
>>>> |   |-- [tpp     ]  Mayu
>>>> |   |   `-- [tpp     ]  R
>>>> |   `-- [tpp     ]  perl
>>>> |       `-- [tpp     ]  TPP
>>>> |-- [tpp     ]  lic
>>>> |   |-- [tpp     ]  ProteoWizard
>>>> |   |-- [tpp     ]  boost
>>>> |   |-- [tpp     ]  bzip2
>>>> |   |-- [tpp     ]  d3
>>>> |   |-- [tpp     ]  expat
>>>> |   |-- [tpp     ]  fann
>>>> |   |-- [tpp     ]  gsl
>>>> |   |-- [tpp     ]  gzstream
>>>> |   |-- [tpp     ]  libarchive
>>>> |   `-- [tpp     ]  libgd
>>>> |-- [apache  ]  log
>>>> |-- [tpp     ]  man
>>>> |   |-- [tpp     ]  man1
>>>> |   `-- [tpp     ]  man3
>>>> |-- [tpp     ]  schema
>>>> `-- [apache  ]  users
>>>>     `-- [apache  ]  guest
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "spctools-discuss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to spctools-discu...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/spctools-discuss/55b3c042-60fb-4317-a05d-acae6a52a187n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/spctools-discuss/55b3c042-60fb-4317-a05d-acae6a52a187n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spctools-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spctools-discuss/235965b4-0491-45c4-b74c-53d12d46e6bfn%40googlegroups.com.

Reply via email to