Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Site Management Tools: Look Before You Leap!, The danger of using Index Manager and other .htaccess altering tools..
blogmaster
post Sep 19 2007, 11:19 PM
Post #1


Member [Level 1]
****

Group: [HOSTED]
Posts: 50
Joined: 23-April 07
Member No.: 42,060



A few minutes ago I was looking at site management tools section in my Control Panel. The tool "Index Manager" caught my eye. If I used it, then I wouldn't need to create placeholder pages in my folders with no index pages smile.gif

What I had forgotten is that I already had an .htaccess file in my site. Needless to say, enabling this option took down my whole site instantly and displayed an "Internal Server Error" message. How stupid of me! wacko.gif

Upon inspection of my .htaccess file, I noticed that the tool had added the relevent command in the same line with my last command (and not leaving any space between my last word and it's first!) causing the commands to clash.

So if you are thinking of using any of these tools and you suspect that it may alter your .htaccess file I suggest you get the relevent code first and place it yourself in the .htaccess file, or remove all your code and place it after the tool has written to it or you may consider leaving some blank lines after your last line of code.

Having said that, I hope you won't make the same stupid mistake I just did laugh.gif

This post has been edited by blogmaster: Sep 19 2007, 11:22 PM
Go to the top of the page
 
+Quote Post
DeM0nFiRe
post Sep 19 2007, 11:26 PM
Post #2


Super Member
*********

Group: [HOSTED]
Posts: 403
Joined: 6-May 07
Member No.: 42,685



Ha ha, what bad luck! biggrin.gif
Well, thanks for letting us know about that. it's a good thing to know!
WAy to take one for the team XD
Go to the top of the page
 
+Quote Post
jlhaslip
post Sep 19 2007, 11:36 PM
Post #3


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,882
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



It is for that very reason that you are recommended to leave a single blank line at the bottom of the .htaccess file on an Apache server.

I'll bet it would work to do this if you have the blank trailing line.
Go to the top of the page
 
+Quote Post
blogmaster
post Sep 20 2007, 12:07 AM
Post #4


Member [Level 1]
****

Group: [HOSTED]
Posts: 50
Joined: 23-April 07
Member No.: 42,060



QUOTE(DeM0nFiRe @ Sep 20 2007, 01:26 AM) *
Ha ha, what bad luck! biggrin.gif

You can say that again. I hope I haven't lost a few of my loyal traffic in the process rolleyes.gif

QUOTE(jlhaslip @ Sep 20 2007, 01:36 AM) *
It is for that very reason that you are recommended to leave a single blank lne at the bottom of the .htaccess file on an Apache server.

I'm sure it would. You see jlhaslip, I wasn't even aware of this recommendation. Now it's the last thing I will forget! laugh.gif

Oh, and thanks for confirming my observation wink.gif

QUOTE(blogmaster @ Sep 20 2007, 01:19 AM) *
or you may consider leaving some blank lines after your last line of code.


When I wrote that, I figured it should work but I hadn't tested it.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Best Rpg Maker Site Ever(1)
  2. The Funniest Websites On The Net(11)
  3. Give Me Website Ideas..(30)
  4. My File Manager Is Working(2)
  5. How To Save *.swf From A Web Site?(29)
  6. I Hate Site Builders.(40)
  7. Real Paying Site(7)
  8. Bmi (body Mass Index Calculator)(1)
  9. Php Word Filter(7)
  10. Books?!(8)
  11. Cool Site To Learn Languages(4)
  12. Review My Site(18)
  13. Need A Name For A Hosting Site(3)
  14. Ipod Tools(8)
  15. Great Weather Site(7)
  1. Can't Access My Site....weird Issue(5)
  2. Can't Access My Site An Cpanel(4)
  3. No Site Access(4)
  4. Can We Host Games With Webhosting This Site Provides?(1)
  5. Best Browser To Desighn Your Site To(9)
  6. Donate Domains To Bloggers.(0)
  7. Free Web Hosting Application [screened] [approved](6)
  8. Database Or Pdf(1)
  9. I Need Help With Setting Up My Site, Made Using Java(5)
  10. Need Help: Problem Seeing My Site(3)
  11. Can't Login To Any Software On My Site(3)
  12. A Small Social Networking Site....(9)
  13. New Gc Hyip Manager Pro Support Libertyreserve & V-money (decoded Php File) With License [SPAM](0)


 



- Lo-Fi Version Time is now: 26th July 2008 - 09:28 AM