LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-29-2011, 07:30 AM   #1
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 294

Rep: Reputation: 10
Is It possible to Hide my Server Details?


Hi all,

Thanks in Advance,

Is it possible to hide my server details, for example

if i give

Code:
curl domain.tld
means

Quote:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.domain.tld/">here</a>.</p>
<hr>
<address>Apache/2.2.9 (Fedora) Server at domain.tld Port 80</address>
</body></html>
It Display my server Apache version and Distro details.. how can we hide this details..just a curious :-) please guide me to solve this thread.

Last edited by anishkumarv; 07-29-2011 at 07:32 AM.
 
Old 07-29-2011, 07:58 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Since you're running apache, you can use:
Code:
ServerTokens Prod
ServerSignature Off
to hide most details about your web server

Regards
 
1 members found this post helpful.
Old 07-29-2011, 08:12 AM   #3
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 294

Original Poster
Rep: Reputation: 10
Hi bathory,

Thanks a lot It works great :-) you made my day :-) :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mail server details davholla Programming 4 09-29-2008 12:32 PM
How to hide my DHCP server? bobdevis Linux - Networking 4 02-24-2008 08:16 PM
trying to hide a server patcito Linux - Networking 7 02-20-2007 06:18 AM
Server Details !!! ptreves Linux - Hardware 1 06-17-2004 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration