Obsolete Releases > SME 8.x Contribs

ProxyPass to internal SME

(1/2) > >>

newburns:
I've looked around and I have setup a couple routes, but none seem to work
I just install ZoneMinder 1.25 on an SME 8 server. This is behind another SME 8 server that acts as the gateway/domain/file server.
I setup a ProxyPass directive to use the alias security.

--- Code: ---db accounts set seccurity ProxyPass
db accounts setprop security Target http://10.1.11.90
db accounts setprop security Description InternalZoneMinder
db accounts setprop security HTTP yes
db accounts setprop security HTTPS yes
--- End code ---
So it is http://mywebsite.com/security

I also setup a hostname for security on the main domain name, through the Server Manager Panel Hostnames and Addresses. I set this to remote with the ip of 10.1.11.90

Now, when I go to security.mywebsite.com it comes up with my main website hosted on the gateway server
When I go to mywebsite.com/security ZoneMinder comes up, but after you put in the password it doesn't stay in that directory. It looks for index.php on my gateway server as well.

I installed ZoneMinder into the Primary ibay. I originally wanted it in the /opt/ directory, but I need to figure out the proper way to pass the name or alias, just to make sure this ZoneMinder install works. I'll do a clean install and try to reinstall in /opt/ directory after this little hiccup.
Any help in the proper ProxyPass? Would that also work for ports? I have to forward ports to my internal server's port 22 in order to do SSH. Is there a solution that would do both? Basically, ProxyPass a complete domain, ports, names, and aliases to an internal server. I need to actually get to 2 internal servers. An AFFA backup server, and a Security Server. Again, all SME

CharlieBrady:

--- Quote from: newburns on May 15, 2012, 02:53:24 PM ---I setup a ProxyPass directive to use the alias security.

--- End quote ---

Are you sure? In the code you showed us, you created 'seccurity', then tried to set properties for the non-existent 'security'.

newburns:
Is there a way to view all the proxypass directives I've set up? Something similar to the rpm repository list?

janet:
newburns

--- Quote ---Is there a way to view all the proxypass directives I've set up? Something similar to the rpm repository list?

--- End quote ---

Look in the accounts db, list all or selectively list entries, see
http://wiki.contribs.org/Db_command_tutorial

Keep this knowledge for future use and you will not need to ask how to extract information from the databases ever again !
 
eg
db accounts show |more
db accounts show security

newburns:
Thanks mary,
I think I've come to love you. At first, I just thought you were mean and evil, but you respond to so many post, and help so many people, I think I owe you an apology for the way I felt. You are awesome. You are a star. You may not be glorious morning type of star, but you are a star nevertheless.
Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version