> I deployed my Django Application onto the localhost using Apache.
> Below are the changes i did in the httpd.conf
>
> <VirtualHost *>
>    ServerName localhost
>    SetHandler python-program
>    PythonHandler django.core.handlers.modpython
>    PythonDebug On
>    PythonPath "['/xxx/', '/xxx/yyy'] + sys.path"
>
>    <Location "/dispatcher/">
>       SetEnv DJANGO_SETTING_MODULE yyy.settings
>       PythonInterpreter yyy
>    </Location>
> </VirtualHost>
>
> I am able to access my django application using:
> http:/localhost/dispatcher/tasks
>
> The problem now is, i am not able to access the phpPGadmin 
> using:http://localhost/phppgadmin

What is the error you're getting: 404, or something else. Anything in
the apache error logs?

I'm guessing somewhat, but you may need to set up something in your
virtual host environment to handle php. It is probably set up
correctly outside your <VirtualHost> section, so you could copy that.
Either an 'AddType application/x-httpd-php .php' or similar line, or a
SetHandler (I've the first in my httpd.conf, and my apache does indeed
serve django, php & static files, but I'm not too familiar with Apache
conf files or php).

  Evert

>
> Based on my settings, what other ways can i gain access to non django
> application that are deployed on localhost?
>
> Thank you.
--~--~---------~--~----~------------~-------~--~----~
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