Apache text

Status
Not open for further replies.

xai_master

Member
Messages
94
Reaction score
0
Points
6
fDH60506.jpg

anybody know how to remove Apache/1.3.37 Server at x10hosting.com Port 80 text ?
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
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:

Bryon

I Fix Things
Messages
8,149
Reaction score
101
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.
 
Status
Not open for further replies.
Top