Nov 21, 2009

Site Management Tools: Look Before You Leap! - The danger of using Index Manager and other .htaccess altering tools..

free web hosting
Open Discussion > MODERATED AREA > Trapper's Secret HideOut

Site Management Tools: Look Before You Leap! - The danger of using Index Manager and other .htaccess altering tools..

blogmaster
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

 

 

 


Comment/Reply (w/o sign-up)

DeM0nFiRe
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

Comment/Reply (w/o sign-up)

jlhaslip
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.

Comment/Reply (w/o sign-up)

blogmaster
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.

 

 

 


Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : site, management, tools, leap, danger, index, manager, htaccess, altering, tools,

  1. I Can't Access My Site
    (7)
  2. Cannot Open My Site
    (12)
    Hi everyone. Sometimes, I cannot connect with my site, neither ftp, ping, etc. This happens
    everyday, and sometimes, as a miracle, doesn't happen. This also happens with a friend of mine
    with the same ISP. I contacted my ISP, and they told me that there must be a prob with the server,
    not the ISP itself. Do you have any ideas? Thanks in advance, Alex btw, proxy browsing sucks!
    /blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" />....
  3. I Can't Seem To Access My Site.
    (8)
    I try to go to my hosted site http://saitunes.trap17.com and it just thinks, then it says the
    operation timed out. Can anyone else access my site?....
  4. My Site Is Crippled.
    I can't access anything (10)
    Hey guys please help. I haven't been able to access my cPanel for a long time now. I think the
    problem started when most members had those password problems. I think that's when I made too
    many unsuccessful login attempts. Now I can't access my cPanel and any site hosted here. Someone
    told me my IP is blocked but I don't know who to tell to have the problem resolved.
    BuffaloHelp(sorry if it wasn't u Buff) stated in one post that he could reset password if nayone
    would write a post with the line "Please reset my password". I did that but still there is....
  5. My Site Is Down :(
    (11)
    QUOTE http://frover.trap17.com/qyfyre.com it has been down since yesterday /sad.gif"
    style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />....
  6. Is Wildcards Allowed In Htaccess?
    Requesting help (0)
    Can we use wildcards for file names in htaccess? What I mean is whether we can denote a file paths
    name to something like "/myweb/myfile-*.html" so that we ask the server to process any file with the
    name "myfile-COMPLETENAME.html"? Still didn't get the point? Consider a link linking to
    something like "/folder/". When a link like this is opened it will search for index.html or
    index.shtml and so on. To override this default behaviour we use the following code in servers
    .htaccess file: CODE DirectoryIndex index.html article.html With this the server first s....
  7. Cms/upload Best Practice?
    New to using content management, seeking advice. (12)
    Other than my aborted attempt at setting up a site on my previous free web host, this will be the
    first time that I have set up a dynamic website with an SQL back end. I came from the Internet
    stone-age of static sites with lots of graphics and text, but little or no interactivity. I would
    really appreciate some advice on how best to do this. I have selected the free Content Management
    System called Lanius CMS , which is made by the makers of the more well-known package called Drake
    CMS. Also, at the advice of many of the denizens of the Trap17 forums, I have downloade....
  8. Wallpaper Site
    (4)
    Hello I hope this is the right place for this thread . I want to thank to Trap17 for their
    wonderful hosting service and because I have no problems related to hosting . I have a wallpaper
    site based on 4images gallery system . But my images have high resoultions (1600*1200 ) and when
    someone enters a wallpaper page , 4images displays the full size image and that too big for a page
    . Is there any way to display a small image in the wallpaper page and a big image when someone
    clicks download ? Or could you recommend me a better software ? Thanks in advance .....
  9. Hosting Problem [resolved]
    403 Forbidden Error occurs whenever I try to access my site (22)
    First off, let me say that I have spent considerable effort and time going through the forums
    seeking solutions for this problem. I have even gone as far as to seek help from the Xisto Live
    support team (they suggested I wait 2 hours and then get back to them. Well I did that, and there
    has been no change, and live support is now down). I've also tried changing permissions on both
    files and folders via Cpanel, but to no avail. I still end up with the same error: QUOTE
    Forbidden You don't have permission to access /index.php on this server. Additionally, a 4....
  10. Can't Login To Any Software On My Site
    anyone know how to fix? (3)
    In a subdomain of my site I have an installation of MediaWiki, and until now it's been working
    fine. But today I've been having trouble with it. Previously, whenever I logged into MediaWiki
    it worked first time and I would stay logged in for about an hour, even without the "Remember Me"
    option checked. But I tried logging in now, and after logging me in, the next page I went to showed
    me as "not logged in". I cleared the cache as I know this has been a problem before, and then tried
    logging in again, but it still said I was not logged in! So I tried one more time....
  11. I Need Help With Setting Up My Site, Made Using Java
    any help would be appreciated (5)
    I just got web hosting approved and I want to host the site I created using Struts framework.
    I'm a complete newb when it comes to web hosting, so I need a little help. Is there a tutorial
    that covers this subject? I apologize in advance if this question was already answered, but
    I've been unable to find the answer anywhere. One thing I have to note is that I need to know
    absolute address of the uploaded files in order for my application to work. Is this even allowed?
    Any help with hosting of Java applications will be appreciated.....
  12. No Site Access
    (4)
    It was working the day before yesterday and then it started giving me error messages about not being
    able to access the site. I can't access cpanel either. Neither page ever loads. I don't
    have this problem with any other internet pages, just my site stuff on Trap17. My site's at
    www.jzambrano.trap17.com btw. This is one of the few times I'll need it up for sure so I'd
    appreciate if the issue can get fixed in the near future. ....
  13. Can't Access My Site An Cpanel
    already did some sugested things (6)
    I still can't get to my website and cpanel, Tings I did: requested xisto to unblock my ip
    cleaned my cache/cookies Did this with both IE and FF When I am @ my dads house he can acces my
    website. So I guess it is still an ip problem. I did read some posts but couldn't find a
    solution. Thx in advance,....
  14. Can't Access My Site....weird Issue
    (5)
    Okay, so last night everything worked fine. I loaded up cpanel, fixed issues with the site after the
    database move, etc. Today I'm unable to load up the site. It just keeps giving me ping
    timeouts. With what I'm being told by others it is only me having this issue with my site, and
    yet there have been 0 changes to my pc between it working and not. I have tried multiple times
    during the day with no luck. Along with this, if I load my website using a proxy service then I do
    not have any issues. The only time it will not allow me to access it is if I am "using" my....
  15. Reset My Site Pelase
    read for more info (6)
    Can you just reset my cpanel / website FTP and all to how it was when I got it new please? Don't
    change any passwords, just make it so it's like brand new again. thanks --why? because I have
    some files in public_HTML that I am trying to delete even after I give it 777 it says permission
    denied so please reset /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" />....
  16. File Manager Not Working
    (2)
    When I goto upload files using the file manager(legacy mode), the files do not upload correctly.
    Every time I try to upload a file, it takes the time to upload it, but the file always comes out
    being 0kb so it does not upload the file. Why is this happening?....
  17. Site Help [resolved]
    Showing good on one site but but here on trap17 (6)
    Okay here is the problem. My site www.echo-of-thunder.trap17.com is not showing any graphics,
    Background header logo nothing. Uploaded them all. now here is the kicker to this. it all shows just
    like it it is supposed to show up on my old host What am I doing wrong here.....
  18. My Site Fails To Load
    My site always times out, and fails to load (16)
    Hey all... Whe I try to access my site, it always times out, when I try to ping, it does the
    same... DNS records are accessible, and I get all my emails for the domain (todorowww.net)... I am
    hosted on Gamma server, and I can access it, and get that cPanel page... But, when I try my site, it
    won't load... Is there some problem with the server or something? FTP doesn't work either...
    This is the case for a few days now, at first I thought it was just a temporary error, but it
    appears not to be... I have avout 20 credits left, so that shouldn't be the issue.......
  19. Where Does That Noise Come From?
    My Trap 17 web site beeps (6)
    I am posting this here rather than in the 'Web design' topic as it seems to be something
    which happens exclusively to my Trap 17 web site. When i have my web site open, which you can find
    here , every so often (quite regular actually) a short and high pitched beep is sounded. At first I
    thought it had something to do with my sound card or my PC, but recently I discovered it only
    happens when I have my site open. It does not matter which page of the site I have open, or whether
    the page has multimedia embedded in it, I get it regardless of the page I am on. Has....
  20. Ftp Uploads
    Using a third party FTP manager (11)
    I saw my friend using a handy FTP manager to upload stuff stuff onto his site. I wanna know if I can
    do that with my trap17 site. Can I download any FTP manager from anywhere and use it here? If so
    which one would you guys recommend? What is everyone using? I believe you guys are not uploading
    files one by one with the file manager.....
  21. How To Publish My Site Through Expression Web
    i don't know how anyone could help me (4)
    i'm using expression web and i like to publish my site directly here problem is i don't know
    how can anyone help me....
  22. Transferring Files From One Host To Another
    Take my site to trap17 (9)
    As I said, I had to move my web site away from Trap17 temporarily because I had ran out of disk
    space. Now, when my upgrade is finalised, I would like to ask for a little assistance. The provider
    I will be moving my site from, back to Trap17 also uses Cpanel, and the admin let me know to do a
    backup and that backup could be simply transferred via FTP to my new provider. The backup includes
    all my files and MySQL data, in other words, the whole web site. It is in a .tar.gz format. How do I
    get all this across? Do I 'unzip' the file and then transfer them bit by bi....
  23. Content Management System (cms)
    What CMS to choose... (13)
    I just looked at my remaing credits and it was only 1, so i remembered what I needed to find out. I
    need a CMS for my website! I have tried lots of CMS(s) and have had very little luck. I would like
    to know some CMS(s) that you would reccommend me to use. Some I have tried: CT2 CMS 2.0 beta
    Joomla EazyPortal and some others, I can't remember It needs the following: Themes avaliable
    Able to be hosted here Business Looking (ie; very formal) No Ad(s) Free for non-commercial use Forum
    Registration for members Administrator Please post some CMs(s) names in this ....
  24. Site Taking Too Long To Respond
    Message from Firefox (13)
    "Site Taking Too Long To Respond" issue has been resolved and It is caused when the service Apache
    on server is not responding to your queries due to reboot / maintenance. To solve this, Contact Web
    Hosting Support @ http://www.xistosupport.com/billing/ At ComputingHost, this issue should not
    persist more than 2-5 min. 1. ComputingHost (web host sponsoring this site) uses Advanced ROUND
    ROBIN DNS (managed DNS solution) 2. Network is Powered by XO Communications and they employ Branded
    Server Hardware for tension free uptime! Package Details ComputingHost: Logic XTREM....
  25. My File Manager Is Working
    (2)
    I tried to change the html for my site in file manager but it just has the default page - the one
    when you activate your site. /sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' />
    How do i change files?....
  26. 403 Forbidden Error When Accessing My Site
    (12)
    umm this is a problem that i have been looking in other topics to try to fix but i can't seem to
    find a answer to what i lookin for. I got my site workin again the other day ok and so i went on to
    see it (so i can make more changes) and when i got there i got this QUOTE Forbidden You
    don't have permission to access / on this server. Additionally, a 403 Forbidden error was
    encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at
    www.clansga.trap17.com Port 80 now i looked at everything and i can't seem to find t....
  27. Mysql Database Setup : Setting Up Mysql Database
    Guide to use MySQL database in your site (7)
    A SMALL INTRODUCTION TO DATABASE ============================= I have seen that many members have
    problems with Database. Here is a small INFO which should give you the IDEA. mySQL is a DATABASE
    server. You can access it using the link in Cpanel. Cpanel can be accessed by
    "www.YOUR-SITE.com/Cpanel" There you have 4 Main Options :- 1> CREATE A DATABASE 2> CREATE A USER
    3> ADD USER TO DATABASE 4> PHPMYADMIN CREATE : IT ALLOWS YOU TO CREATE A DATABASE CREATE USER
    : IT ALLOWS YOU TO CREATE A USER. USING THIS, YOU CAN ACCESS THE DATABASE. A DATABASE CANNOT BE....
  28. School Blocks Out My Site.
    (19)
    deleted....
  29. Is .htaccess Allowed ?
    as the topic (2)
    is mod rewrite allowed in trap17 server ? coz i need to change my dynamic page into a static url .
    thx....
  30. Help!!
    Help me on my site.... (8)
    Sorry, I may seem like a total geek, but where should I upload my index page, and what should it be
    named, and are page names case-sensitive? Thank you very much.....

    1. Looking for site, management, tools, leap, danger, index, manager, htaccess, altering, tools,

Searching Video's for site, management, tools, leap, danger, index, manager, htaccess, altering, tools,
See Also,
advertisement


Site Management Tools: Look Before You Leap! - The danger of using Index Manager and other .htaccess altering tools..

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com