Re: Re: /?feed=rss2

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

 



On 11 Mar 2008, at 07:09, John Taylor-Johnston wrote:
Any other inspiration?

Assuming the index is a PHP script stick this at the top...

<?php
    if (!empty($_GET['feed']))
    {
        header('404 Not Found');
        echo 'Go away!';
        exit;
    }
?>

-Stut

-- http://stut.net/

John Taylor-Johnston wrote:
It used to have a feed, by accident.
Now someone munches up too much bandwidth.
http://www.foo.com/?feed=rss2
How can I divert this to 127.0.0.1 or something to convince this one to leave my bandwidth alone?
John

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux