Code: Select all
<form method=post action="engine.cgi">My webroot is: /usr/local/psa/home/vhosts/...domain.../httpdocs/
My cgi-bin directory is: /usr/local/psa/home/vhosts/...domain.../cgi-bin/
This code does NOT work:
Code: Select all
<form method=post action="/usr/local/psa/home/vhosts/...domain.../cgi-bin/engine.cgi">The requested URL /usr/local/psa/home/vhosts/...domain.../cgi-bin/engine.cgi was not found on this server.
I have tested the paths and this code DOES work:
Code: Select all
<?php
include ('/usr/local/psa/home/vhosts/...domain.../httpdocs/inc.php');
?>Code: Select all
<form method=post action="/usr/local/psa/home/vhosts/...domain.../cgi-bin/engine.cgi">