LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-14-2010, 12:51 AM   #1
crahuldba@gmail.com
Member
 
Registered: Apr 2010
Posts: 52

Rep: Reputation: 2
Apache as proxy server


Hello friends
I dont know my question is right or wrong.
I want to know can i use apache as a proxy .
Is there any relation between apache and squid proxy.
Thanks & Regards
Rahul Sharma
 
Old 10-14-2010, 01:03 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Hi,

If you let us know what you want to do we can help you better.

Apache is a web server

Squid is a Web Proxy

A proxy server is a gateway for users to the Web at large. Users configure the proxy in their browser settings, and all HTTP requests are routed via the proxy. Proxies are typically operated by ISPs and network administrators, and serve several purposes: for example,

* to speed access to the Web by caching pages fetched, so that popular pages don't have to be re-fetched for every user
who views them.
* to enable controlled access to the web for users behind a firewall.
* to filter or transform web content.

Then we have

Reverse Proxy

A reverse proxy is a gateway for servers, and enables one web server to provide content from another transparently. As with a standard proxy, a reverse proxy may serve to improve performance of the web by caching; this is a simple way to mirror a website. Loadbalancing a heavy-duty application, or protecting a vulnerable one, are other common usages. But the most common reason to run a reverse proxy is to enable controlled access from the Web at large to servers behind a firewall.

The proxied server may be a webserver itself, or it may be an application server using a different protocol, or an application server with just rudimentary HTTP that needs to be shielded from the web at large. Since 2004, reverse proxying has been the preferred method of deploying JAVA/Tomcat applications on the Web, replacing the old mod_jk (itself a special-purpose reverse proxy module).

A typical proxy server will need to enable several modules. Those relevant to proxying include:

* mod_proxy: The core module deals with proxy infrastructure and
configuration and managing a proxy request.
* mod_proxy_http: This handles fetching documents with HTTP and
HTTPS.
* mod_proxy_ftp: This handles fetching documents with FTP.
* mod_proxy_connect: This handles the CONNECT method for secure
(SSL) tunneling.
* mod_proxy_ajp: This handles the AJP protocol for Tomcat
and similar backend servers.
* mod_proxy_balancer implements clustering and load-balancing
over multiple backends.
* mod_cache, mod_disk_cache, mod_mem_cache: These deal with managing
a document cache. To enable caching requires mod_cache and one or
both of disk_cache and mem_cache.
* mod_proxy_html: This rewrites HTML links into a proxy’s address
space.
* mod_headers: This modifies HTTP request and response headers.
* mod_deflate: Negotiates compression with clients and backends.

Last edited by prayag_pjs; 10-14-2010 at 01:07 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Apache Server and Pound as a Reverse Proxy swamprat Linux - Software 0 12-17-2008 04:12 PM
Apache Proxy Server Trano Linux - Networking 3 02-16-2005 05:24 PM
Using Transparent Proxing with Apache Proxy server adityanag Linux - Networking 1 01-02-2005 10:48 AM
apache proxy server rewrite urls slackwarefan Linux - Software 0 10-19-2004 07:58 PM
Disabling proxy in apache server himanshuabc Linux - Networking 0 09-12-2004 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration