Hi all, django 6525, Apache 1.3, Mac OS X Server 10.4.7, python 2.5.1 (darwin ports)
Following: http://code.djangoproject.com/wiki/OsxFcgi , except I've added another folder into the nest: /Library/WebServer/Documents/django Added these lines to my httpd.conf (which, besides turning on php, are the only changes I've made to the default httpd.conf): FastCGIExternalServer /Library/WebServer/Documents/django/django.fcgi - host 127.0.0.1:3033 <VirtualHost *:80> Servername django.local ErrorLog /var/log/httpd/django-error.log CustomLog /var/log/httpd/django-access.log combined DocumentRoot /Library/WebServer/Documents/django RewriteEngine On RewriteRule ^(/django/m/.*)$ $1 [L] # for custom media RewriteRule ^(/django/media.*)$ $1 [L] # for admin media RewriteRule ^(/django/.*\.)(jpg|gif|png|ico)$ $1$2 [L] # some other media (mostly "accidentaly" in the root) RewriteRule ^(/django/admin.*)$ /django.fcgi$1 [L] # admin application RewriteRule ^(/django/myapp.*)$ /django.fcgi$1 [L] # your own application RewriteRule ^(/django/.*)$ /django.fcgi$1 [L] # the rest of django (only if needed from the web root) </VirtualHost> Command line I'm launching inside /Library/WebServer/Documents/django/ myapp is: ./manage.py runfcgi settings=settings.py host=127.0.0.1 port=3033 pidfile=/var/run/django.pid I have also tried using the complete path to the settings.py. The server lives at http://192.168.1.10/. There are other php things being served out of their own subdirectories in /Library/WebServer/ Documents which are working just fine. http://192.168.1.10/django/ gives a 403 http://192.168.1.10/django/admin/ gives a 404 http://192.168.1.10/django/myapp/ gives a 403 myapp - there are no applications there yet. I was hoping that the admin site (which I can access when I run the development server), or that nice first error page from Tutorial 1, might be accessible. If I change the VirtualHost line to another port, such as 8247, I get "unable to connect" errors instead of the 404s and 403s. I've also tried not using VirtualHost as detailed in: http://groups.google.com/group/django-users/browse_thread/thread/dc5a1f8e9b413e9b/b592d8f091fad898?lnk=gst&q=runfcgi#b592d8f091fad898 Nothing is throwing off any interesting errors or logs that I can find. I would welcome any suggestions that would get things running in the form of: http://192.168.1.10/django/admin/ or http://192.168.1.10:8080/admin/ or http://192.168.1.10:8080/django/admin/ Thanks for your help, jtm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---