mkdir /usr/local/apache ln -s /var/www/cgi-bin /usr/local/apache/cgi-bin ln -s /var/www/html /usr/local/apache/htdocs
ln -s /var/www/cgi-bin /usr/local/apache/cgi-bin-$(LOGNAME)
When I typed in the command "make cgi" I got this error:
make[1]: Entering directory `/home/gradycr/Desktop/kent/src/hg/cartReset'
Best,
Cameron Grady
<Directory /var/www/html>
Options +Includes
SSILegacyExprParser on
</Directory>
ScriptAlias /cgi-bin/ "/var/www/html/cgi-bin"
<Directory "/var/www/html/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
AddHandler cgi-script cgi pl
</Directory>
I believe the problem has something to do with this apache conf file. I have run out of things to try to trouble shoot. Anything hints or clues you guys could give would be helpful.
Thanks again,
Cameron Grady
________________________________________
From: Hiram Clawson [hi...@soe.ucsc.edu]
Sent: Tuesday, November 15, 2016 3:30 PM
To: Grady, Cameron (NIH/NHLBI) [F]; genome...@soe.ucsc.edu
Subject: Re: [genome-mirror] Error While Compiling
Cameron
________________________________________
From: Hiram Clawson [hi...@soe.ucsc.edu]
Sent: Tuesday, November 29, 2016 1:48 PM
Thanks for the advice. I feel that I am really close but I am still getting one error consistently. When I run the cgi binaries in terminal for example ./hgGateway I get an html file. However when I click on the link on the actual webpage it gives me the error "Forbidden: You don't have permission to access /cgi-bin/hgGateway on this server." When I check the apache log I see the error "AH01630: client denied by server configuration: /var/www/cgi-binhgGateway, referer: http://example.com/." So I did some research and that error is common for a syntax error between Apache 2.2 and Apache 2.4, which is the version I am running. It says that the syntax in the apache2.conf should change from:
Order allow,deny
Allow from all
to:
Require all granted
I did that for all instances but I am still getting the same error. I have also attached a screenshot of my apache2.conf file and apache error log.
Thanks again,
Cameron
________________________________________
From: Hiram Clawson [hi...@soe.ucsc.edu]
Sent: Thursday, December 01, 2016 3:26 PM
To: Grady, Cameron (NIH/NHLBI) [F]; genome...@soe.ucsc.edu
Subject: Re: [genome-mirror] Error While Compiling
Good Afternoon Grady: