Forum Moderators: phranque
67.234.73.158 - - [01/Dec/2004:15:47:33 +0100] "POST [67.234.73.158:25...] HTTP/1.1" 200 2480 "-" "-"
I don't allow any port forwarding or tunneling that I'm aware of.
Thanks in advance
Welcome to WebmasterWorld!
> I don't have the mod_proxy.c installed or run my server as proxy.
Are you sure? From the 200-OK server response code, it looks like that attempt to use your server as a proxy was successful to me...
I use mod_rewrite to put a stop to this, while still allowing use of absolute URIs:
Options +FollowSymLinks
RewriteEngine on
# BLOCK attempts to use our server as a proxy, but allow absolute URIs
RewriteCond %{THE_REQUEST} ^(GET¦HEAD¦POST)\ /?http:// [NC]
RewriteCond %{THE_REQUEST} !^(GET¦HEAD¦POST)\ /?http://(www\.)?(test\.)?[i]mydomain[/i]\.com/
RewriteRule .* - [F]
Note to all: We do not normally "write code on request" in this forum, as we prefer to help people write their own code. But occasional exceptions are allowed for pressing security problems. More information on forum policies and references to mod_rewrite and related documentats are available in our forum charter [webmasterworld.com].
Jim
Now I have also added
<IfModule mod_proxy.c>
ProxyRequests Off
</IfModule>
which really shouldn't matter as I don't load the mod_proxy.c module anyway.
Thanks for your time
Then try: "http://www.yourdomain.com/http://www.yourdomain.com/", and this should load your home page if your server is set up properly.
Jim