I'm seeing this too. Did you figure it out? Thanks -- Andy

On 1/13/07, DarkBlue <[EMAIL PROTECTED]> wrote:

I followed the wiki at http://www.cherrypy.org/wiki/BehindApache
and tried any which way, however accessing my site from the net
gives this terse message:

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use
an ErrorDocument to handle the request.


Now obviously there is something I missed.

after running python setup.py install the
myapp.egg and everything has been send to
the site-packages directory as expected

My apache vhosts.conf has 20 vhosts running happily.
mod_proxy and mod_rewrite are installed and enabled

Where do I have to look ?

Just running http://localhost:8080  all is ok


TG 1.0  , apache 2.2.3

Vhost

<VirtualHost *>

    ServerName somedata.somevip.com
    ServerSignature Off
    AddDefaultCharset utf-8
    ServerAdmin [EMAIL PROTECTED]
    ProxyPass /  http://127.0.0.1:8080
    ProxyPassReverse /  http://127.0.0.1:8080

</VirtualHost>


prod.cfg

[global]
# This is where all of your settings go for your development
environment
# Settings that are the same for both development and production
# (such as template engine, encodings, etc.) all go in
# myapp/config/app.cfg

# DATABASE

# pick the form for your database
# sqlobject.dburi="postgres://[EMAIL PROTECTED]/databasename"
#
sqlobject.dburi="mysql://username:[EMAIL PROTECTED]:port/databasename"
# sqlobject.dburi="sqlite:///file_name_and_path"

# If you have sqlite, here's a simple default to get you started
# in development
sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"


# if you are using a database or table type without transactions
# (MySQL default, for example), you should turn off transactions
# by prepending notrans_ on the uri
#
sqlobject.dburi="notrans_mysql://username:[EMAIL PROTECTED]:port/databasename"

# for Windows users, sqlite URIs look like:
# sqlobject.dburi="sqlite:///drive_letter:/path/to/file"

# SERVER

# Some server parameters that you may want to tweak
# server.socket_port=8080

# Enable the debug output at the end on pages.
# log_debug_info_filter.on = False

server.environment="development"
autoreload.package="myapp"

# session_filter.on = True


# Set to True if you'd like to abort execution if a controller gets an
# unexpected parameter. False by default
tg.strict_parameters = false

# LOGGING
# Logging configuration generally follows the style of the standard
# Python logging module configuration. Note that when specifying
# log format messages, you need to use *() for formatting variables.
# Deployment independent log configuration is in myapp/config/log.cfg
[logging]

[[loggers]]
[[[myapp]]]
level='DEBUG'
qualname='myapp'
handlers=['debug_out']

[[[allinfo]]]
level='INFO'
handlers=['debug_out']

[[[access]]]
level='INFO'
qualname='turbogears.access'
handlers=['access_out']
propagate=0


[/]
baseUrlFilter.on = True
baseUrlFilter.use-X-Forwarded-Host = True







Thanks
Db


>


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