Mandriva Expert
The place where your Mandriva Linux system finds support

Server name and apache

+/- details
User NinjaNate
Incident Number 52727
Date 2003/03/02 18:45
Status Incident closed
Paid No

Product 9.0 (Dolphin)
Architecture x86_32
Scope Web Server

Products owned
Community Support question - to convert into a paid question, click here

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]    
 
NinjaNate : 02/03/03 06:45 PM : Incident created
-   On the default apache installation page, there is a Server side include for "SERVER_NAME". Where is it calling this variable from? Is it the httpd.conf file? Right now its giving me the internal IP of 127.0.0.1 for the server name. Below is the SSI included on the index.shtml page.

#echo var="SERVER_NAME" -

Thanks for any help,
Nathan
http://www.kittyfriedrice.com

 
Linegod_7611 : 04/03/03 07:47 PM : Reply received
-   SERVER_NAME is dynamically generated, unless you specify it in
'/etc/httpd/conf/httpd.conf' with:

ServerName whatever.com

--------
Note: If this answer resolves your problem, please remember to close this
incident.

 
Linegod_7611 : 04/03/03 07:49 PM : Reply received
-   Just as a note, if you access the server via http://whatever.com , it should
dynamically display the 'correct' info.

--------
Note: If this answer resolves your problem, please remember to close this
incident.

 
 
NinjaNate : 04/03/03 10:54 PM : Incident closed
-  



This Incident is closed. It can not be edited anymore. You can create a new one by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers