creating a proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all,

I would like to enable a proxy on my server with port forwarding.
The idea is to connect to my server through putty with ssh tunnel forwarding localhost:80 to myproxyserver.com:80
I have enabled proxy module with a2enmod proxy command and setup a virtualhost
my virtualhost (/etc/apache2/sites-available/myproxyserver) has been enabled and is as follow

NameVirtualHost *:80
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName myproxyserver.com
        ProxyRequests On
        ProxyVia On

        <Proxy *>
        Order deny,allow
        Deny from all
        Allow from localhost
      
        </Proxy>
</VirtualHost>

when I set up proxy to 127.0.0.1 on firefox and try to access to a web site, I get the following

Forbidden

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

how can I fix that ?


thanks


etienne




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux