Python CGI html form action
<p>I'm trying to create a website using HTML and Python CGI running on an httpd server.
When i give the cgi file location in the html form action as </p>

<pre><code>&lt;form action="/cgi-bin/filename.cgi"&gt;
</code></pre>

<p>it opens up the page as 
"file:///cgi-bin/filename.cgi"</p>

<p>whereas it should be opening it as "127.0.0.1/cgi-bin/filename.cgi"</p>

<p>Can anyone tell me what I'm supposed to change to get this working??</p>

<p>There's no fields in the form. Just a submit button. So i dont think GET/POST is required here.</p>