Re: Apache RewriteRule for django

2012-01-04 Thread Bob Kline
On Mon, Jan 2, 2012 at 12:47 PM, Bob Kline wrote: > So, when Apache was telling me (when the first version of the > AddHandler directive was in play) "The requested URL > "/appname.fcgi/admin was not found on this server" (the error message > leading me to the incorrect conclusion that Apache int

Re: Apache RewriteRule for django

2012-01-02 Thread Bob Kline
On Mon, Jan 2, 2012 at 11:39 AM, Dan Poirier wrote: > Apache doesn't quite work that way. If the part before a slash > corresponds to a file, it'll use that file and pass the rest to the > request processor. Ah, very clever. I can confirm what you say by changing the AddHandler directive from

Re: Apache RewriteRule for django

2012-01-02 Thread Dan Poirier
On Mon. 2012-01-02 at 07:23 AM EST, Bob Kline wrote: > So, my .htaccess file looks just like that (with "mysite" replaced > with the real name of the script). The part I don't understand is the > slash between the script name and the placeholder $1. The way the > filesystem syntax works, that sla

Re: Apache RewriteRule for django

2012-01-02 Thread Bob Kline
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

Re: Apache RewriteRule for django

2012-01-02 Thread Bob Kline
Thanks for your reply, Daniel. My reading of the documents you pointed me to was that the FastCGIExternalServer directive goes in the httpd.conf file, to which I don't have access, as I'm setting this up on a shared hosting service. So I followed the instructions pointed to by the note furthe

Re: Apache RewriteRule for django

2012-01-02 Thread Daniel Roseman
On Monday, 2 January 2012 02:39:00 UTC, Bob Kline wrote: > > I'm moving a django site to a shared hosting server, where I'll need > to use fastcgi (the site on the original server is using mod_python, > which isn't available on the shared hosting server). I have found the > instructions for set

Re: Apache RewriteRule for django

2012-01-01 Thread Tiago de Souza Moraes
Hi Bob Kline, May be that this link help you: http://teago.futuria.com.br/tip/4/ Tiago On Mon, Jan 2, 2012 at 12:39 AM, Bob Kline wrote: > I'm moving a django site to a shared hosting server, where I'll need > to use fastcgi (the site on the original server is using mod_python, > which isn't av