How do you run Django and phpmyadmin on apache webserver. I made use of localhost/phpmyadmin also it labored but once i set up Django on localhost/admin, phpmyadmin isn't working i recieve a mistake page from Django saying the URL isn't in web addresses.py. it is possible to method to run Django on port 81(httpd.conf) to ensure that it won't conflict with phpmyadmin, or perhaps is there another thing i'm missing.I personally use mod_python module.This really is my httpd.conf file after i alter the location "/" to location "/home/projects/" Phpmyadmin works but Django fails and viceversa

<location "/">
 SetHandler python-program
 PythonHandler django.core.handlers.modpython
 SetEnv DJANGO_SETTINGS_MODULE hana.settings
 PythonPath "['/home/projects/', '/home/projects/mysite', '/home/projects/mysite/mysite'] + sys.path"
</location>
<location "/admin-media">
SetHandler None
</location>

You are able to run both of them on same port. Just add wrinkles for your apache config after WSGIAlias directive:

Alias /phphmyadmin /sys/path/to/phpmyadmin
<Location /phphmyadmin>
SetHandler None
</Location>

You may also run them on different ports.

Listen 80
Listen 81
NameVirtualHost *:80
NameVirtualHost *:81

<VirtualHost *:81>
django-config
</VirtualHost>

<VirtualHost *:80>
phph-my-admin-configs
</VirtualHost>