Hello i install cgiproxy but i don't like run cgiproxy as this address: www.mysite.com/cgi-bin/nph-proxy.cgi i want show cgiproxy as this: www.mysite.com & i dont like visitor go to cgi-bin/nph-proxy.cgi How can i do it Thank you
You would need to be hosted on a server which allows you to run cgi scripts from any directory and rename the file as index.cgi, tweaking also the .htaccess file to make it recognize this as index page.
In your httpd.conf file: <Directory /home/*/public_html> Options +ExecCGI </Directory> Code (markup):
hey justa simple way just open www.mysite.com/cgi-bin/nph-proxy.cgi save this url as index.htm, (make any changes if you like to) and upload it Finished
You'd need to allow execution of cgi scripts for the directory where the script resides. Something like: <Directory /your/home/directory/www/cgi-bin> Options +ExecCGI AddHandler cgi-script .cgi </Directory> Code (markup): in your vhosts section of your httpd.conf (I assume you are running a dedicated box?) Then, write a basic form and use something like this for the form definition, <form name="proxyForm" action="http://www.mysite.com/nph-proxy.cgi/010110A/x-proxy/start" method="post"> Code (markup): Cheers,
Well what I have done on www.invisibler.com Is I have just put a htaccess redirect from index.php to cgiproxy/nph-proxy.pl