Thanks to all for your suggestions and comments.
So, I'll use  Apache to proxy requests to pylons.

At this point I have another question. I'm reading the Pylons Book and
in the chapter that explain it, there is an apache configuration
example:

<VirtualHost *>
    ServerName www.pylonsbook.com
    ServerAlias pylonsbook.com

    # Logfiles
    ErrorLog  /home/simplesite/log/error.log
    CustomLog /home/simplesite/log/access.log combined

    # Proxy
    ProxyPass / http://localhost:8080/ retry=5
    ProxyPassReverse / http://localhost:8080/
    ProxyPreserveHost On
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
</VirtualHost>

Now, the apache web server that I'll use,  serve a principal domain
(www.cerm.unifi.it) and other virtual host based on its names.
I would that all coming requests for https://www.cerm.unifi.it:5001 or
http://www.cerm.unifi.it:5001 has to be redirect to my pylons
application. I cannot understand how do that. Because from the example
seems that all request to www.pylonsbook.com are redirect to the port
8080 where the paster is listen. Instead I want the only the requests
to the 5001 port of the base site are to be redirected.

Thanks again
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to