If you are using proxy make sure you have proxy installed. Go to the
link below and make sure you have these lines in your virtual host
section:

http://lucasmanual.com/mywiki/TurboGears#head-9a9a185587f4fe604d0bc97ac2117be0770d92aa

-you will have to manage the app so its up and running on that port
you specified 8087.
-Also set up the app to rotate logs and do what ever you need to do.

OR

you can use mod_wsgi

read easy setup:
http://lucasmanual.com/mywiki/TurboGears#head-36b7eef1526da4fe58c73738c925f34f6bc93c1d
then (change apache settings for virtual host situation), read some more in
http://code.google.com/p/modwsgi/wiki/IntegrationWithTurboGears

mod_Wsgi will manage the start-stop of your app, and your logs will be
in your standard apache log.

when done post virtualhost settings back to the list so we can update the docs.

Lucas


On Thu, Feb 21, 2008 at 8:32 AM, Condhor Informatica
<[EMAIL PROTECTED]> wrote:
> Hi, I'm trying to configure a production server for my tg applications. I
> already have an Apache with virtual hosting working on my server.
> ¿ someone can point me on which configuration to set up, that let me do
> virtual hosting, through apache ? ( recommendations please )
>  I already read some documentations and some other posts on the net.. then
> put this in apache's available-sites an not working
>
> domain is not the real
>
> <VirtualHost *:80>
>      ServerAdmin [EMAIL PROTECTED]
>     ServerName domain.com
>     ProxyPreserveHost On
>
>     DocumentRoot /home/domain/pydocs
>
>     ProxyPass /static !
>
>     # setup the proxy
>     <Proxy *:80>
>         Order allow,deny
>         Allow from all
>     </Proxy>
>     ProxyPass / http://localhost:8087/
>      ProxyPassReverse / http://localhost:8087/
> </VirtualHost>
>
> If someone can give me an idea.. thanks.
>
>
>  >
>



-- 
Vehicle Information Number. Check for Authentic VIN
http://lucasmanual.com/vin
TurboGears Documentation:
http://www.lucasmanual.com/mywiki/TurboGears

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to