Graham Dumpleton
grahamd at dscpl.com.au
Thu Mar 30 18:35:07 EST 2006
Graham Dumpleton wrote .. > Alberto Ruiz wrote .. > > I have another problem. I have a html that calls a python script like > > this: > > > > <!--#include file="prop.py/index?type=2" --> > > > > Apache does not know how to handle it. I get the following error: > > > > unable to include "prop.py/index?type=2" in parsed > > file /home/john/www/mydomain.com/condos.html > > > > Do I need to specify some path before the script or am I missing a > > Apache directive? > > You want "#include virtual", not "#include file". > > <!--#include virtual="/cgi-bin/example.cgi?argument=value" --> > > The argument to "virtual" must be a full URL routed from root of web > server down, not a relative path. Whoops, it can be virtual: virtual The value is a (%-encoded) URL-path. If it does not begin with a slash (/) then it is taken to be relative to the current document. Note, that this does not print the size of any CGI output, but the size of the CGI script itself. Graham
|