| bio | website | |
|---|---|---|
| location | San Diego, CA | |
| age | ||
| visits | member for | 1 year |
| seen | May 14 at 0:30 | |
| stats | profile views | 51 |
|
Dec 4 |
comment |
301 re-direct all external links to new domain ssl certificates are usually subdomain specific so your cert for www. wouldnt be valid for secure. (you can get multi subdomain certs but they cost more and arent standard issue). Try it without the https:// (just http://) and see if its still redirecting correctly otherwise. |
|
Dec 3 |
comment |
using .htaccess to redirect .asp to .php? hah thanks for pointing that out, not sure how I missed that one. I'll edit the answer |
|
Nov 27 |
comment |
using .htaccess to redirect .asp to .php? in Apache you can make .asp work as .php with an AddHandler rule like AddHandler application/x-httpd-php .php .asp (or /x-httpd-php5 depending on how the php handler is defined) |
|
Oct 9 |
comment |
Your Most Popular Sites Screen in IE 10 - Icons not appearing assuming the file actually is in the root folder, the problem is surely the file, not the html tag as shown (unless there are other html errors further down that cause IE issues). My favicon link tag is written just like @MJWadmin and my icon loads fine in IE9 favorite tabs |
|
Oct 5 |
comment |
Number of page requests by any Bot in 5 secs no problem my friend. I enjoy a good challenge, and I might just need to add something like this to my own site one day. |
|
Oct 4 |
comment |
Does anyone know if Angie's List is using an off-the-shelf CMS or is their website proprietary? you might just try emailing the IT staff directly. I would understand if they didn't want to say, as to not reveal any exploits that might be possible through a particular CMS, but never hurts to ask. |
|
Oct 4 |
comment |
Number of page requests by any Bot in 5 secs Also I noticed you removed the folder path from ip and ban files, You should have a set folder location for these, otherwise unless you use a framework with a bootstrap file (ie all pages flow through /index.php?page=), it will scatter the ip files in the different directories where your pages are which would make them ineffective. |
|
Oct 4 |
comment |
Number of page requests by any Bot in 5 secs Good use of time() in the ban file for a temporary ban, I was going to suggest that then I saw you already implemented it. For Google, you can create a google webmaster account and control the crawl rate of your site in order to not get hammered. Pretty sure bing and yahoo have similar tools. I don't think session is necessary since a real user will not hammer your site like this and it would mean the ban would be ineffective against a bot that did use sessions |
|
Oct 3 |
comment |
Number of page requests by any Bot in 5 secs added test code for you to play around with, let me know if that works in the real world if you do use it |
|
Oct 3 |
comment |
Number of page requests by any Bot in 5 secs can you modify the apache conf files? If so, take a look at the limitipconn mod mentioned here: stackoverflow.com/questions/8248982/… to cut down the number of requests. And then add a usleep(100000) at the top of each page to make each request delay 1/10th of a second - not enough for your visitors to notice but enough to slow down a bot requesting a page every 1/400 of a second. |
|
Oct 3 |
comment |
Number of page requests by any Bot in 5 secs The problem here is that you can't really have peristant vars across requests. You could with a session but a bot is likely to ignore your session cookie, making each request appear as a new client. Writing to a database or flat file 400+times per second AND checking that file every requests is a lot of work! If you do go the MySQL route, set your storage engine to MEMORY so it will use a ram storage instead of writing to the harddrive since you need speed and dont need permanent storage across reboots |
|
Sep 21 |
comment |
RewriteRule working local but not on remote server I found this tutorial (especially part 2) particularly helpful when I first started playing around with htaccess, hopefully you or anyone reading this finds it helpful as well: corz.org/serv/tricks/htaccess.php |
|
Sep 21 |
comment |
RewriteRule working local but not on remote server what are the 2 server environments? As in like WAMP vs Linux? Apache versions the same? Maybe one has RewriteBase / in .htaccess and the other doesn't? Or maybe one of the DocumentRoot in httpd.conf (or vhosts) contains a trailing slash at the very end of the folder path where as the other doesn't? Honestly I learned starting out redirect urls should always start with / if not full http:// path, so I can't really speak to the expected behavior of non / urls like you originally had because I never use them... |
|
Sep 20 |
comment |
Password protect an alias virtual directory Whats in your httpd.conf? There should be a few mod_auth named modules, usually uncommented by default... What happens when you try to access a password protected non aliased folder? Also instead of alias, you could use a symlink (or junction in windows) to alias the folder at the operating system level |
|
Sep 18 |
comment |
Wild card redirect in htaccess giving error this webpage has a redirect loop @Su' My points aren't high enough to alter tags on other users posts |
|
Sep 18 |
comment |
Wild card redirect in htaccess giving error this webpage has a redirect loop php has nothing to do with this question, it should only be tagged .htaccess, and maybe apache or regex but not php |