How to create files .htaccess and .htpasswd

It seems Mac OS X 10.5.x does not allow you to either see or create files that begin with . such as .htaccess or .htpasswd, two files that are commonly uploaded to web servers for websites.

With all the gazillion web designers in the world who do their design on Macs, I cannot believe that there is no way to edit or save files of this kind on a Mac, and that all these designers have to keep a Windows machine around just for this purpose.

Can someone tell me what the trick is?

iMac, MacBook Pro, Mac OS X (10.5.5)

Posted on Nov 11, 2008 2:13 PM

Reply
8 replies

Nov 11, 2008 2:32 PM in response to baltwo

Interestingly, I can see the .htaccess and .htpasswd files that I have within the website folders when I have those folders open in Dreamweaver (I created the files back when I was working on a Windows machine...data now migrated over to my Mac).

But I use the .htaccess files as a template to create new ones. If I can't open them in OS X using my text editor (Text Wrangler), then I can't very well modify them to adapt to a new directory on the server.

This is very strange.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to create files .htaccess and .htpasswd

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.