Any other inspiration?
Thanks,
John
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
John Taylor-Johnston wrote:
I do. CPanel too. How would I write that into an htaccess ?
The RewriteRule syntax is the same in .htaccess
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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/
I do. CPanel too. How would I write that into an htaccess ?
Shawn McKenzie wrote:
John Taylor-Johnston wrote:
If you have apache, I would use a rewrite rule to return not found.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo