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
-~----------~----~----~----~------~----~------~--~---

Reply via email to