Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: So i´m new GNU command problem |
|
Author |
|
playerz
Joined: 29 Oct 2014 Posts: 1 Location: Denmark
|
Posted: Wed 29 Oct '14 14:34 Post subject: So i´m new GNU command problem |
|
|
So yea the titel says it all. some background: just begun school, but the teacher is not very good at showing up/teaching me, so i have taken the task upon myself. my project is making a site where i can host my own files.
so here´s the question. my guide says i need to find a line called: ServerTokens Full
and i have searched numerous times. still nothing. so how do i use the commands in the bottom. im using the latest updates.
- and thanks i hope you understand my question. or just ask |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 29 Oct '14 16:23 Post subject: |
|
|
Pretty easy
cd to your config path e.g. /etc/apache2 and use grep
Code: |
cd /etc/apache2
grep -R "ServerTokens" *.conf
|
if there isn't a result (apache will use the default value), than just add ServerTokens
e.g.
|
|
Back to top |
|
|
|
|
|
|