I just finished building and installing TPP under centos7
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