You can use meta tag in your head section to call your script for example <meta http-equiv="refresh" content="0;url= http://yourdomain.com/path/to/your/cgi-script.py">
which will call your script immediately on index.html load. Or you can also use java script redirect in the body tag of index.html something like this: <body onLoad="window.location= http://yourdomain.com/path/to/your/cgi-script.py"> You can also use a relative path to your script in the examples above in regards to the index.html file so you can put something like "../cgi-bin/script.py" instead http://yourdomain.com/path/to/your/cgi-script.py Igor On Wed, Feb 1, 2012 at 3:22 AM, Tim Johnson <t...@akwebsoft.com> wrote: > * Igor Cicimov <icici...@gmail.com> [120130 18:11]: > > > > > > If I eliminate it, then I just a get an index page.. > > > > > > Correct, and in that index.html page you call or redirect to your pyton > > script. That's the proper way to do it so you keep your web pages > structure > > separate from your cgi scripts that live in a separate directory cgi-bin. > > > Thank you for the explanation. > > Could you give what you would consider to be a proper example? > > regards > -- > Tim > tim at tee jay forty nine dot com or akwebsoft dot com > http://www.akwebsoft.com > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >