Topic: iRedAdmin in a virtual host needed

I am having real problems understanding how to make IRedAdmin available to 1 of my 2 virtual hosts only!

It keeps bringing up the following error in a web browser:

"Internal Server Error"

This is the contents of the virtualhost '/etc/httpd/conf.d/mydomain.com':

# Note: Uncomment below two lines if you want to make iRedAdmin accessable via HTTP.
#WSGIScriptAlias /iredadmin /var/www/iredadmin/iredadmin.py/
#Alias /iredadmin/static /var/www/iredadmin/static/

WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess iredadmin user=iredadmin threads=15
WSGIProcessGroup iredadmin

AddType text/html .py

<VirtualHost *:80>
    ServerAdmin webmaster@mydomain.com
    DocumentRoot /www/mydomain.com/html
    ServerName www.mydomain.com

    <Directory "/www/mydomain.com/html">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all

WSGIScriptAlias /iredadmin "/var/www/iRedAdmin-0.1.4/iredadmin.py"
Alias /iredadmin/static "/var/www/iRedAdmin-0.1.4/static"

AddType text/html .py

<Directory /var/www/iRedAdmin-0.1.4/>
    Options All
    Order deny,allow
    Allow from all

DeflateCompressionLevel 3
AddOutputFilter DEFLATE html xml php js css
<Location />
    SetOutputFilter DEFLATE
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
    SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
    SetEnvIfNoCase Request_URI .(?:pdf|mov|avi|mp3|mp4|rm)$ no-gzip dont-vary
    #Header append Vary User-Agent env=!dont-vary

Why is it bringing up the error?

I have disabled sysmbolic links though in my apache server, as I have been told many times for security reasons they should be disabled!


Re: iRedAdmin in a virtual host needed

Ignore me searched around this forum and found it was actually hanging when I had mod_python installed, doesn't really matter now.

I just won't use python, I suppose because IRedAdmin is using python I can still use it through the same system can I though?

Hmm interesting thought, oh well it works now anyways!