Are you getting a particular error code, like 501 (not implemented)? I would check Apache's error logs, as the issue might be happening before Django ever gets the request. If nothing useful shows up in those logs, try increasing the logging level.
Oh, just a note--you may want to strip secret data out of your config files before posting them. In fact, I'd suggest changing those passwords quickly, just in case. -Jeff On Jul 8, 11:45 am, Adam Fraser <[EMAIL PROTECTED]> wrote: > I was wondering if anyone else has ever run into this problem... > > When filling out a form, I click submit and get a POST error claiming > that the page does not support POST. However, if I refresh the error > page, the request goes through, and all is happy. > > I don't have much experience with web applications, so I'm not sure > where to start here. We're running on Apache and using SSL for > authentication, but I disabled SSL and the problem persists. > > Here's my settings file anyway... any ideas? > > -Adam > > # Django settings for ProjectProfiler project. > > import posix # for getuid > import pwd # for getpwuid > > DEBUG = True > TEMPLATE_DEBUG = DEBUG > > ADMINS = ( > # ('Your Name', '[EMAIL PROTECTED]'), > ) > > MANAGERS = ADMINS > > DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', > 'postgresql', 'mysql', 'sqlite3' or 'oracle'. > > # Check whether to use the test or production version of the DB > if (pwd.getpwuid(posix.getuid())[0] == "imageweb") : > DATABASE_NAME = 'projectprofiler' # Or path to database > file if using sqlite3. > else : > DATABASE_NAME = 'projectprofilertest' # Or path to database > file if using sqlite3. > > DATABASE_USER = 'cpuser' # Not used with sqlite3. > DATABASE_PASSWORD = 'cPus3r' # Not used with sqlite3. > DATABASE_HOST = 'imgdb01.broad.mit.edu' # Set to empty string for > localhost. Not used with sqlite3. > DATABASE_PORT = '' # Set to empty string for > default. Not used with sqlite3. > > TIME_ZONE = 'America/New_York' > LANGUAGE_CODE = 'en-us' > SITE_ID = 1 > USE_I18N = True > MEDIA_ROOT = '/home/radon01/afraser/projectprofiler/trunk/ > projectprofiler/media/' > MEDIA_URL = 'http://127.0.0.1:8000/projectprofiler/media/' > ADMIN_MEDIA_PREFIX = '/projectprofiler/media/admin/' > SECRET_KEY = '&[EMAIL PROTECTED]&a886+2(2w9fu$6=-' > > TEMPLATE_LOADERS = ( > 'django.template.loaders.filesystem.load_template_source', > 'django.template.loaders.app_directories.load_template_source', > # 'django.template.loaders.eggs.load_template_source', > ) > > MIDDLEWARE_CLASSES = ( > 'django.middleware.common.CommonMiddleware', > 'django.contrib.sessions.middleware.SessionMiddleware', > # 'django.contrib.auth.middleware.AuthenticationMiddleware', > 'projectprofiler.sslauth.middleware.SSLAuthMiddleware', > 'django.middleware.doc.XViewMiddleware', > 'projectprofiler.middleware.threadlocals.ThreadLocals', > ) > > ROOT_URLCONF = 'projectprofiler.urls' > > TEMPLATE_DIRS = ( > '/home/radon01/afraser/projectprofiler/trunk/projectprofiler/ > templates', > '/imaging/analysis/People/imageweb/projectprofiler/trunk/ > projectprofiler/templates', > '/Users/ljosa/research/projectprofiler/projectprofiler/trunk/ > projectprofiler/templates', > ) > > INSTALLED_APPS = ( > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > # 'django.contrib.sites', > 'projectprofiler.sslauth', > 'projectprofiler.projects', > 'django.contrib.admin', > ) > > AUTHENTICATION_BACKENDS = ( > 'projectprofiler.sslauth.backends.SSLAuthBackend', > # 'django.contrib.auth.backends.ModelBackend', > ) > > def myusernamegen(ssl_info): > import re > return re.sub('[EMAIL PROTECTED]', '', ssl_info.subject_email) > > SSLAUTH_CREATE_USER_CALLBACK = myusernamegen > SSLAUTH_CREATE_USER = True --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---