Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
SportsGuy
Staff
Joined: Aug 30, 2002
# Posts: 3597
|
Posted: 06/24/2008 12:01 pm
Since I can't delete this, it seems, I'll mark it solved.
File was misnamed - missing the . (dot) at the beginning of the file name on the server - hence it was recognized for what it was - code in use works fine now.
|
 |
Prowler
Staff
Joined: Aug 14, 2000
# Posts: 1752
|
Posted: 06/24/2008 09:24 pm
Most Windows based text editors will refuse to name the file with a preceding dot. So the workaround would be to name whatever is convenient and then open a command shell from where you can rename the file to .htaccess
BTW, Windows CLI shell is not so powerful. I use the Cygwin shell. It is a linux bash shell from RedHat.
|
 |
SportsGuy
Staff
Joined: Aug 30, 2002
# Posts: 3597
|
Posted: 06/25/2008 05:25 am
Thanks Prowler.
I'm guessing the hacks at GD didn't pay attention when they mirrored my server to swap to the new, upgraded box.
Until recently, I only even used UltraEdit to manage my .htaccess files to ensure they were clean, non-Windows-molested .txt's. Now, with my new "work" laptop, I only have NotePad installed. Still, seems to work.
I ended up doing exactly as you'd suggested when I fixed this - simply selected the file on the server and renamed it.
It has occurred to me - over the years - that most things in need of work because they are not working, need only a small change made, so I look for those simple, one-character-tweak things first now.
Following that methodology has saved me a LOT of grief over the years.
...and SEF is where I learned that approach - by taking advice from folks like you, bhartzer, gs1md, FlyingRose, OAC, excel and others.
Thanks to you all.
|
 |
g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10288
|
Posted: 06/25/2008 12:06 pm
I name .htaccess files like "htaccess.2008.06.24.searchengineforums.txt" on my computer, so that I know which site it is for and when it was last edited.
I rename them only once they have been uploaded to the server.
|
 |
SportsGuy
Staff
Joined: Aug 30, 2002
# Posts: 3597
|
Posted: 06/25/2008 04:53 pm
Similar thinking here, G, though I tend to get anal and create a folder with the name of the domain the htaccess is for, then stick the file (and any other related files) into the folder.
|
 |
g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10288
|
Posted: 06/25/2008 04:56 pm
Sure. I do sort all of the files out into folders by site too, but for "short" filenames it is just too easy to upload the wrong file to the wrong site, hence the longer naming convention.
So with the longer names, even if I upload the wrong file, no damage is caused until I am about to rename the file to .htaccess. That is the point at which I would hopefully notice the problem.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|