I've spent a few days trying to get this to work on an Apache2 install. I have this in my httpd.conf file:
Alias /django /stuff/django/proj1/proj1 <Directory /stuff/django/proj1/proj1> Options +execCGI AllowOverride FileInfo Order allow,deny Allow from all </Directory> This is the .htacess file: AddHandler fastcgi-script .fcgi RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ mysite.fcgi/$1 [QSA,L] And this is mysite.fcgi: #!/usr/bin/python import os,sys #sys.path.insert(0, "/stuff/django/proj1/proj1") sys.path.append('/stuff/django/proj1') sys.path.append('/stuff/django/proj1/proj1') #os.environ.setdefault("DJANGO_SETTINGS_MODULE", "proj1.settings") os.chdir("/stuff/django/proj1/proj1") os.environ["DJANGO_SETTINGS_MODULE"] = "settings.py" from django.core.servers.fastcgi import runfastcgi runfastcgi(method="threaded", daemonize="false") However, accessing http://localhost/django/ Not Found The requested URL /stuff/django/proj1/proj1/mysite.fcgi/ was not found on this server. I'm not sure what I've got wrong, but it looks as if mysite.fcgi isn't working. Any suggestions where I need to look? Thanks, N. -- 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/-/WzhLt9ra624J. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.