From: Peter H. <pe...@en...> - 2005-12-19 23:20:28
|
Harlin Seritt wrote: > I am trying to use Apache to redirect to my cp app. > > I have the following setup in my config file: > > [global] > baseUrlFilter.on = True > server.threadPool = 10 > baseUrlFilter.on = True Minor note: you've written the above entry twice. > baseUrl = 'cherrypy' Should this be "baseUrlFilter.baseUrl"? Also, I thought it was supposed to be a full URL, as in "http://cherrypy/". > Inside httpd.conf for Apache I have: > > RewriteEngine on > RewriteCond %{HTTP_HOST} cherryptest > RewriteRule ^(.*) http://cherrypytest:8080/$1 [P] I have a nearly identical setup which is working fine, but I don't have the above RewriteCond line at all. (I'm a rookie at Apache, however, so it could well be useful in some situation I don't have: I don't seem to need it however.) Other than the two comments above re baseUrl, I have the same thing and it's working fine. -Peter |