hey thanks thanks, but now i have 500 Internal Server Error. What i now have is:
a folder 'apache' next to my django project folder. Apache folder has: apache_django_wsgi.conf, myproject.wsgi, __init__.py, urls_production.py, settings_production.py
and in httpd.conf i have this (stahlhandel is my djangoproject):
RewriteEngine On
RewriteLog /usr/local/httpd/logs/rewrite.log
RewriteLogLevel 2
RewriteMap low int:tolower
RewriteMap subdom txt:/usr/local/httpd/conf/subdomains.lst
RewriteCond ${subdom:%{HTTP_HOST}} ^(/.*)$
RewriteRule ^/(.*)$ %1/$1 [E=SUBDOM:${low:%{HTTP_HOST}}]
DocumentRoot /usr/local/httpd/htdocs/admin
</VirtualHost>
DocumentRoot /usr/local/httpd/vhtdocs/stahlbaron/stahlhandel
SuexecUserGroup stahlbaron stahlbaron
ScriptAlias /cgi-bin/ /usr/local/httpd/vhtdocs/stahlbaron/cgi-bin/
WSGIScriptAlias / /www/vhtdocs/stahlbaron/stahlhandel/apache/lastsite.wsgi
<Directory />
Options SymLinksIfOwnerMatch Indexes
AllowOverride AuthConfig
Allow from all
</Directory>
<Directory /usr/local/httpd/vhtdocs/stahlbaron/stahlhandel/apache/>
Order deny,allow
Allow from all
</Directory>
AddHandler php-cgi .php
Action php-cgi /php/php.cgi
# DocumentRoot /usr/local/httpd/htdocs/
</VirtualHost>
can it be that i am missing <Location /> tag or is it here not relevant?
thanks