Hi,

that is because django tries to resolve this url, which is not possible and 
also probably not wanted.

IMHO you have to use an extra subdomain.  - e.g. 
phpmyadmin.ec2-xx-xxx-xx-x.cumpute-1.amazon… - to deliver such kind of content.

It has to be handled beyond the wsgi.

BTW:
http://stackoverflow.com/questions/5264811/how-do-i-run-django-and-phpmyadmin-on-apache-webserver-on-ubuntu

Good luck,

TR






Am 06.04.2013 um 23:17 schrieb Hylda:

> 
> 
> Hi all,
> 
> I am new to this. After I switch to apache, I don't know how to undo this. I 
> cannot use phpmyadmin. Can anyone help? Thanks so much.
> 
> 
> Switch to Apache Webserver
> run sudo yum install mod_wsgi to install the apache and the module necessary 
> for serving your django app.
> Add these lines to /etc/httpd/conf/httpd.conf
> Alias /static /var/www/mysite/static
> <Directory /var/www/mysite/static>
>   Order deny,allow
>   Allow from all
> </Directory>
> WSGIScriptAlias / /var/www/mysite/apache/django.wsgi
> 
> 
> Page not found (404)
> Request Method:       GET
> Request URL:  http://ec2-XX-XXX-XX-X.compute-1.amazonaws.com/phpmyadmin
> Using the URLconf defined in mysite.urls, Django tried these URL patterns, in 
> this order:
> ^polls/
> ^admin/
> The current URL, phpmyadmin, didn't match any of these.
> You're seeing this error because you have DEBUG = True in your Django 
> settings file. Change that to False, and Django will display a standard 404 
> page.
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to