LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-06-2006, 10:30 PM   #1
angustia
Member
 
Registered: Apr 2003
Location: chile
Posts: 58

Rep: Reputation: 15
Thumbs up mod_python ancient errors reappears


hi.

i just started to make my first web application and choosed mod_python, but i'm having the sickening problem that from time to time ancient errors (those i already had corrected time ago) seem to reappear; and i have to refresh many times the pages to see the correct results.

i know that python creates a bytecode for every imported file, so for every module i write and import, i use apache.import_module(), but it doesn't help.

the machine has apache2 on debian (i've also tested the same application in a gentoo+apache2 and centos+apache with the same problems)

/etc/apache2/httpd.conf:
LoadModule userdir_module /usr/lib/apache2/modules/mod_userdir.so

/etc/apache2/mods-enable/mod_python.load:
LoadModule python_module /usr/lib/apache2/modules/mod_python.so


~/public_html/app/.htaccess:
SetHandler mod_python
PythonHandler mod_python.publisher
PythonDebug On

thanks for any help, excuse my english
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with mod_python tiang_ono Linux - Newbie 2 06-20-2005 08:12 PM
mod_python gaddargarson Programming 1 03-29-2005 08:45 AM
I clean history in Konqueror but when I reboot it reappears. pujolasdf Linux - Software 2 03-18-2005 04:21 PM
installing mod_python dominant Linux - Software 0 11-26-2004 06:19 AM
Apache with mod_python mbayeb Linux - Software 2 12-24-2002 05:24 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration