Maybe someone else has had this happen and might know where to look. In
IE, when my site is loaded from it's new setup there is a brief flash of
every page *without* the style sheet applied before I see it properly.
This doesn't happen on my linux box with firefox. The deployment is a
mod_proxy set up with apache2, and I have apache2 set up to serve css
directly, here is the virtual host section:
Thanks, Iain
# Dev version, only difference is the port number
# example config for the site, repos, and trac install for a project
<VirtualHost *:80>
ServerName dev.momcafe.org
ServerAlias www.dev.momcafe.org
ServerAdmin [EMAIL PROTECTED]
# regular old document root is the static dir
DocumentRoot /home/momcafe/momcafe1b_ve/momcafe-dev/momcafe/static
# turbogears site using mod_proxy to CherryPy
# we use EITHER this one or the mod_wsgi version
<Directory /home/momcafe/momcafe1b_ve/momcafe-dev/momcafe/static>
Options Indexes FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
allow from all
RewriteEngine on
# rewrite urls to cut out the /static for static serving
RewriteRule ^static/(.+)$ $1 [L]
# the rewrite cherrypy rule and it's conditions
# don't rewrite these types ( so they get served statically )
RewriteCond %{REQUEST_URI} !\.(html|jpg|pdf|png|gif|css|js|swf|
fla|php)$ [NC]
# don't rewrite requests for trac or the repository
RewriteCond %{REQUEST_URI} !^(trac)|(repos)
# don't rewrite requests from the static dir
RewriteCond %{REQUEST_URI} !^static/
# port number here must match the cherrypy port being served
RewriteRule ^(.*) http://127.0.0.1:8082/$1 [P]
</Directory>
</VirtualHost>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---