Hi Aaron,

I'm assuming that it doesn't have errors, as I can run the website
using the built-in server. It's just an new, empty project, so all I
get is the django welcome page. I'm hoping I'll have better luck
configuring my Mac at home, which is where I'll be doing 99% of my
development anyway.

Not being able to run the websites through Apache/mod_python isn't a
showstopper though. I can always use the built-in server, much the
same way I run Rails projects through a Mongrel instance as I'm
developing. I deploy my Rails sites to an Apache/FastCGI environment,
and they work perfectly. Hopefully I'll have the same experience with
Django.

I haven't had a chance to try configuring Apache to work with FastCGI
on my Windows box. Maybe I'll give that a go next.

Thanks,
b

On Feb 6, 2:09 pm, Aaron Fay <[EMAIL PROTECTED]> wrote:
> Brandon,
> I just realized also, from your original error:EnvironmentError: Could not 
> import settings 'testproject.settings' (Is it on sys.path?Does it have syntax 
> errors?): No module named testproject.settings.Does it have syntax errors?
> Aaron
> Aaron Fay wrote:Hey Brandon,
> Here's my exact setup:
>     <Location "/testproject/">
>         SetHandler python-program
>         PythonPath "['C:\django'] + sys.path"
>         PythonHandler django.core.handlers.modpython
>         SetEnv DJANGO_SETTINGS_MODULE testproject.settings
>         PythonDebug On
>     </Location>
>     <Location "/media/">
>         SetHandler None
>     </Location>
>     <LocationMatch "\.(jpg|gif|png)$">
>         SetHandler None
>     </LocationMatch>
> "testproject" is here "C:\django\testproject", settings file is 
> "C:\django\testproject\settings.py".  I put both 
> "C:\Python25\Scripts;c:\Python25\" in my system PATH.
> Running an XP SP2 box, wamp5 version 1.6.4, Apache 2.0.58(win32), mod_python 
> 3.3.1, Python 2.5.1
> Don't know if there's anything else I can tell you that might help, good luck 
> with it...
> Aaron
> Brandon Taylor wrote:Hi Guys, Yes, I've tried that as well. No dice. Ugh! b 
> On Feb 6, 1:22 pm, Michael Hipp<[EMAIL PROTECTED]>wrote:Is there a reason 
> this line looks like this: > <Location "/testproject/"> Instead of like this: 
> > <Location "/"> Michael Brandon Taylor wrote:Well, still no working 
> solution, but here is my httpd.config now:<Location "/testproject/"> 
> SetHandler python-program PythonPath "['C:/django_projects/', 
> 'C:/Python25/lib/site-packages/ django'] + sys.path" PythonHandler 
> django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE 
> testproject.settings PythonDebug On </Location>I'm wondering if I should move 
> to a FastCGI setup versus mod_python, as that's how my shared environment is 
> going to be configured.Thoughts anyone? I don't understand what the problem 
> might be here. I'll see if I have any more luck on my Mac when I get home.- 
> Brandon
--~--~---------~--~----~------------~-------~--~----~
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