From owner-freebsd-python@FreeBSD.ORG  Fri Apr  2 10:27:43 2004
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A4E4C16A4CE
	for <freebsd-python@freebsd.org>;
	Fri,  2 Apr 2004 10:27:43 -0800 (PST)
Received: from danu.intersiege.com (dsl092-163-205.wdc2.dsl.speakeasy.net
	[66.92.163.205])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6C33543D2D
	for <freebsd-python@freebsd.org>;
	Fri,  2 Apr 2004 10:27:43 -0800 (PST)
	(envelope-from reed@intersiege.com)
Received: from webmail.intersiege.com (localhost [127.0.0.1])
	by danu.intersiege.com (Postfix) with SMTP id 8086A25017
	for <freebsd-python@freebsd.org>;
	Fri,  2 Apr 2004 13:31:21 -0500 (EST)
Received: from 66.92.163.23
        (SquirrelMail authenticated user reed)
        by webmail.intersiege.com with HTTP;
        Fri, 2 Apr 2004 13:31:21 -0500 (EST)
Message-ID: <3574.66.92.163.23.1080930681.squirrel@webmail.intersiege.com>
Date: Fri, 2 Apr 2004 13:31:21 -0500 (EST)
From: "Reed L. O'Brien" <reed@intersiege.com>
To: freebsd-python@freebsd.org
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
Subject: mod_python apache config weirdness
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Apr 2004 18:27:43 -0000

I am having trouble with this.  Please help.  The installs are all
defaults from the ports section.  I followed the instructions attached to
them.  They are usually pretty up to date.

<in Apache2 config>

AddHandler mod_python .py
       Gives a full rendering of the page (home, about, products) if I
manually add the .py extension


With:
SetHandler mod_python ( this is the one the mod_python docs say to use as
there is no need for the .py extensions.)

will render all the text and links but no images or menu colors, image
links appears as broken image links.


Although if I an add handler and load the default page (nothing after
trailing slash) then change to SetHandler it will render and work fine.
But it is pulling images and such from the cache.  This is what tricked
me into thinking it was solved earlier.  As soon as I clear the cache or
it expires it falls back to no images and noo menu highlighting.

Ideas?

Apache2.0.49
mod_python3.1.3
Python2.3.3 patchlevel 4
on freebsd 4.9

TIA
reed
4.6692016090