Monday, January 2, 2012

Re: Apache RewriteRule for django

Thanks, Tiago.  Unfortunately I don't understand enough Portuguese to get the full benefit of the page you pointed me to.  It appears that your using WSGI on a server on which you have root access, whereas I'm moving the app to a shared hosting server where I can't edit httpd.conf, and I'm using fastcgi.  I do see, however, that your .htaccess file has the same syntax for the RewriteRule as the rule I'm using, and that's the part that has me puzzled.  If the RewriteRule ends up telling Apache that the resource name is "myscript.fcgi/whatever" won't Apache (and the OS) think that myscript.fcgi is a directory name and that the resource is a file in that directory called "whatever"?  That's what the slash means, right?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/DlmAyGBA5n0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment