GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 25-Jun-2004, 03:15
antimacism antimacism is offline
New Member
 
Join Date: Jun 2004
Posts: 4
antimacism is on a distinguished road

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  
Old 25-Jun-2004, 04:54
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
did you try with quotes ("") around the filename

like ".htaccess"

not sure if that works, Linux isn't that picky on filenames
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #3  
Old 29-Jun-2004, 12:58
JerryWMac JerryWMac is offline
New Member
 
Join Date: Jun 2004
Location: Mexico
Posts: 5
JerryWMac is on a distinguished road
Talking

other way as well


Quote:
Originally Posted by antimacism
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...

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  
Old 02-Sep-2005, 08:27
PureHacker PureHacker is offline
New Member
 
Join Date: Sep 2005
Posts: 1
PureHacker is on a distinguished road
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 GIDBlogHalfway done! by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 05:02.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.