CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 1670|Reply: 0

Create ".htaccess" file for Apache server on Windows

[Copy link]
Post time 13-1-2008 02:19 PM | Show all posts |Read mode
You may think that under Microsoft Windows platform, we are not able to create any file with file name starts with dot sign (.).

If you are setting up Apache Web Server on windows platform and wish to use .htaccess file to post certain authentication a.k.a security restrictions for some particular directories in the Web server, you might face the problem to create a ".htaccess" file.

From my understanding, actually we have at least two ways to create a file with filename that starts with a dot under Windows platform.

[quote]

1) Use MS DOS command to rename an existing file with normal filename to filename starts with dot .

e.g.

C:\>ren htaccess .htaccess

2)During the process of creating and saving a new file by using notepad,put double quote (

Rate

1

View Rating Log

Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

20-1-2025 06:25 PM GMT+8 , Processed in 0.139924 second(s), 18 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list