Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Configuring Apache as Proxy  RSS feed

Sharang Thorat
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using apache 2.0. I want to set apache as proxy i.e any URL I type in browser should pass thru proxy server. I am using following setting to do that in my http.conf file.

# Proxy Server directives. Uncomment the following lines to
# enable the proxy server:

<IfModule mod_proxy.c>
ProxyRequests On

<Proxy *>
Order deny,allow
Allow from all

# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via:

# Set to one of: Off | On | Full | Block
#ProxyVia On

# To enable the cache as well, edit and uncomment the following lines:
# (no cacheing without CacheRoot)

#CacheRoot "C:/Apache/proxy"
#CacheSize 5
#CacheGcInterval 4
#CacheMaxExpire 24
#CacheLastModifiedFactor 0.1
#CacheDefaultExpire 1

#End of proxy directives.

I changed my browser setting to accept http://localhost:80 as proxy server and port (my apache is listening on port 80 ).

Whenever I type any URL in browser I get following error

You don't have permission to access on this server.

why my apache is not allowing me to access url.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!