I followed instructions from
http://trac.turbogears.org/turbogears/wiki/ModPythonIntegration09 and
somehow managed to start my app behind apache. Basically, I deployed my
app with "setup.py develop", downloaded modpython_gateway, created
startup script ccleads_modpython.py and modified httpd.conf.

The thing is that my app is accessible at the root of my webserver and
I would like to mount it to some other location. I'm currently
accessing my app as:

  http://ozdev/

and would like to change it to:

  http://ozdev/ccleads/

so I can later deploy other applications:

  http://ozdev/app2/
  http://ozdev/app3/

but mostly because there are other things already running on this
server.

This is my httpd.conf:

<VirtualHost *:80>
   ServerName localhost
   ServerAdmin [EMAIL PROTECTED]
   ServerSignature Off
   AddDefaultCharset utf-8

   <Location />
       SetHandler python-program
       PythonHandler modpython_gateway::handler
       PythonOption wsgi.application cherrypy._cpwsgi::wsgiApp
       PythonFixupHandler ccleads.ccleads_modpython
       PythonDebug on
    </Location>

    Alias /static "D:/OZ/Projects/ccleads/ccleads/static"
    Alias /favicon.ico
"D:/OZ/Projects/ccleads/ccleads/static/images/favicon.ico"
    <Location /static>
        SetHandler None
    </Location>

    <Directory "D:/OZ/Projects/ccleads/ccleads/static">
        AllowOverride None
        Options -ExecCGI -Indexes -Multiviews +FollowSymLinks
        Order allow,deny
        allow from all
    </Directory>
</VirtualHost>

Oh yes, it is an intranet app running on XP box so I have free hands to
do whatever is necessary.

Thanks,
Tvrtko


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to