Results 1 to 5 of 5

Thread: Viewing .htaccess files on the Mac?

  1. #1

    PromoPunch's Avatar
    Member Since
    Jan 28, 2006
    Viewing .htaccess files on the Mac?
    Hi everyone,

    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.

    Any suggestions?


  2. #2

    puaerotch's Avatar
    Member Since
    Sep 21, 2005
    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:

  3. #3

    novicew's Avatar
    Member Since
    Jan 04, 2006
    Hamburg, Germany
    Here is an easy way to view hidden files.

  4. #4

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Mount Vernon, WA
    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

    for example

    ln -s ~/Sites/ ~/Sites/

    So then I would just modify the files contents by editing the ~htaccess file that will show up in your directory structure

  5. #5
    cat /path/to/.htaccess

    is how i would do it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Viewing Video files on Mac
    By dls10 in forum Switcher Hangout
    Replies: 8
    Last Post: 03-04-2009, 02:39 PM
  2. Viewing Movie Files on a Mac?
    By drgrafix in forum Switcher Hangout
    Replies: 4
    Last Post: 01-28-2009, 06:21 PM
  3. Viewing .wmv files on mac
    By soccerphysio in forum Switcher Hangout
    Replies: 5
    Last Post: 07-25-2008, 12:53 AM
  4. Working with .htaccess files
    By vickers in forum Web Design and Hosting
    Replies: 11
    Last Post: 12-03-2006, 12:08 PM
  5. View .htaccess files
    By Johnson in forum macOS - Operating System
    Replies: 4
    Last Post: 09-29-2006, 06:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts