![]() |
|
#1
|
|||
|
|||
what the heck....how do you make .htaccess file?I'm currently running apache on Win32. The problem is that whenever I make a plain text file with .htaccess, it always display the message "You must specify a filename" and won't let me create a .htaccess file....Any of you know how to actually create a .htaccess file??? Thanks...
|
|
#2
|
||||
|
||||
|
did you try with quotes ("") around the filename
like ".htaccess" not sure if that works, Linux isn't that picky on filenames |
|
#3
|
|||
|
|||
other way as wellQuote:
The first .htaccess file I actually got to work on windows Xp, I did a search on sharezaa, downloaded one, then modified it the way I wanted it. saved it as is, and went from there. But I found out later that is not necessary: In the Apache httpd.conf file where you are defining the .htaccess, you can name the file to an alternate name and use it instead. inside of the file it is written the same, so long as Apache knows what the file is, you can name it whatever you want. AccessFileName .hta # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # The following lines prevent .hta and .htp files from being # viewed by Web clients. # <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> In the example above it changes nothing as far as directroy management, but still permits using the .ht with wild card. |
|
#4
|
|||
|
|||
|
I know this is an old post, but maybe I can still help someone, I had this same problem, I couldnt make a .htaccess file so I did a google search and found this place, and still couldnt make it, so I decided to write a vb prog to do it and it works quite nice, you can download the
purehacker.com. I know people dont just download programs and use them these days, it really isnt safe to do so. I have included the source code in this zip file along with the program itself. The source is for Visual Basic 6.0 Maybe this will help a few people when they are in need of creating a .htaccess |
Recent GIDBlog
Halfway done! by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 10:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 11:28 |
| Can't view pages from another machine on the Intranet | aevans | Apache Web Server Forum | 9 | 14-May-2004 02:26 |
| Re: Programming Techniques | WaltP | C Programming Language | 0 | 09-Mar-2004 23:56 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The