If I remember correctly, you'll see the file listing if you don't have
handlers set properly for the location. What is in your httpd.conf or
virtual host config file for the htdocs directory?

I'm assuming you've looked at:

http://www.djangoproject.com/documentation/modpython/

- syd

On Aug 27, 1:25 am, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> Hi Joe,
>
> One more question...
>
> So Django is woring correctly which is great, but I can't seem to get
> mod_python working for Apache 2. I have the latest version of Apache
> 2.2.4 and mod_python 3.3.1. I've added the "LoadModule" call to my
> httpd.conf and Apache isn't complaining.
>
> I moved my 'test_project' into my 'htdocs' folder and restarted
> Apache, but instead of seing the django welcome screen, I see a
> listing of my files.
>
> Is there anything else I need to be doing to Apache to get it to run
> the Python files?
>
> TIA,
> Brandon
>
> On Aug 26, 11:00 pm, "Joseph Heck" <[EMAIL PROTECTED]> wrote:
>
> > Use the path settings from my earlier post - that fits perfectly with
> > MacPorts and should do you.
>
> > -joe
>
> > On 8/26/07, Brandon Taylor <[EMAIL PROTECTED]> wrote:
>
> > > Hi everyone,
>
> > > I scrapped my custom install of Python 2.4.4 and Django in favor of an
> > > install from MacPorts. So, now I have Python 2.5.1 and Django
> > > installed.
>
> > > But, now when I run python in bash, I get version 2.3.5. Mac Ports has
> > > insalled everything to /opt/local/var/macports/software
>
> > > I have django-admin.py, python2.5, python2.5-config, smtpd2.5.py and
> > > pydoc2.5 in /opt/local/bin
>
> > > Can someone help me get the correct path settings in bash_profile,
> > > profile, bash_login or whatever files I need to edit? I would really
> > > appreciate the help. I'm anxious to get started with Python and
> > > Django.
>
> > > TIA,
> > > Brandon
>
> > > On Aug 26, 1:34 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> > > > On 26-Aug-07, at 11:51 AM, Brandon Taylor wrote:
>
> > > > > -bash: django-admin.py: command not found
>
> > > > what happens if you run /usr/local/bin/django-admin.py, that is, with
> > > > the full path name. If it runs, then it means your path does not
> > > > contain /usr/local/bin. If it doesnt run, your alias is borked.
>
> > > > --
>
> > > > regards
> > > > kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/


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