Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

stopping uri that have a Url in them

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


bfree at free-man

Jun 30, 2009, 1:26 PM

Post #1 of 4 (342 views)
Permalink
stopping uri that have a Url in them

I have a major attach of URL being sent:
http://mydomain.com/http://someurl.com
so the http:/someurl.com is requested from my apache server.
any way I can stop this.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


icicimov at gmail

Jul 2, 2009, 5:23 PM

Post #2 of 4 (294 views)
Permalink
Re: stopping uri that have a Url in them [In reply to]

RewriteEngine On
RewriteCond %{REQUEST_URI} ^http\:\/\/.*\.com$
RewriteRule - [F]

On Wed, Jul 1, 2009 at 6:26 AM, bfree[at]free-man.net <bfree[at]free-man.net>wrote:

> I have a major attach of URL being sent:
> http://mydomain.com/http://someurl.com
> so the http:/someurl.com is requested from my apache server.
> any way I can stop this.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> " from the digest: users-digest-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>
>


icicimov at gmail

Jul 2, 2009, 5:28 PM

Post #3 of 4 (289 views)
Permalink
Re: stopping uri that have a Url in them [In reply to]

Or you can use mod_security instead it will protect you from XSS and SQL
injection attacks and some other nasty stuff :)

On Fri, Jul 3, 2009 at 10:23 AM, Igor Cicimov <icicimov[at]gmail.com> wrote:

> RewriteEngine On
> RewriteCond %{REQUEST_URI} ^http\:\/\/.*\.com$
> RewriteRule - [F]
>
> On Wed, Jul 1, 2009 at 6:26 AM, bfree[at]free-man.net <bfree[at]free-man.net>wrote:
>
>> I have a major attach of URL being sent:
>> http://mydomain.com/http://someurl.com
>> so the http:/someurl.com is requested from my apache server.
>> any way I can stop this.
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
>> " from the digest: users-digest-unsubscribe[at]httpd.apache.org
>> For additional commands, e-mail: users-help[at]httpd.apache.org
>>
>>
>


bfree at free-man

Jul 4, 2009, 12:48 AM

Post #4 of 4 (275 views)
Permalink
Re: stopping uri that have a Url in them [In reply to]

Though I have solved my problem by disabling proxy, I want thank you for
your suggestions.
i will look up the mod_security as well.



Igor Cicimov sent the following on 7/2/2009 5:28 PM:
> Or you can use mod_security instead it will protect you from XSS and SQL
> injection attacks and some other nasty stuff :)
>
> On Fri, Jul 3, 2009 at 10:23 AM, Igor Cicimov <icicimov[at]gmail.com> wrote:
>
>> RewriteEngine On
>> RewriteCond %{REQUEST_URI} ^http\:\/\/.*\.com$
>> RewriteRule - [F]
>>
>> On Wed, Jul 1, 2009 at 6:26 AM, bfree[at]free-man.net <bfree[at]free-man.net>wrote:
>>
>>> I have a major attach of URL being sent:
>>> http://mydomain.com/http://someurl.com
>>> so the http:/someurl.com is requested from my apache server.
>>> any way I can stop this.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> The official User-To-User support forum of the Apache HTTP Server Project.
>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
>>> " from the digest: users-digest-unsubscribe[at]httpd.apache.org
>>> For additional commands, e-mail: users-help[at]httpd.apache.org
>>>
>>>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.