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-discuss+unsubscr...@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.

Reply via email to