* Tom Evans <[email protected]> [130301 06:44]: > Apache httpd with mod_fastcgi: > > RewriteCond %{REQUEST_URI} !^/media > RewriteCond %{REQUEST_URI} !^/ > # repeat for any other directories you want httpd to serve > RewriteRule ^/(.*)$ /app.fcgi/$1 [QSA,L] > FastCGIExternalServer /path/to/your/htdocs/app.fcgi -socket > /path/to/your/webapp/run/app.socket The following : ## RewriteCond %{REQUEST_URI} !^/media RewriteCond %{REQUEST_URI} !^/ RewriteRule ^/(.*)$ /app.fcgi/$1 [QSA,L] FastCGIExternalServer app.fcgi -socket app.socket ## When applied to http://www.lyxx.com/freestuff/002.html (htaccess validator) generates an error on the last line.
Tom are you using the FastCGIExternalServer in .htaccess or in httpd.conf? Bear in mind that I do not have access to httpd.conf on this shared hoster and in https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/ I read wherre FastCGIExternalServer is referred to as an addition to httpd.conf. -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

