Discussion in 'Free Hosting' started by xai_master, Feb 20, 2007.
anybody know how to remove Apache/1.3.37 Server at x10hosting.com Port 80 text ?
In whatever directory you want to do this in:
Edit the file '.htaccess', or create it if it does not exist already.
In .htaccess, add the following line:
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/
thx Bryon for your answer but how to create .htaccess file ?
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.
problem solved. Thx
Separate names with a comma.