That depends - if there's a mod_python shipped for v3.1, you will have to
integrate it into apache.  My target (esp. for testing) would be to treat
them as straight up cgi scripts (i.e. executables) and take care of
selecting the python version in the shebang line, i.e.
#!/usr/bin/env python
#!/usr/bin/env python3

On Tue, Jan 19, 2010 at 4:40 PM, Jeremy Leonard <[email protected]> wrote:

> I am in the process of trying to set up a web server at home so that I
> can do some testing with python 3.1.  I am planning on compiling
> Python 3 from the source code and having the command: 'python' still
> refer to version 2.6 and have 'python3' refer to version 3.1 ... which
> from the documentation seems to be the default when compiling version
> 3.1.
>
> My question is whether I have to do anything with configuring httpd or
> py 3.1 so that httpd will be able to use the 3.1 version?
>
> I have probably missed some easy answer on this, but can't seem to
> figure it out.  Thanks in advance.
>
> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
>



-- 

          Daniel
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to