Period files on OSX ?

  • Wasnt Me
  • Newbie
  • Newbie
  • Wasnt Me
  • Posts: 8

Post 3+ Months Ago

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 :)
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

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.
  • Wasnt Me
  • Newbie
  • Newbie
  • Wasnt Me
  • Posts: 8

Post 3+ Months Ago

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
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

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

Cheers.
  • aeon
  • Graduate
  • Graduate
  • User avatar
  • Posts: 184
  • Loc: Ireland

Post 3+ Months Ago

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 5 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.