Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help.unable to install cgi proxy in centos vps
12-16-2014, 01:51 PM
Post: #1
help.unable to install cgi proxy in centos vps
Hi
I am using centos 6 vps.
I am trying to install cgi proxy script.
I copied nph-proxy.cgi file to cgi-bin directory
And my vps alzo supports perl,cgi.
But when i call 5.231.45.105/cgi-bin/nph-proxy.cgi
Its shows nothing.
Pls help
Find all posts by this user
Like Post Quote this message in a reply
10-18-2015, 11:09 AM (This post was last modified: 10-18-2015 11:10 AM by pritham248.)
Post: #2
RE: help.unable to install cgi proxy in centos vps
did u installed perl perl cgi? if not
yum -y install perl perl-CGI
no edit apache config file
vi /etc/httpd/conf/httpd.conf
<Directory "/var/www/public_html/cgi-bin">
Options +ExecCGI
AddHandler cgi-script .cgi .pl
</Directory>
and add .cgi and .pl to handler
save file and reload apache
service httpd reload
now open browser type in http://your.site/cgi-bin/nph-proxy.cgi
if problem persists chmod 755 cgi-bin/nph-proxy.cgi
and also make sure check owner and group of nph-proxy.cgi
Find all posts by this user
Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)