Maintenant, j'ai la configuration apache qui ne fonctionne qu'avec le domaine localhost (http://localhost/).Problème de sous-domaines Apache/Django
Alias /media/ "/ścieżka/do/instalacji/django/contrib/admin/media/"
Alias /site_media/ "/ścieżka/do/plikow/site_media/"
<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE settings
PythonPath "['/thomas/django_projects/project'] + sys.path"
PythonDebug On
</Location>
<Location "/site_media">
SetHandler none
</Location>
Comment puis-je le faire fonctionner pour certains sous-domaines comme pl.localhost ou uk.localhost? Ce sous-domaine doit afficher la même page quel domaine (localhost).
Deuxième question: Il est possible de changer l'adresse par défaut localhost (http://localhost/) à (http://localhost.com/) ou (http://www.localhost.com/) ou autre chose?