New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Viewing .htaccess files on the Mac?


Post Reply New Thread Subscribe

 
Thread Tools
PromoPunch

 
PromoPunch's Avatar
 
Member Since: Jan 28, 2006
Posts: 29
PromoPunch is on a distinguished road

PromoPunch is offline
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?

Thanks!
QUOTE Thanks
puaerotch

 
puaerotch's Avatar
 
Member Since: Sep 21, 2005
Location: ohio
Posts: 809
puaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of light
Mac Specs: iBook G4 OSX Tiger

puaerotch is offline
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:
http://www.macosxhints.com/article.p...30409015020645
Alright, question time!
QUOTE Thanks
novicew

 
novicew's Avatar
 
Member Since: Jan 04, 2006
Location: Hamburg, Germany
Posts: 1,385
novicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to all
Mac Specs: MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)

novicew is offline
Here is an easy way to view hidden files.
QUOTE Thanks
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
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/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
QUOTE Thanks
tenbellys
Guest
 
Posts: n/a

cat /path/to/.htaccess
pico/nano.

is how i would do it.
QUOTE Thanks

Post Reply New Thread Subscribe


« Mac(IE and Safari): onClick does not work | Question (probably dumb) »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
burning DMG files on mac os9? SimonBalk Running Windows (or anything else) on your Mac 3 04-20-2006 11:00 AM
Burning files for a Mac Program ShiksaGrrrl OS X - Apps and Games 1 10-09-2005 08:26 AM
Help - Moving files from PC to Mac WpgPhotoGuy Switcher Hangout 5 09-22-2005 10:55 AM
It's called a Mac iSheep Schweb's Lounge 22 10-13-2004 05:35 PM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 10:57 AM

All times are GMT -4. The time now is 05:02 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?