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.

Working with .htaccess files


Post Reply New Thread Subscribe

 
Thread Tools
vickers
Guest
 
Posts: n/a

Hey everyone,

I'm a new Mac user and am having some problems when working with scripts which have .htaccess files.

I know that by default, Macs don't show hidden files such as .htaccess but I'm having problems even when FTP'ing. For instance, I'm using Cyberduck as an FTP client and when uploading script files, .htaccess isn't even making it to the server.

I know that you can override the default settings to view hidden files and folders but this really makes things messy. What are you all doing to deal with this?

V
QUOTE Thanks
schweb

 
schweb's Avatar
 
Member Since: Oct 27, 2002
Location: Cleveland, Ohio
Posts: 13,212
schweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond repute
Mac Specs: MacBook Pro | LED Cinema Display | iPhone 4 | iPad 2

schweb is offline
First I use Transmission for FTP, it does show hidden OS X files so I can upload what I need.

Secondly, I create my .htaccess file directly on the server and edit it on the server. In Transmission I just double click it and it opens in WordPad and I change or write what I need.

schweb | community leader
flickr facebook twitter tumblr google+ about.me

Mac-Forums: On Twitter | On Facebook | On Flickr

QUOTE Thanks
vickers
Guest
 
Posts: n/a

Hey Bryan,

So with Transmission, it will move those local hidden .htaccess files to the server? Cyberduck has an option to show hidden files/folders (which I have enabled), however that doesn't help when moving local files to server.

BTW, great forum. Lots of helpful info here...

V
QUOTE Thanks
schweb

 
schweb's Avatar
 
Member Since: Oct 27, 2002
Location: Cleveland, Ohio
Posts: 13,212
schweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond repute
Mac Specs: MacBook Pro | LED Cinema Display | iPhone 4 | iPad 2

schweb is offline
Thanks! It's really our members that make it great.

Yes, I've never had issue with Transmission moving hidden files. Cyberduck though should allow you to create and edit files on a remote server so you may want to try that approach first.

schweb | community leader
flickr facebook twitter tumblr google+ about.me

Mac-Forums: On Twitter | On Facebook | On Flickr

QUOTE Thanks
vickers
Guest
 
Posts: n/a

Bryan,

Are you referring to the program Transmit?

V
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
You can install Tinker Tool and activate "Show hidden files". When you don't need it just deactivate.
QUOTE Thanks
vickers
Guest
 
Posts: n/a

Yeah, I did that yesteday but things get a bit messy and I work w/ .htaccess daily.

I'm really just looking for an FTP client that will transfer .htaccess files over to the server, even though they're hidden locally.

V
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
go for Transmit. It handles .htaccess files fine.
QUOTE Thanks
schweb

 
schweb's Avatar
 
Member Since: Oct 27, 2002
Location: Cleveland, Ohio
Posts: 13,212
schweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond repute
Mac Specs: MacBook Pro | LED Cinema Display | iPhone 4 | iPad 2

schweb is offline
Quote:
Originally Posted by vickers View Post
Bryan,

Are you referring to the program Transmit?

V
Doh! Yes, that's it, Transmit. The names are too similar

schweb | community leader
flickr facebook twitter tumblr google+ about.me

Mac-Forums: On Twitter | On Facebook | On Flickr

QUOTE Thanks
MacHeadCase
Guest
 
Posts: n/a

I use Cyberduck and you can see hidden files by checking out the settings in the menubar View ---> Show Hidden Files (or the keyboard shortcut: Shift + Command + R).

Be careful of how you mess with that file before the upload though.

I used TextWrangler and had some type of setting that made the file completely useless: it had added some invisible characters to the text. A friend told me to try out BBEdit (which I know is good), the trial was conclusive so I bought myself a licence. It works very well.

Another thing is don't play with the .htaccess file's permissions once it is uploaded (like I did... *blush*) as that too will render the file useless.
QUOTE Thanks
vickers
Guest
 
Posts: n/a

Quote:
I use Cyberduck and you can see hidden files by checking out the settings in the menubar View ---> Show Hidden Files (or the keyboard shortcut: Shift + Command + R).
That setting only allows you to view hidden files which are already on the server. It doesn't help when viewing those files locally and the problem I'm having is that .htaccess doesn't make it to the server with the rest of the files when uploading.

I'm probably going to give Transmit a shot...

V
QUOTE Thanks
MacHeadCase
Guest
 
Posts: n/a

Oh sorry misunderstood what the hidden files problem was. You can view hidden files on your Mac using various freeware like Titanium Software's OnyX, Santa Software's MainMenu and others.

But I do know Transmit gets good reviews every year though.
QUOTE Thanks

Post Reply New Thread Subscribe


« Help Flash | mac images question »
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
Files Lost during Profile Move SITF OS X - Operating System 0 10-17-2006 03:54 PM
View .htaccess files Johnson OS X - Operating System 4 09-29-2006 06:55 PM
Viewing .htaccess files on the Mac? PromoPunch Web Design and Hosting 4 05-08-2006 11:30 AM
repair permissions a waste of time? Macman Schweb's Lounge 5 05-31-2005 06:26 PM
Newbie working with .dmg files Whiskey Jack Switcher Hangout 5 02-11-2004 08:22 PM

All times are GMT -4. The time now is 10:36 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?