You need then to give the exact error messages from the Apache error logs or browser then, rather than us having to guess what they are. Also do the following:
1. Check that all files and directories back up to root of file system are readable/searchable to the user that Apache runs as. If they aren't Python running under mod_python will not be able to load the files. 2. Post a copy of your urls.py file so can validate it is correct for the mod_python configuration you are using. Graham On Nov 27, 11:58 am, Mike Feldmeier <[EMAIL PROTECTED]> wrote: > Thank you for your response, > > The 'test' is actually just a stand-in name for this posting. > > Thanks, > Mike > > On Nov 26, 7:10 pm, Graham Dumpleton <[EMAIL PROTECTED]> > wrote: > > > FWIW, you should never call stuff that might be interpreted as a > > Python module, 'test'. This is because there is a standard Python > > module of that name. Thus, depending on sys.path order, it could pick > > up the standard Python module instead of your site package. > > > Thus, for a start, trying to recreating your project with a different > > name than 'test'. > > > Graham > > > On Nov 27, 6:30 am, Mike Feldmeier <[EMAIL PROTECTED]> wrote: > > > > Using: > > > > Ubuntu (gutsy) > > > Apache (2.2.4) > > > Python (2.5.1)mod_python(3.3.1) > > > > I have a project with two projects underneath "local_apps.general" and > > > "shared.blog". Running the development server, everything runs great. > > > > <code> > > > /home/mike/www/www.test.com/ > > > test/ > > > settings.py > > > urls.py > > > ... > > > local_apps/ > > > general/ > > > urls.py > > > models.py > > > shared/ > > > blog/ > > > urls.py > > > models.py > > > </code> > > > > Now switching to production under Apache, it recognizes the project, > > > but not the applications. I've been through the tutorials, the book, > > > Google, but nothing seems to work. I keep getting No module named x > > > pages. > > > > Here are my apache settings: > > > > <code> > > > <VirtualHost *> > > > ServerAdmin [EMAIL PROTECTED] > > > ServerName test > > > DocumentRoot /home/mike/www/www.test.com/ > > > <Directory /> > > > Options FollowSymLinks > > > AllowOverride None > > > </Directory> > > > <Location /> > > > SetHandler python-program > > > PythonHandler django.core.handlers.modpython > > > SetEnv DJANGO_SETTINGS_MODULE test.settings > > > PythonDebug On > > > PythonPath "['/home/mike/www/www.test.com/', '/home/ > > > mike/www/www.test.com/test/'] + sys.path" > > > </Location> > > > <Location "/resources"> > > > SetHandler None > > > </Location> > > > > ErrorLog /var/log/apache2/error.log > > > > LogLevel warn > > > > CustomLog /var/log/apache2/access.log combined > > > > ServerSignature On > > > > </VirtualHost> > > > </code> > > > > Thanks for any insights, > > > Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---