I have got a little of an issue with forcing django based site along with a "regular" sites i.e. wikis to operate on a single machine, and also to top it I am kinda a new comer to these items...

I have been attempting to setup this while using VirtualHost however it appears that this doesn't work perfectly. Quite simply I'm able to either run the django site (alredy in type of host.com/djangosite) along with other sites in the same time frame (i.e host.com/othersite1). Just one works at any given time it appears such as the apache runs first VirtualHost it finds.

the dwelling within the server appears like this

/var/www/djangosite
/var/www/othersite1
/var/www/othersite2 ... etc

The sites-enabled, I played around with a little and lastly wound up in a single file with two VirtualHosts for the time being:

    <VirtualHost *:80>
        ServerAdmin ss@dd.gg
        DocumentRoot /var/www/djangosite
        ServerName host.com/djangosite

        Alias /m/ "/var/www/djangosite/forum/skins/"
        <Directory "/var/www/djangosite/forum/skins">
                Order allow,deny
                Allow from all
        </Directory>
        Alias /upfiles/ "/var/www/djangosite/forum/upfiles/"
        <Directory "/var/www/djangosite/forum/upfiles">
                Order deny,allow
                Allow from all
        </Directory>

        WSGIScriptAlias /djangosite /var/www/djangosite/djangosite.wsgi

        CustomLog /var/log/djangosite.access.log common
        ErrorLog /var/log/djangosite.error.log
</VirtualHost>

<VirtualHost *:80>
        DocumentRoot /var/www/othersite1
        ServerName host.com/othersite1
</VirtualHost>

By themselves both VirtualHosts do ok, i.e. after i put this inside a file in sites-enabled the djangosite works fine, the second reason is not found, (something with document root being rooted at wrong dir in filesystem structure). Basically place the second Vhost on the top it really works the djangosite does not.

Ok. now a question for you is there a recipe for running djangosite and "regular" site on a single linux/apache configuration with one NIC and something hostname.

thanks not less than reading through :)

You do not need two seperate VirtualHosts. Just place them in exactly the same one, using the ServerName as just "host.com". You'll be able to use aliases - the WSGIScriptAlias for that Django site, along with a normal Alias for that wiki.

One note: please not place your Django code within the DocumentRoot. This really is harmful - it causes it to be potentially feasible for people to visit your code, as well as your passwords etc in configurations.py. Move it elsewhere, and omit the DocumentRoot directive.