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.
Thanks for the help, but what I am using are test pages at the moment. So it would be better if I could get mod_proxy_html to work so that things will go well when the front end server is deployed and I may not be around if other servers need to be proxied. I'm willing to put the time in to get it to work!
The html pages are not mine to modify, though I will ask about it!
All I want to do is make it so that if I don't include the "/" at the end of the address when entered in a web browser, I'll still get the page to display. When the "/" is included at the end it works perfectly! Images load just fine.
192.168.0.2/site1 = No Images
192.168.0.2/site1/ = Images
Why? This is the only problem I'm having. I don't see what looking at the html will do for me considering it works when the "/" is included at at the end of the url.
It's very unclear what is not working, one minute it's the "page" and then it's "images". if you have a page and the *PAGE* has successfully loaded, but you have broken content on the page, then clearly there is a difference between how you're calling the page, and how the page is referring to the images.
Where you have no images, I would guess that if you look at the code you'll see something like "<img src=bob.gif />" And in this case, the request that ends up going to the back end server would be site1bob.gif compared to site1/bob.gif. Does this finally show why you should be actually LOOKING at what is being requested?? Are you looking in the log files on the back ends to see a pile of 404s?
The problem that I am currently having is that the images on the page only load when the url is typed in as http://192.168.0.2/site1/ and not http://192.168.0.2/site1. Everything else is working perfectly. I created an index.html file that points to these FQDNs with the full url, and that works perfectly. All I have to do is type http://192.168.0.2 into the web browser and I can reach each site without trouble using links.
Thanks again for the help. The first example didn't work for me though and I don't have mod_rewrite. I tried to enable it with a2enmod mod_rewrite, but it says it doesn't exist. What would I have to download?