TopDog07
04-13-2002, 04:59 PM
This is a newbie question (I'll admit) but is .htaccess files saved as a text file? (eg: .htaccess.txt ). If not can anyone enlighten me as to what. Thanks.
BC12 :eek:
BC12 :eek:
![]() | View Full Version : .htaccess? TopDog07 04-13-2002, 04:59 PM This is a newbie question (I'll admit) but is .htaccess files saved as a text file? (eg: .htaccess.txt ). If not can anyone enlighten me as to what. Thanks. BC12 :eek: tazd9t9 04-13-2002, 05:17 PM you can save it as htaccess.txt and once its uploaded rename it to .htaccess TopDog07 04-13-2002, 05:22 PM take off the .txt correct? I think I have it now :) Thanks. BTW, which would be better.. 1. Having it in the order directory -or- 2. Having it in the public_html directory? :confused: ThomasT 04-13-2002, 05:54 PM If you are looking to password protect a directory, put it in that dir. If you put it in public_html everyone will need a username/password to see your frontpage. TopDog07 04-13-2002, 08:43 PM It is only going to be used to block fraudent IPs to help secure the ordering. fatman 04-14-2002, 09:37 AM It depends on what you want to accomplish: 1. If you put it in the order directory, the people who come from those IP addresses will be able to access the rest of your site, but not your order directory. 2. If you put it in the main web directory, no one from those IP addresses that you block will be able to access any page on your site. TopDog07 04-14-2002, 01:13 PM Which one do you feel would be the best route? in the public_html directory (and block them from the site completely) or just the order directory? ty. EStarr 04-16-2002, 01:37 PM I would block them from the site completely. Less loopholes. DaHOST 04-17-2002, 05:59 PM Originally posted by HQwebhost If you are looking to password protect a directory, put it in that dir. If you put it in public_html everyone will need a username/password to see your frontpage. I'm glad you said that. I was going to play around with it tonight and put it in my main html directory. fatman 04-17-2002, 07:57 PM Which one do you feel would be the best route? in the public_html directory (and block them from the site completely) or just the order directory? ty. If that IP address belongs to an ISP, blocking it from your site completely would mean that you lose even potential customers. I guess in this case, blocking it in the "order" directory might be better since a potential customer might be able to peruse your site, and send you a message by email if the order form fails. Then again, if the order form fails, they'll probably lose confidence in your site so they'll not want to send in an order anyway... If that IP address does not belong to an ISP, the decision is simple for me. I'll just block that IP from the whole site. After all, if a company's site has that IP address, and they're making a nuisance, they're not going to be sending me any business anyway. But that's just my opinion. |