Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   Can't create .htaccess file
Date:   2002-02-04 08:09:32
From:   markpalmer1
Response to: Can't create .htaccess file

>> You can't "cp htaccess .htaccess"? What sort of error message do you get?


I dont get any error, just a return to the prompt ls -l only list a file called htaccess!


I then tried resaving as .htaccess using pico which works fine, although I did confuse myself for a while by doing ls -l without autheticating as su and of course I couldn't see anything, this I guess was my original problem.


Thanks


Mark.


Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Morbus Iff photo Can't create .htaccess file
    2002-02-04 10:57:53  Morbus Iff | O'Reilly Author [View]

    Ah yes, forgot to mention the most obvious. To see "dot files" in the Terminal, you need to do "ls -al", NOT "ls -l". The "-a" says "show all files, including dot files".