[mod_python] How declared correctly the way in the pg.html to the apache server can resolv the script python correctly

EdgardCosta edgardalvescosta at gmail.com
Mon Nov 19 06:20:56 EST 2007


Graham.

Sorry agaim, if i don't understand your question

what URL address did you use to access it from your web browser

I'm using this url: http://edgardalvescosta.no-ip.org/testepython.html
and the the response should be
http://edgardalvescosta.no-ip.org/python/testepython.py/form1

Edgard

Em Seg, 2007-11-19 às 22:03 +1100, Graham Dumpleton escreveu:
> On 19/11/2007, EdgardCosta <edgardalvescosta at gmail.com> wrote:
> > Graham,
> >
> > First sorry, I simply forgot the address that i had replied.
> >
> > Your questions:
> > Your config problem, you haven't explained enough about what you
> > have actually used in the configuration
> >
> > My apache2 configuration to run mod_python is the simple one. This is in
> > the oficial tutorial.
> >
> >  <Directory /net/www/python/>
> >         SetHandler mod_python
> >         PythonHandler mod_python.publisher
> >         PythonDebug On
> >
> > Have you actually got a publisher handler working that doesn't involve
> > a form as a first step?]
> >
> > Yes. A few.
> >
> >
> > What URL did you use for that?
> >
> > I'm using a no-ip dns. It is to my local network only.
> 
> But what URL address did you use to access it from your web browser.
> 
> Your problem is mostly due incorrect relative URL in the form action.
> Thus knowing what the URL is for the static HTML page or publisher
> handler that you are using to generate the page is important. This is
> why I am asking.
> 
> Graham
> 
> > Where in the file system is your HTML form file kept?
> >
> > I built a different way to this. The default is /var/www/ and I put it
> > in /net/www
> >
> > Where in the file system is your publisher code file kept?
> >
> > It is in /net/www/python
> >
> > What is the Apache configuration snippet you use to configure
> > mod_python to use publisher?
> >
> > The configuration is the the that a wrote in above this message.
> >
> > Thanks for all
-- 
Edgard Costa

edgardalvescosta at gmail.com

Viste: www.prontuarioeltronico.odo.br



More information about the Mod_python mailing list