I'm surprised you get the error you do, because this line should pretty
much be a showstopper for having anything inside it ever being used by
an incoming request. Go back to the documentation for Apache again. You
haven't given the Location directive a URL. You've given it a directory
path.
I would also suspect you're going to need to set the PythonPath option,
based on the file paths you've mentioned here, since they won't be on
the default Python path.
Regards,
Malcolm
Your third attempt is not even valid syntax. Doesn't it seem a
little strange that in the other cases you had quotes enclosing a
string but then in the third, you did not?
Your problem is completely unrelated to with Django, so it's a bit
out of place on this list. As Malcom said previously, you need to
go read about Apache configuration. It seems that you either
didn't read or misunderstood what you read. Given that you
haven't asked any questions in an attempt to fill in the parts you
don't understand, it seems likely that you didn't even read any
relevant Apache docs.
Maybe if you cite the page that you're using as a reference in
your attempts to use Apache's location directive, and also explain
your present understanding of it, someone can help guide you to
whatever part you're missing or misunderstanding.
--
Phil Mocek