removing the trailing ^ is the only way so far, here the httpd where i took ofthe / after "/cefinban and added a ServerName
then typing in the browser http://127.0.0.1/cefinban/admin/ if url.py link is (r'^admin/', include('django.contrib.admin.urls.admin')), give me a 404 error The current URL, /cefinban/admin/, didn't match any of these. however taking of the ^ make it work. <VirtualHost *> ServerName www.cefinban.no-ip.com <Location "/cefinban"> SetHandler python-program PythonHandler django.core.handlers.modpython PythonPath sys.path+['/home/greg/Projects'] SetEnv DJANGO_SETTINGS_MODULE cefinban.settings PythonDebug On </Location> Alias /media "/var/www/cefinban/media" <Location "/media/"> SetHandler None </Location> </VirtualHost>