Graham Dumpleton
graham.dumpleton at gmail.com
Tue Jul 17 05:57:30 EDT 2007
Bar stating the obvious of checking whether your .htaccess file is readable to others, so Apache can read it, I would suggest you simply move your configuration to inside of the Directory directive in the main Apache configuration and do it that way. At least while you work out why .htaccess file not being used. Graham On 17/07/07, ryan luna <ryan_gm at sbcglobal.net> wrote: > That line is not in the Apache conf file > and yes i restart Apache after changes and in the error log i see > mod_python: Creating 8 session mutexes based on 0 max processes and 250 max > threads. > > > Graham Dumpleton <graham.dumpleton at gmail.com> wrote: > Ensure that somewhere in your Apache configuration you have: > > AccessFileName .htaccess > > Did you ensure that you restarted Apache and did you verify that > mod_python startup message appears in the Apache error log file? > > Graham > > On 17/07/07, ryan luna wrote: > > I have that line the in file and its pointing to the directory > > and LoadModule python_module modules/mod_python.so is in the file aswell > > > > Graham Dumpleton wrote: > > On 17/07/07, ryan luna wrote: > > > Hmm, i guess its not being read because theres no error when i through > in > > > some random characters > > > > Well ensure that you have somewhere in main Apache configuration: > > > > > > > > AllowOverride FileInfo > > > > > > > > Ie., FileInfo needs to be set for that directory or some enclosing > > directory. > > > > BTW, please use reply-all and keep follow ups on mailing list. > > > > Graham > > > > > Graham Dumpleton wrote: > > > On 17/07/07, ryan luna wrote: > > > > Im having trouble getting Apache to read .py files the right way. > > > > I'v followed this > > > > > > > > > > http://www.dscpl.com.au/wiki/ModPython/Articles/GettingModPythonWorking > > > > guide but it still shows the source code and not the result of the > code. > > > > > > If using a .htaccess file, have you verified the .htaccess file is > > > even been read? > > > > > > You can do this by putting in it some random crap, eg. > > > > > > XXXX > > > > > > This should result in browser returning a 500 error if .htaccess file is > > > read. > > > > > > If no 500 error, the FileInfo override isn't set for the directory. > > > > > > Anyway, that is about all the mind reading I can do without you > > > actually posting your .htaccess configuration as well as the main > > > configuration Directory configuration for the directory where you are > > > putting stuff. > > > > > > Graham > > > > > > > > > > > >
|