LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-25-2010, 02:26 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 39
viewing server signature


How can I view server signature on my website.
 
Old 10-25-2010, 02:48 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,229
Blog Entries: 1

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Hi,

What server?
For apache turn "ServerSignature On" in httpd.conf.
Then point your browser to a non existent page and you'll see it under the error message.

Regards
 
Old 10-25-2010, 02:49 AM   #3
anon237
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Assuming you use Apache:

Are you looking for the ServerTokens <TOKEN> directive?

ServerTokens Directive (Apache 2.2)

Hope this helps.

Maybe I got it wrong and you need this one: ServerSignature Directive (Apache 2.2)

Last edited by anon237; 10-25-2010 at 02:51 AM.
 
Old 10-25-2010, 04:27 AM   #4
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by bathory View Post
Hi,

What server?
For apache turn "ServerSignature On" in httpd.conf.
Then point your browser to a non existent page and you'll see it under the error message.

Regards
I am using Ubuntu 10.04 and httpd.conf is blank I also checked apache2.conf and ServerSignature is not present then
/etc/apache2/conf.d/security
here I found
Code:
#ServerTokens Minimal
ServerTokens OS
#ServerTokens Full
as you said to point to a non existent page I did the same but I did not found any thing from it.
 
Old 10-25-2010, 04:50 AM   #5
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Ubuntu differs from most distributions in that it does not make use of the httpd.conf file. Instead the configuration is mostly done in apache2.conf. Ports.conf is used to configure a few things and then the rest of it is done in your host declaration under the sites-enabled directory.
 
Old 10-25-2010, 05:23 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,229
Blog Entries: 1

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
If it doesn't exist you can add it in /etc/apache2/apache2.conf or in /etc/apache2/conf.d/security along with the ServerTokens.
By default (if it doesn't exist) ServerSignature is off, that's why you don't get anything in an error page.
Note that's it's better to keep it to off, so you don't reveal your server version, OS etc

Regards
 
Old 10-25-2010, 09:11 AM   #7
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by bathory View Post
By default (if it doesn't exist) ServerSignature is off, that's why you don't get anything in an error page.
Note that's it's better to keep it to off, so you don't reveal your server version, OS etc
Yes I understand your point.
I have to test an LMS known as Ilias as given here
the absolutely last lines of the above link
Code:
Currently is not possible to run ILIAS with the default Suhosin settings.
Please enter the following line in your php.ini if this patch is activated:
suhosin.session.encrypt=Off
suhosin.post.max_vars=10000
suhosin.request.max_vars=10000
were the ones which made my work impossible so I needed to know what Server Signature was if you know any alternative then share.

Last edited by tkmsr; 10-25-2010 at 09:35 AM.
 
Old 10-25-2010, 12:18 PM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,229
Blog Entries: 1

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
OK, so you want the ServerSignature to see if you have the php suhosin patch?
Did you try to add the directive and see what you get in an error page.
An alternative is to check the lines written in apache error_log when apache is restarting.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Adding a Email Signature at Server level on ISPConfig shawnbishop Linux - Software 2 04-10-2008 04:30 AM
using Global signature through IMAP server and Outlook Express coolamit78 Linux - Networking 2 04-07-2006 09:26 AM
viewing vhosts with server ip? eeos Fedora 5 03-04-2005 03:26 PM
DVD viewing through X server stabu Linux - Newbie 2 04-13-2004 03:44 PM
server signature port @lex Linux - Security 1 07-15-2003 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:32 AM.

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