Anyone know how to ban IP numbers using FrontPage2000? I have some freak who's bombarding one page on my little site with like 10,000 hits over the last few hours from 9 different computers and I want to take him down before he makes me exceed my bandwidth. My hosting service is clueless on dealing with .htaccess for FP and they won't help. Anyone? Bueller!?.
If you are running the site with IIS, you can go into the Internet Services Manager, right click the website Properties, then go into the Directory Security tab. Click on the edit button by "IP Address and domain name restrictions", you can add in their IP there and restart IIS.
Timing - Frontpage is just the app that you write the webpage in. You need a webserver (like Microsoft's IIS) to run it on. Ask your ISP what webserver they are using to host your site with?
Timing Try this: To deny users access to the site, add the following line to your .htaccess file: <Limit GET> order allow,deny deny from 18.29.1.50 deny from 194.73.160. allow from all </Limit> You can only deny access based upon IP address or an IP block. The above blocks access to the site from 18.29.1.50, and from any sub domain under the IP block 194.73.160. This info comes from here: http://www.ispelunker.com/hpages/htatricks.php3 I have been unable to get it to work on my site, however.
The thing is I can't find any .htaccess file. In addition to that, I keep reading that if you play around with that file (the one I can't even find) that it can bring down your site because of other settings that are in that file. I was just going to create a notepad file and name it .htaccess and put the banned IP numbers in there but now I'm paranoid it will screw up my site since I can't find the original one just to copy in case something bad happens. So very frustrating...
Are there any files of the type _vti_xyz? If not, then it would appear that your hosting company is not using the FP extensions to host the site. If that is the case, you cannot take advantage of all of the available FP extensions. Who is your provider?
Are you sure you are in your 'root' directory when looking for .htaccess? For example, if I directly connect to my hosting company I then have to change directory to 'www' to get to my root directory. That is where I find .htaccess. Try going to the members area of your-site.com and search for .htaccess to see if anyone else has problems. If I do a "deny all", then I can't get to my web site. I think my problem with "deny IP address" has to do with how stuff goes out from my company.
I have everything in My Webs folder, then I have the vti folders in that along with a folder with the title of the website that contains the pages and images. I've done a search of my whole computer for .htaccess and nothing comes up.
Timing The .htaccess file to modify would be on your-site.com's hosting computer NOT on your personal computer. The same with the _vti files. If those don't exist on your-site.com then they do not have the FP extensions installed for your particular domain. Since they claim to support the FP 2000 extensions, they should be able to help you with this. Knowing how some support organizations are, your best bet may be to look into their user forum area.
Hmm... how would I even access that then, I've never seen any kind of control panel to see my data on their server.
you should have some sort of directory that you FTP your files into on their server, where all your webpages are stored.
FTP to the directory and open the file in something like notepad and edit it that way. By the way, if you're trying to block a specific person, it may be a bit tricky. Especially if they have a dynamic IP. Also, there are ways I can get around your blocking using something as simple as a [censored].
Do not use FTP when you are using Frontpage. I've work with a couple of unix boxes, and each time a user uses FTP and Frontpage, it can and probably will break the FrontPage extensions, then the support team will have to rebuild your FrontPage extensions. This is because FrontPage files have the ownership of nobody:nobody. When you upload a file through FTP, the ownership will be myusername:users. You can upload files without breaking FrontPage extensions through web folders. Here is an example of my .htaccess file (without the pound signs): AuthUserFile path/to/my/.htpasswd AuthName "Neworder File Server" AuthType Basic <#Limit GET PUT POST#> require valid-user order allow,deny allow from all deny from XXX.XXX.XXX.XXX <#/Limit#> You can block whole subnets by setting your .htaccess file to be: deny from 129.7 and not filling out the last two octets of the IP address. htaccess is pretty cool, you can configure it where other websites can not hot-link your images as well. edit: this is all dependent on the server's setting for .htaccess, if they allow all of the functions of .htaccess or just certain ones.