[mod_python] Newbie Question

Chris Jackson christopher.jackson at gmail.com
Thu Feb 3 14:15:20 EST 2005


[your previous quote]
Whenever I access test.py from my browser it says "The page cannot be found"
, I have the file on /var/www/html, what did I miss?

[you other previous quote]
Alias /test/ "/usr/local/apache2/htdocs/test"

So, we have both /var/www/html and /usr/local/apache2/htdocs/test.  ;)

Which one do you use?

~= Chris =~


On Thu, 3 Feb 2005 10:58:42 -0800, Joel Eusebio <joele at qalabs.com> wrote:
> Here the config on my httpd.conf
> 
> Alias /test/ "/usr/local/apache2/htdocs/test"
> 
> <Directory /usr/local/apache2/htdocs/test>
>         AddHandler mod_python .py
>         AllowOverride None
>         PythonHandler mod_python.publisher
>         PythonDebug On
> 
> -----Original Message-----
> From: Jon-Pierre Gentil [mailto:jgentil at sebistar.net]
> Sent: Wednesday, February 02, 2005 6:37 PM
> To: mod_python at modpython.org
> Cc: joele at qalabs.com
> Subject: Re: [mod_python] Newbie Question
> 
> On Tuesday 01 February 2005 01:53 pm, Joel Eusebio wrote:
> 
> > Hi Everybody,
> >
> > I'm pretty new to Python and would like to ask a few questions. I have
> > this setup on a Fedora Core 3 box.
> 
> I already replied to this once.  Please see message
> http://www.modpython.org/pipermail/mod_python/2005-January/017296.html
> But here it is again:
> 
> On Monday 31 January 2005 06:33 pm, Joel Eusebio wrote:
> 
> > I'm pretty new to Python and would like to ask a few questions. I have
> > this setup on a Fedora Core 3 box.
> > Python 2.3.4
> > wxPython-common-gtk-ansi-2.5.3.1-fc2_py2.3
> 
> Not sure what wxPython has to do with it...
> 
> > mod_python-3.1.3-5
> > Apache/2.0.52
> 
> Can you show us your Apache config file snippet that defines your
> Directory config sections?
> 
> --
> _________________________________________________________
> 
>   Jon-Pierre Gentil               PGP: 0xA21BC30E
>   jabber: jgentil at sebistar.net    web: www.sebistar.net
>   "If you think education is expensive, try ignorance."
> _________________________________________________________
> 
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list