Hi, I've been reading up about ProxyPass ( http://stackoverflow.com/questions/624302/help-me-understand-how-to-use-proxypass) trying to understand your situation better but I'm still at a loss how to help you out. URL prefix is not hard coded in Mayan ( https://github.com/rosarior/mayan/blob/master/urls.py#L7), so that apps' URLs are relative and follow whatever root URL has been defined by the webserver. I set the WSGIScriptAlias like you do to place Mayan in an URL other than root and it works. I've been also looking around to see if Django support some sort of URL prefixing to change the root URL from the project itself but haven't found anything. Lastly your installation may be working as expected and it just the post login action that's redirecting to the / URL. Add a settings_local.py file and set LOGIN_REDIRECT_URL to '/mayan' or similar to see if it has any effect. I'll keep reading about ProxyPass and ReverseProxyPass to better understand this type of setup.
Thanks, --Roberto On Thursday, September 6, 2012 5:02:20 AM UTC-4, Gian van der spuy wrote: > > I've installed Mayan on a KVM virtual machine and would like to access it > using an Apache ProxyPass directive on the host machine. > Because Mayan runs from the / web directory, this causes problems on the > host for other websites. > I've tried using: > ProxyPass / https://<guest ip>/ > in the host's ssl.conf > This works, breaks things on the host's website. > > ProxyPass /Mayan https://<guest ip>/Mayan > and changing the WSGIScriptAlias to: > WSGIScriptAlias /Mayan /var/www/mayan/mayan/wsgi/dispatch.wsgi > in the guest ssl.conf > gives me a mayan website without CSS and keeps reverting to / which now > points to nothing. > > Any idea how I should go about solving this? > It would be simple if Mayan didn't insist on use the web root. > --
