MunkiWebAdmin running as a subfolder

52 views
Skip to first unread message

Steffan Ravn Edwardsen

unread,
Aug 13, 2015, 3:20:56 PM8/13/15
to MunkiWebAdmin
Hi everybody!

First of all, thanks for the great project and community, it's amazing!

We're setting up a complete Mac OS X management system with Munki, MunkiWebAdmin, Reposado etc. at our campus and we're running it on a virtual Ubuntu Server 14.04 box. What I want to accomplice is MunkiWebAdmin running in a subfolder like this:

We are going to have different systems running at different paths, so the root-domain is going to link to the different services, like Margarita, MunkiReport and of course MunkiWebAdmin.

But I can't get it to work at all.

I have an apache sites-enabled file with this content:

<VirtualHost *:80>

        WSGIScriptAlias /mwa/ /usr/local/munkiwebadmin_env/munkiwebadmin/munkiwebadmin.wsgi

        WSGIDaemonProcess munkiwebadmin user=munkiuser group=munki

        Alias /static/ /usr/local/munkiwebadmin_env/munkiwebadmin/static/

        <Directory /usr/local/munkiwebadmin_env/munkiwebadmin>

                WSGIProcessGroup munkiwebadmin

                WSGIApplicationGroup %{GLOBAL}

                Require all granted

        </Directory>

</VirtualHost>


 As you can see, the WSGIScriptAlias should react to the mwa-path, but I just get a 404-error. I've also tried without the trailing slash, as suggested elsewhere on the web. If I run MunkiWebAdmin directly in the root (e.g. http://servername.com), it works perfectly fine, so I believe everything else is configured correctly. I have no real experience with either Django nor WSGI, so it might just be me having overlooked the obvious. ;)

I hope you can help point me in the right direction and if you need more information, I'll be happy to provide it. :)

Sincerely
Steffan Ravn Edwardsen
Reply all
Reply to author
Forward
0 new messages