Networking Forums

Networking Forums > Computer Networking > Linux Networking > how do you enable server-info in apache2.conf

Reply
Thread Tools Display Modes

how do you enable server-info in apache2.conf

 
 
dongarbage@hotmail.com
Guest
Posts: n/a

 
      11-08-2006, 02:00 PM
Hi all,

I'm running Ubuntu 6.06 with apache2. I've got server-status working
but I can't get server-info working. Here's what I have for it in
/etc/apache2/apache2.conf:

<Location /server-info>
SetHandler server-info
# Order deny,allow
# Deny from all
# Allow from .your_domain.com
</Location>

I have restarted apache2 and I go to http://localhost/server-info and I
get a "404 Not Found" response.
Do I have to enable anything else in order for server-info to show up?

Thanks for any help,
Don

 
Reply With Quote
 
 
 
 
Jack Snodgrass
Guest
Posts: n/a

 
      11-08-2006, 02:16 PM
On Wed, 08 Nov 2006 07:00:25 -0800, dongarbage wrote:

> Hi all,
>
> I'm running Ubuntu 6.06 with apache2. I've got server-status working
> but I can't get server-info working. Here's what I have for it in
> /etc/apache2/apache2.conf:
>
> <Location /server-info>
> SetHandler server-info
> # Order deny,allow
> # Deny from all
> # Allow from .your_domain.com
> </Location>
>
> I have restarted apache2 and I go to http://localhost/server-info and I
> get a "404 Not Found" response.
> Do I have to enable anything else in order for server-info to show up?
>
> Thanks for any help,
> Don


I have FC5 and my httpd.conf file is for apache V2.0... I don't
have separate config files for apache.... I have

<Location /server-info>
SetHandler server-info
# Order deny,allow
# Deny from all
# Allow from .your_domain.com
</Location>

In my httpd.conf file and http://locahost/server-info works fine.
are you 100% sure you restarted apache after changing that file?

jack

--
D.A.M. - Mothers Against Dyslexia

see http://www.jacksnodgrass.com for my contact info.

jack - Grapevine/Richardson
 
Reply With Quote
 
dongarbage@hotmail.com
Guest
Posts: n/a

 
      11-08-2006, 02:31 PM
Jack,

Yep, I'm sure I restared it.
I did this to restart it:
sudo /etc/init.d/apache2 restart

Ubuntu has separate files for what is usually httpd.conf. I believe
this is a carry-over from debian.

Thanks for any further help,
Don

Yep, I'm sure. I
Jack Snodgrass wrote:
> On Wed, 08 Nov 2006 07:00:25 -0800, dongarbage wrote:
>
> > Hi all,
> >
> > I'm running Ubuntu 6.06 with apache2. I've got server-status working
> > but I can't get server-info working. Here's what I have for it in
> > /etc/apache2/apache2.conf:
> >
> > <Location /server-info>
> > SetHandler server-info
> > # Order deny,allow
> > # Deny from all
> > # Allow from .your_domain.com
> > </Location>
> >
> > I have restarted apache2 and I go to http://localhost/server-info and I
> > get a "404 Not Found" response.
> > Do I have to enable anything else in order for server-info to show up?
> >
> > Thanks for any help,
> > Don

>
> I have FC5 and my httpd.conf file is for apache V2.0... I don't
> have separate config files for apache.... I have
>
> <Location /server-info>
> SetHandler server-info
> # Order deny,allow
> # Deny from all
> # Allow from .your_domain.com
> </Location>
>
> In my httpd.conf file and http://locahost/server-info works fine.
> are you 100% sure you restarted apache after changing that file?
>
> jack
>
> --
> D.A.M. - Mothers Against Dyslexia
>
> see http://www.jacksnodgrass.com for my contact info.
>
> jack - Grapevine/Richardson


 
Reply With Quote
 
Trygve Selmer
Guest
Posts: n/a

 
      11-09-2006, 01:07 PM
(E-Mail Removed) wrote:
> Hi all,
>
> I'm running Ubuntu 6.06 with apache2. I've got server-status working
> but I can't get server-info working. Here's what I have for it in
> /etc/apache2/apache2.conf:
>
> <Location /server-info>
> SetHandler server-info
> # Order deny,allow
> # Deny from all
> # Allow from .your_domain.com
> </Location>
>
> I have restarted apache2 and I go to http://localhost/server-info and I
> get a "404 Not Found" response.
> Do I have to enable anything else in order for server-info to show up?


Be sure you have enabled (loaded) the module mod_info.

 
Reply With Quote
 
Dan N
Guest
Posts: n/a

 
      11-13-2006, 12:09 AM
On Wed, 08 Nov 2006 07:00:25 -0800, dongarbage wrote:

> Hi all,
>
> I'm running Ubuntu 6.06 with apache2. I've got server-status working
> but I can't get server-info working.


> I get a "404 Not Found" response.


Are you looking in the right place?

I'm not sure what server-info is, but where do you have it located?
Assuming that 'DocumentRoot' is /var/www, then you need to have a
'server-info' directory at /var/www/server-info. And then you need
to have index.html in that directory. That is, or course, unless
server-info is an alias.

Have a look at the documentation at apache.org. Look for
'DocumentRoot'. Also have a look at the log files in /var/log/apache2.

Dan


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change resolv.conf for one particular DHCP server Stefan Monnier Linux Networking 3 08-24-2007 10:52 AM
conf. web page in linux server Luis Figueiredo Linux Networking 1 10-29-2005 07:15 AM
dhcpd.conf, resolv.conf and the search directive Andy Richardson Linux Networking 4 07-13-2005 08:23 AM
Q: Simple way to pick up resolv.conf info from DHCP to DNS? Sundial Services Linux Networking 2 11-15-2004 01:09 PM
newbie suse 8.2 wlan laptop belkin pcmcia install&enable&conf Manne Laukkanen Linux Networking 0 01-06-2004 01:25 PM



1 2 3 4 5 6 7 8 9 10 11