31 Comments
- uptown, on 10/12/2007, -0/+14"It will not work properly on a windows based system."
Umm... yeah, it will. - sishgupta, on 10/12/2007, -0/+10Yeah I'm not sure where the author got that from.
I ran apache in XP for 2 years before switching to linux.
The trick to htaccess in xp is either getting the file to have the period infront of it, or changing the name of the htaccess file in the .conf. - hankyone, on 10/12/2007, -0/+7a nice generator (maybe the layout needs some work)
http://cooletips.de/htaccess/ - sishgupta, on 10/12/2007, -0/+6Not to mention the extensive apache documentation outlining how to do this.
- d03boy, on 10/12/2007, -0/+4I think it might be because a lot more people disagree with you rather than agree with you.
- finkployd, on 10/12/2007, -5/+9No, if you are using IIS it won't work under Windows.
But, if you want your story promoted without people actually reading it, add the little Windows/Linux/Mac/Sun (oh, wait, people here don't know who Sun is) dig (without the second g, and yes, I know I am using a lot of parenthesis) to the description so it gets there.
Next, watch your ads not get clicked on. - MikeKnoop, on 10/12/2007, -0/+4In my opinion, this website is a bit better:
http://www.javascriptkit.com/howto/htaccess.shtml
-Mike - bluesoul, on 10/12/2007, -0/+3I thought it was rather good. A quick, concise overview of some of the more useful things you can do with .htaccess. Front page or not, use your head; at least *pretend* like you're contributing something.
Apache's official documentation to .htaccess files can be found at http://httpd.apache.org/docs/2.0/howto/htaccess.html (backwards-compatible with Apache 1.3). - sishgupta, on 10/12/2007, -2/+5FinkPloyd, Apache works under windows.
Since the article is about Apache and not IIS...I am not sure how your comment is even slightly valid. - RustIndy, on 10/12/2007, -0/+2The problem with putting everything in the config file is that you must have access to the config file. Most people don't have that access, so ".htaccess" is the only way to handle things like authentication and URL rewriting.
- yahoofrom, on 10/12/2007, -0/+2Now I don't have to read the article.
- chris9902, on 10/12/2007, -0/+2I got a .htaccess file running on Windows using Apache. I don't know what you're talking about?
you can even create the file by using notepad and go to "save as" to create the .htaccess file because it's the only way Windows will let you name it like that (that I know of) - lolwtfhaha, on 10/12/2007, -1/+2btw all that stuff can go in the config file instead of htaccess files. Apache recommends disabling .htaccess support because it does not scale and is dumb-- just having it enabled will slow down apache (a bit) as it has to look in every single parent directory in your path to see if there are htaccess files that might need to be processed.
Not to mention it is soooooo 1993 (actually I have no idea it might be 1983) - atrain15, on 10/12/2007, -0/+1OK. I want to digg that one instead. tres cool
- battybattybatt, on 10/12/2007, -0/+1HEre is another great one: The article refers to allowing your ftp CLIENT see hidden files.. Well, that would work as long as THE FTP SERVER is ALLOWING clients to see hidden files! Most ISPs do NOT allow that. Very rare indeed that they would. Now, if you are serving your own page from your own machine (or have control server-side in a more advanced/expensive account set-up), that's another matter, but you still have to enable that feature on the SERVER in order for the client to THEN see hidden files. Most FTP servers now have a special htaccess permissions switch seperate from other hidden file calls - I wonder why......
- battybattybatt, on 10/12/2007, -0/+1And as far as preventing hotlinking, in a Windows envirnment - since that is what we are rebutting here, you would want to use the robot.txt file - a much more effective and NECESSARY evil to include in you root WEB directory - not your root ACCOUNT directory.
- midassoft, on 10/12/2007, -0/+1quite useful
- finkployd, on 10/12/2007, -0/+1Sorry you missed the sarcasm in my remark there sishgupta.
- TheReport, on 10/12/2007, -0/+1Hell I know about about the .htaccess file and the parameters associated with it but I dugg it anyways because I think its a good reference. Everything i digg is about tutorials, how-to's, and just overall useful guides. Rarely do i ever just digg a regular article and so something like setting up the .htaccess file is perfect for my collection
- khag7, on 10/12/2007, -2/+2Its not that its un-interesting.. its just that.. why is this on digg. This is not diggable. its the kind of thing you google if you need to know it.
- PeterAssmann, on 10/15/2008, -0/+0nice!
i need such things for my work as seo.
german directory:
http://www.hachsag.de - Hamsterpotpies, on 10/12/2007, -3/+2Is it just me, or does it seem like a lot of news on digg is being recycled every few months?
- Leviathan777, on 10/12/2007, -5/+4Wow, if you find this interesting, please put down the keyboard and back slowly away.
- battybattybatt, on 10/12/2007, -2/+1It's not just you.
- qurk, on 10/12/2007, -1/+0Ya but are you going to hear Microsoft praising Apache? Of course you will, as long as you run Novell Linux. One of these days the dictionaries will replace "two-faced" with "Microsoft". It's great that you are running apache under windows, now I will just go back to listening to windows users bash linux for being way complicated and not user friendly, not ready for the desktop and non-intuitive :)
Thank you for your input :)
Also, do you have an super easy ready for the desktop howto on how to secure your windows system before running this app? I guess it's easy, just set it up and secure before turning on the internet. I dunno, it's just so easy to bash Microsoft.....sorry. - battybattybatt, on 10/12/2007, -4/+1Ah, NO it WILL NOT. You can have the Apache server running all day long and you can put in or take out the htaccess file with no effect whatsoever on any of the Windows files.
- battybattybatt, on 10/12/2007, -6/+1htaccess has absoultely zero effect on any server running WITHOUT LINUX underneath it all. htaccess will NOT FUNCTION at all UNLESS you have Linux running as THE OS. OR as an OS on a front end security box - at least you can use htaccess as an assault tactic - unless someone has the penultimate htaccess blocking command: DENY ALL.


What is Digg?
Browsing Digg on your phone just got easier with our enhancements to the