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: apache version at the bottom index directory ? |
|
Author |
|
tonyr
Joined: 19 Oct 2006 Posts: 3 Location: Kansas City, Missouri
|
Posted: Thu 19 Oct '06 17:13 Post subject: apache version at the bottom index directory ? |
|
|
Hello everyone,
Got a prob with my apache2.2 i cant figure out.
I have installed apache2.2 + mysql 5 + php 4 on my local server, I had to tinker alot to get the php finally working. But somehow now it no longer shows the apache version at the bottom of the index directory.
I also cannot see it on the LAN, I looked over the httpd.conf but cant for the life of me figure out how to get this to show up.
Any help would be greatly appreciated.
Admin note:
Please change the subject to some more meaningful, see forum rules.
Posted in wrong forum, moved to appropiate forum.
Redone and Rephrased 10-20-06 (TR)
Last edited by tonyr on Fri 20 Oct '06 20:22; edited 1 time in total |
|
Back to top |
|
Brian
Joined: 21 Oct 2005 Posts: 209 Location: Puyallup, WA USA
|
Posted: Fri 20 Oct '06 5:49 Post subject: Re: newbie help |
|
|
tonyr wrote: | ...my (http://mycomp) no longer shows the apache version... |
What do you mean by this?
What does happen when you attempt to view a PHP page?
Have you made a phpinfo.php page?
Code: | <?php
phpinfo();
?> |
Try that, save it and call it in your web browser. Does it show you the PHP info?
Re-read your post, you make it hard for folks to help because it is so vague. Just trying to be helpful for what it's worth. |
|
Back to top |
|
tonyr
Joined: 19 Oct 2006 Posts: 3 Location: Kansas City, Missouri
|
Posted: Fri 20 Oct '06 20:23 Post subject: |
|
|
Thx for reply , the php all works fine. I was just curious how to get my apache version to show up again on the server index directory page and also get it to be seen on our LAN.
Sorry for misinforming in my prior post it has been corrected. Thx again. |
|
Back to top |
|
pnllan
Joined: 05 Dec 2005 Posts: 221
|
Posted: Sat 21 Oct '06 19:45 Post subject: |
|
|
Since you are using Apache2.2.x, and you are most likely then using the 'multi-configuration' file format (httpd.conf - then in extra folder files: httpd-autoindex.conf, httpd-dav.conf, httpd-default.conf, etc...) edit the httpd.conf and make sure that the following line is uncommented:
Include "conf/extra/httpd-default.conf"
Save and close httpd.conf.
Open httpd-default.conf, and find the line that starts with:
ServerTokens
Adjust to the following from the Apache manual:
Quote: | ServerTokens Prod[uctOnly]
Server sends (e.g.): Server: Apache
ServerTokens Major
Server sends (e.g.): Server: Apache/2
ServerTokens Minor
Server sends (e.g.): Server: Apache/2.2
ServerTokens Min[imal]
Server sends (e.g.): Server: Apache/2.2.3
ServerTokens OS
Server sends (e.g.): Server: Apache/2.2.3 (Win32)
ServerTokens Full
Server sends (e.g.): Server: Apache/2.2.3 (Win32) PHP/5.1.6 MyMod/1.2 |
|
|
Back to top |
|
tonyr
Joined: 19 Oct 2006 Posts: 3 Location: Kansas City, Missouri
|
Posted: Fri 27 Oct '06 19:09 Post subject: |
|
|
Thanks works great! |
|
Back to top |
|
Brian
Joined: 21 Oct 2005 Posts: 209 Location: Puyallup, WA USA
|
Posted: Fri 27 Oct '06 21:26 Post subject: |
|
|
You can also use MOD_SECURITY to make it read what ever you want it to. |
|
Back to top |
|
|
|
|
|
|