brando56894
Wizard
- Joined
 - Feb 15, 2014
 
- Messages
 - 1,537
 
I'm in the process of setting up all my hosted services on HTPC Manager for easy access. I have a basic understanding of apache reverse proxies since I have successfully configured them for transmission, sickrage, couchpotato and nzbget, I'm having problems though with FreeNAS since it redirects to the login page.
I have virtual hosts configured for each running webserver and have everything set in /usr/local/apache24/extras/httpd-vhosts.conf like so
when I enter [domain]/freenas into my URL bar it automatically redirects to [domain]/account/login and then says that it can't be found. How can I get it to redirect to freenas instead? Same thing happens with the IPMI interface.
	
		
			
		
		
	
			
			I have virtual hosts configured for each running webserver and have everything set in /usr/local/apache24/extras/httpd-vhosts.conf like so
Code:
<VirtualHost *:80>
  ServerName localhost
  ServerAlias 127.0.0.1
  ProxyPreserveHost on
    <Location /freenas>
        order deny,allow
        deny from all
        allow from all
        ProxyPass http://192.168.1.6
        ProxyPassReverse http://192.168.1.6
    </Location>
</VirtualHost>
when I enter [domain]/freenas into my URL bar it automatically redirects to [domain]/account/login and then says that it can't be found. How can I get it to redirect to freenas instead? Same thing happens with the IPMI interface.
			
				Last edited: