Forum Moderators: travelin cat

Message Too Old, No Replies

OS 10 and .htaccess files.

How do you make it let you have .anything files?

         

Jesse_Smith

9:26 pm on Jul 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How do you make it let you have files that start with a dot? It says 'You cannot use a name that begins with a dot because these names are reserved for the system. Please choose another name.'

Slone

3:00 am on Jul 8, 2003 (gmt 0)

10+ Year Member



Greetings! I have had the same issue...

To get around the issue:
In the FTP I rename the file from .htaccess to htaccess then download it. Within the FTP I rename the file back to .htaccess. In doing this I have never had to switch the permissions at all.

Granted this is a pain, but I don't mind since I don't have to alter my .htaccess but just a few times a month.

Hope this helps!

I have never made the time to check for other solutions. Will have to watch this post to see what others do.

Jesse_Smith

3:10 am on Jul 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Arg! Yah, on my FTP it renames it to _htaccess. I'm tempted to go back to OS 9! I noticed this .htaccess thing after transfering all my files from my dieing iMac to a new one, that all the .htaccess files are gone. Are they even on my computer? If there invisible, how do I get them to show up as _htaccess?

jamesa

3:22 am on Jul 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You'll have no problem in Terminal.app.

In case you're not familiar with the Terminal:

1. In Terminal go to the folder with the file in it:

% cd /path/to/folder

(Instead of typing the path you can just drag the folder from the finder into the Terminal window and it will fill it in for you.)

2. Change the name:

% mv _htaccess .htaccess

If there is a way to do it inside the Finder I'd like to know about it.

jamesa

3:27 am on Jul 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



And to view invisible files, you'll have to either use the Terminal, or use the find (Cmd-F).

In Terminal, cd to the directory you want and type:

ls -a

With the Find in the Add Criterea menu select Visibility and set it to 'all'.

Jesse_Smith

5:07 am on Jul 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Looks like it is possible to view .name files. Search Google for 'TinkerTool'. That free program makes them show up.