You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tim Johnson <ti...@akwebsoft.com> on 2012/02/01 00:23:20 UTC
Re: [users@httpd] rewrite engine shows text instead of executes script
* Igor Cicimov <ic...@gmail.com> [120131 13:58]:
> 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
Thank you for introducing me to th 21st century.
:)
--
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-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org