Discussion Locked

Apache on Red Hat Linux 7.1

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I would like to share the Internet by using Apache. I know that Apache has a proxy module which I can use it to share the Internet. I use Red Hat Linux Server 7.1. I configure like the following:
In the "/etc/httpd/conf/httpd.conf" file I edit and uncomment these following lines:
##################################################
LoadModule proxy_module modules/libproxy.so
AddModule mod_proxy.c
Port 80

ProxyRequests On

Order deny,allow
Deny from all
Allow from .puth.edu.kh

##################################################
- Do all these lines work? What is * meant?
- For the clients side, how do I configure them to up and run in case ofmy linux server's IP address is 192.168.0.1 and I use modem to connect to my ISP? Do I have to set all my clients side to use a Proxy Server, Proxy Server Address:192.168.0.1 and Port 80? If what I said is wrong, what should I do?
- For the clientsside, how do I configure them to up and run in case of my linux server is a multi-homed server and has the local IP address 192.168.0.1 and public IP address which means an IP address that I get from my ISP 10.1.35.1? If what I said is wrong, what should I do?

Thank u so much for all of ur answers to me.

3 replies

by rbgnr111

the means you have a directory called proxy. or a series of directorys that you are denying rights to everyone accept .puth.edu.kh

usaully when you define rights by domain name you don't lead with a period though it should probably be either *.puth.edu.kh or puth.edu.kh

here is a link to where you can find out more about that module
http://httpd.apache.org/docs-2.0/mod/mod_proxy.html

by choth

Dear Sir:

Thank you so much sir, but your answer is not the right need from me. All I have ask you is that I would like you to verify my configuration to make it up and running. Thank you.

Sincerely,

Choth

This discussion is closed to new replies.