Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
Joined: Mar 2002
Posts: 305
Be careful with the .htaccess file if you use FrontPage, I believe servers put the code FrontPage uses in an .htaccess file, so if you upload a new one you could/would be writing over those codes and FrontPage wouldn't be able to access the site anymore (until the host reinstalled them.)

Usually the .htaccess file is placed in the root folder, so that it applies to your whole site, but it's definitely less restrictive to put it in your ubbthreads directory, if your board is all that you are concerned with blocking.

The .htaccess file is an ASCII text document that can be placed in any directory on your site. It can be used to control access to files and directories, and customize some server operation in your site. A .htaccess file can be created in any word processor but must be saved as text only. You must use FTP software in ASCII mode to upload or edit your .htaccess file.

To block a user, you'll put their IP address in the file like this:

code:
<Limit GET>
order allow,deny
deny from 128.23.45.
deny from 207.158.255.213
allow from all
</Limit>



anyone trying to access the site from the IP '128.23.45?.???' would get a forbidden error. The IP 207.158.255.213 would give the same error. The code goes on to say to allow everyone else access.

You just want to use notepad or something similar, type in the code (using the IP's you want to block), then save it as ".htaccess" (no quotes). FTP it to your threads directory (make sure you upload it as ASCII! not binary!) and you should be all set. If your FTP program won't allow you to upload the file with no character before the "." then name it something like htaccess.txt and rename it to .htaccess after it's uploaded. It has to be named .htaccess (no character before the ".").

As far as finding the correct IP's to block, we usually try banning both the registration IP and the IP they posted with. They are often different, especially if they registered a long time ago. They may have registered from a different computer, from a different ISP, etc. So we ban the registration IP for a backup measure, but we are most concerned with the IP on their posts.

If you want to PM or email me the IP of the person, I'd be glad to help you figure out what to ban.


[:"red"]Lisa[/]
Sponsored Links
Entire Thread
Subject Posted By Posted
Permanent blocking of a user? Pilgrim 08/11/2002 9:18 PM
Re: Permanent blocking of a user? JoshPet 08/11/2002 9:38 PM
Re: Permanent blocking of a user? Pilgrim 08/11/2002 11:45 PM
Re: Permanent blocking of a user? Lisa_P 08/12/2002 12:46 AM
Re: Permanent blocking of a user? Pilgrim 08/12/2002 1:28 AM
Re: Permanent blocking of a user? Lisa_P 08/12/2002 2:21 AM
Re: Permanent blocking of a user? Lisa_P 08/12/2002 2:40 AM
Re: Permanent blocking of a user? Dalantech 08/12/2002 7:25 AM
Re: Permanent blocking of a user? Pilgrim 08/12/2002 8:10 AM
Re: Permanent blocking of a user? Aglavalin 08/13/2002 7:10 AM
Re: Permanent blocking of a user? JustDave 08/13/2002 7:23 AM
Re: Permanent blocking of a user? Pilgrim 08/13/2002 7:36 AM
Re: Permanent blocking of a user? flyingcrow 08/13/2002 10:10 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,080
Joined: March 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1443
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 7
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
isaac 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)