473,287 Members | 1,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

.htaccess technical questions

Hello all,

I'm very new to all this so please bear with the newbie questions

I have a blog which gets a lot of referrer spam.

I'd like to find a way to use .htaccess to block them by referrer name.

I'd also be able to use .htaccess to reroute from specific IPs, either
the whole IP or just the first part, such as
66.96.62.4 or 80. or 134.75.
to a custom error page which will say "If you are a legitimate reader
of my site, please e-mail me at...."

I've seen lots of stuff out there about .htaccess but almost all of
them seem to take down my site!

Thanks much,
Ross
ro*******@aol.com
blog.rossputin.com

Jul 17 '05 #1
3 2219

<ro*******@aol.com> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
Hello all,

I'm very new to all this so please bear with the newbie questions

I have a blog which gets a lot of referrer spam.

I'd like to find a way to use .htaccess to block them by referrer name.

I'd also be able to use .htaccess to reroute from specific IPs, either
the whole IP or just the first part, such as
66.96.62.4 or 80. or 134.75.
to a custom error page which will say "If you are a legitimate reader
of my site, please e-mail me at...."

I've seen lots of stuff out there about .htaccess but almost all of
them seem to take down my site!

Thanks much,
Ross
ro*******@aol.com
blog.rossputin.com


What is referrer spam? I don't blog so I don't know.
Jul 17 '05 #2
On Sun, 24 Apr 2005 21:56:25 -0400, "Chung Leong" <ch***********@hotmail.com>
wrote:
What is referrer spam? I don't blog so I don't know.


http://www.google.co.uk/search?q=referrer+spam

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #3
Andy Hassall wrote:
On Sun, 24 Apr 2005 21:56:25 -0400, "Chung Leong" <ch***********@hotmail.com> wrote:
What is referrer spam? I don't blog so I don't know.


http://www.google.co.uk/search?q=referrer+spam


LOL. Nice humour:)

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: yawnmoth | last post by:
i'm trying to write a php script that will password protect some random directory by creating a .htaccess file, and a password file to accompany the .htaccess file, and it isn't working... ...
13
by: Bob Bedford | last post by:
I've protected a directory with an .htaccess file. I'd like some of the files in this directory to be accessible by a scheduler that runs an "URL". The problem is that the scheduler runs scripts...
4
by: psk79 | last post by:
Hi all, I created a set of pages with PHP for login using a database. Now, I need to link to a lot of CGI programs in a folder with protected-access (.htaccess). The username and password are...
4
by: David Winter | last post by:
As a technical author and translator, I am highly interested in single source/multi format publishing. Meaning: I'd like to keep manuals, technical specifications etc. in multiple languages...
0
by: Jack Hambabo | last post by:
Hi, I'm searching for a php script that can find out whether the current user (I know _SERVER will give me the name for non-cgi php) has the right to view a specific file. My dream is that I...
5
by: Nosferatum | last post by:
I am in need of a solution on how to solve this problem: I need to limit access to six different folders. My users are validated in a system which check their prescence with a couple of...
0
by: yragcom1 | last post by:
If someone could tell me how I could use .htaccess to make the URLs in this site pretty, I would be forever grateful. www.answered-questions.com Instead of having this URL:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.