472,791 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,791 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 2195

<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:...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.