I hope I can provide enough information to allow someone to point me in the right direction.
When I start apache 1.3, the error log contains these message: [error] (22)Invalid argument: FastCGI: access for server (uid 70, gid 70) failed: write not allowed [notice] FastCGI: process manager initialized (pid 26175) [notice] Apache/1.3.33 (Darwin) mod_fastcgi/2.4.2 mod_jk/1.2.6 DAV/ 1.0.3 mod_ssl/2.8.24 OpenSSL/0.9.7l PHP/4.4.4 configured -- resuming normal operations Here is the content of the httpd.conf that relates to Django: FastCgiExternalServer /Library/WebServer/CGI-Executables/django.fcgi -host 127.0.0.1:8882 I did not put the rewrite rules in httpd.conf. I used .htaccess instead. Here is the content of .htaccess: AddHandler fastcgi-script .fcgi RewriteEngine On RewriteRule ^/(media.*)$ /$1 [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ /django.fcgi/$1 [QSA,L] I did not add an alias to the etc/hosts file. The fastcgi server is not launched manually; I have tried it both ways but that did make a difference in the logs. Here is the content of the django.fcgi file: #!/usr/local/bin/python2.4 ## original line was "/usr/bin/python" import sys, os # Add a custom Python path. # sys.path.insert(0, "/home/user/python") # Switch to the directory of your project. (Optional.) os.chdir("/usr/local/myProject") # Set the DJANGO_SETTINGS_MODULE environment variable. os.environ['DJANGO_SETTINGS_MODULE'] = "myProject.settings" from django.core.servers.fastcgi import runfastcgi runfastcgi(method="threaded", daemonize="false") I can run the development server (manage.py runserver) for the project and the admin pages work fine. Turning again to the public facing web site... With the URL "www.mysite.com/myProject", the default index page for the web page is found and displayed properly. If I load the URL "www.mysite.com/myProject/admin", the server returns a "file not found" message. Nothing special in the error log. Using the url "www.mysite.com/cgi-bin/django.fcgi" returns an "internal server error". In the error log: [error] (61)Connection refused: FastCGI: failed to connect to server "/Library/WebServer/CGI-Executables/django.fcgi": connect() failed [error] FastCGI: incomplete headers (0 bytes) received from server "/ Library/WebServer/CGI-Executables/django.fcgi" Using a similar URL for the Webware WebKit.cgi works as expected. Any and all comments are greatly appreciated. - Mark --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---