05-02-2006, 08:26 AM #1Viewing .htaccess files on the Mac?
I am new to Mac's this year, and I do a lot of web design. I have yet to figure out how to make .htaccess files viewable under finder and in my FTP program "Transmit". I can create them, but then they vanish.
05-02-2006, 11:11 AM #2
they become hidden files as soon as you save them. you need to show hidden files in order to find them
for information on how to show hidden files try one of the following or a quick search at the top:
05-02-2006, 11:50 AM #3
- Member Since
- Jan 04, 2006
- Hamburg, Germany
- MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)
05-02-2006, 08:11 PM #4
- Member Since
- Jun 11, 2003
- Mount Vernon, WA
- MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
I don't like having my hidden files shown, due to the number of them actually in each directory So here is what I do for my web development stuff:
In Transmit, make sure View > Show Invisible Files is turned on. On some servers this will not make a difference, but on most of them.. it will make a difference
Now in my file system, I started making a symbolic link to my .htaccess file so that I can view what is in there and edit at will.. then I just open it up and copy the content in there when I upload everything to an external server.
To make a symbolic link, you'll need to open up your Terminal program and make a link by doing this:
ln -s sourcefile targetfile
ln -s ~/Sites/mysite.com/.htaccess ~/Sites/mysite.com/~htaccess
So then I would just modify the files contents by editing the ~htaccess file that will show up in your directory structure---> Join the Mac-Forums Folding team: use 37954 as your team number.
View Mac-Forums Folding team statistics (More Info)
Don't forget to use the User Reputation System
05-08-2006, 11:30 AM #5tenbellysGuest
is how i would do it.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By dls10 in forum Switcher HangoutReplies: 8Last Post: 03-04-2009, 01:39 PM
By drgrafix in forum Switcher HangoutReplies: 4Last Post: 01-28-2009, 05:21 PM
By soccerphysio in forum Switcher HangoutReplies: 5Last Post: 07-25-2008, 12:53 AM
By vickers in forum Web Design and HostingReplies: 11Last Post: 12-03-2006, 11:08 AM
By Johnson in forum OS X - Operating SystemReplies: 4Last Post: 09-29-2006, 06:55 PM