Period files on OSX ?

  • Wasnt Me
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 31, 2005
  • Posts: 8
  • Status: Offline

Post March 31st, 2005, 5:33 am

Hello everyone and greetings from North Yorkshire, U.K.

I've been a visitor for some time and have always been able to find the answers by search - rather than registering and asking. So thanks to all those who post here...

I have a question about viewing period files on a Mac, particularly .htaccess files.

I've had this OSX machine for quite a while and have only just convinced my brain to upgrade. Just realised that can’t view period files hmmmmm....

Do you know how to view these files, or is this an unchangeable feature?

Thanks for reading.

Dave :)
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 31st, 2005, 5:33 am

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2675
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post March 31st, 2005, 6:31 am

Those are called "dot-files", and represent what in Windows terminology might be considered, 'hidden' files.
If you ls -l a dir, you will not see them; if you ls -la on a dir, you will.
Typically these so-called "invisible" files are used for special configuration, be that environment variables in your home dir (.cshrc, .profile, .bashrc, .xinitrc, etc.). In the case specifically of .htaccess, it's a configuration file used for the Apache (or IHS) webserver to permit or disallow access based upon provided parameters.
In other words, if you have the file present in a web serving directory AND you have the directive authorizing the use of said files enabled in the httpd.conf, then whatever methods you employed in this configuration file will be exercised to permit or deny entry into said current directory path.

Cheers.
"It's always a long day, 86,400 won't fit into a short."
  • Wasnt Me
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 31, 2005
  • Posts: 8
  • Status: Offline

Post March 31st, 2005, 6:48 am

Thanks - I've run the command to view the files on the server. However I cant see them on OSX locally.

I was wondering if I could configure my Mac somehow to make them visible locally.

Otherwise I’ll have to ad the period after loading dot files to the server.

thanx

Dave
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2675
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post March 31st, 2005, 6:54 am

If you type ls -la (list -long, all) you should see dot files contained in the present directory.

Cheers.
"It's always a long day, 86,400 won't fit into a short."
  • aeon
  • Graduate
  • Graduate
  • User avatar
  • Joined: Oct 31, 2004
  • Posts: 184
  • Loc: Ireland
  • Status: Offline

Post April 8th, 2005, 6:39 pm

While we're talking about hidden files in Mac OS X, there doesn't seem to be an obvious way to display them in the file manager, anybody know how?

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 9 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.