Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
One last question regarding the reverse proxy. Is an external computer passing requests though the front end server, as in their requests are simply proxied through the server on the way to the back end or is the request served up by the front end server it's self when a request is made?
the request is fully proxied. the intermediate system is passing on the request to the back end and the response passed back, applying transformations to the response as if it were served locally. The request can be tweaked and changed in some cases, ProxyPreserveHost is often used to not change the Host header for example.
well the html content is not going to change by deafult, and changing it at all is pretty horrendous. Generally you want to move the web content on the end server, or make it otherwise available under the same uri you are proxying if it is using absolute uris (e.g. /images/photo.png compared to images/photo.png).
Take a look at the source code and see what links are broken and then you can look to investigate solutions
I had this issue last night actually. I was proxying sabnzbd on apache and was able to change the web root of sabnzbd, so that on it's own web service it runs under localhost:8080/sabnzbd as opposed to just localhost:8080. I then configure a proxypass /sabnzbd http://localhost:8080/sabnzbd. before I found I could do this, I was faced with redirecting a handful of individual uris, e.g. /static, /images and so on, as there was no other way to contain these uris in anything more concise.
It is *possible* to change the links in the HTML code coming back (mod_proxy_html I believe), but it's usually the beginning of a descent into madness.
I can get to the web pages easily by typing in the private ip address of the server that hosts them. Things only go wrong when I use the reverse proxy to get to them. Before I had the /site1 and /site2 names, the front end server was only hosting one webpage and it worked perfectly. Not sure what might be causing the issue. I'm hoping I won't have to do anything involving source code!!
I've gone mad before, I'd like to avoid it this time if at all possible
Sorry, but where do I find the source code? I already have apache installed, so it should already be on the system. I know the file should end with src.. I searched, I really did Google and the directories on the server.
no, try to avoid mod_proxy_html, it's a slippery slope like I said.
I mean the source of the web page! right click, view source! Not rocket surgery. Also a tool like firebug, chrome developer tools etc are useful to see what GETs are being requested and seeing what mappings you need if you can't work it out from a few lines of html.
Last edited by acid_kewpie; 05-17-2012 at 06:17 PM.