Greetings, I'm new at tg2 and I wish to install mod proxy and Pylons, but I
am stuck ... (I've tried so many times)

@mod_proxy
I'm following this site
http://turbogears.org/2.0/docs/main/Deployment/ModProxy.html, and I made
these changes:
Make sure you have this line in deployment.ini : full_stack = False   --->
done
In Apache’s httpd.conf uncomment the mod_proxy modules:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so

done.
In httpd-vhosts.conf, I added at the end :

NameVirtualHost *

<VirtualHost *>
    ServerName mytgapp.blabla.com<http://mytgapp.blabla.com>    --> made the
respective change
    ServerAdmin [email protected]<mailto:[email protected]>
--> made the respective change
    #DocumentRoot /srv/www/vhosts/mytgapp
    Errorlog /var/log/apache2/mytgapp-error_log
    Customlog /var/log/apache2/mytgapp-access_log common
    UseCanonicalName Off
    ServerSignature Off
    AddDefaultCharset utf-8
    ProxyPreserveHost On
    ProxyRequests Off
    ProxyPass /error/ !
    ProxyPass /icons/ !
    ProxyPass /favicon.ico !
    #ProxyPass /static/ !
    ProxyPass / http://127.0.0.1:8080/
    ProxyPassReverse / http://127.0.0.1:8080/
</VirtualHost>

Then I went to: Start--> Programs --> Apache 2.2 --> Configure Apache Server
--> test configuration
Didn't gave any mistake or anything wrong.
Then all stoped:
Finally, go to your TurboGears project directory and in a console run:

python start-myproject.py prod.cfg

I use windows XP and I am using TG2. What can I do?
@Pylons

Went to http://www.pylonshq.com/download/ --> downloaded and installed
pysqlite-2.4.1.win32-py2.5.exe<
http://www.pylonshq.com/download/0.9.7/pysqlite-2.4.1.win32-py2.5.exe>

Followed http://www.pylonshq.com/download/0.9.7/Pylons.pdf, tried to install
and it gave me this:
(mydevenv) C:\Python25>python go-pylons.py --no-site-packages mydevenv
New python executable in mydevenv\Scripts\python.exe
Installing setuptools...............done.
Searching for Pylons==0.9.7
Reading http://pylonshq.com/download/0.9.7
Reading http://pypi.python.org/simple/Pylons/
No local packages or download links found for Pylons==0.9.7
error: Could not find suitable distribution for
Requirement.parse('Pylons==0.9.7
')

I really want to learn and work with TG2, but I'm blocking and stuff in wich
I do not have the "know how".

Sorry about the long text and probably the "lamme questions", but ... I need
to have this working so that I can move on ...

--~--~---------~--~----~------------~-------~--~----~
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