Apache text

Discussion in 'Free Hosting' started by xai_master, Feb 20, 2007.

Thread Status:
Not open for further replies.
  1. xai_master

    xai_master Member

    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    [​IMG]
    anybody know how to remove Apache/1.3.37 Server at x10hosting.com Port 80 text ?
     
  2. Bryon

    Bryon I Fix Things

    Messages:
    8,149
    Likes Received:
    101
    Trophy Points:
    48
    In whatever directory you want to do this in:
    1. Edit the file '.htaccess', or create it if it does not exist already.
    2. In .htaccess, add the following line:
      Code:
      ReadmeName whatever.html
    3. Create the file 'whatever.html' in the same directory; put whatever you want in it. (You can change the name.. Obviously.. :))

    That should do it. :)

    I tested it out quickly to make sure that mod_autoindex was enabled/supported by the server, and it is. If you leave the file empty, it will just appear to remove that 'Apache server' text.

    Here is an example of this: http://staff.x10hosting.com/test/
     
    Last edited: Feb 20, 2007
  3. xai_master

    xai_master Member

    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    thx Bryon for your answer but how to create .htaccess file ?
     
  4. Bryon

    Bryon I Fix Things

    Messages:
    8,149
    Likes Received:
    101
    Trophy Points:
    48
    If you're using cPanel, go to the file manager, move to the directory you want to create the file in, then click the link that says 'create new file.' A box will appear on the right, enter '.htaccess' into that box and hit the submit button, and it will create the file.
     
  5. xai_master

    xai_master Member

    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    problem solved. Thx :D
     
Thread Status:
Not open for further replies.

Share This Page