1820222 Members
3766 Online
109620 Solutions
New Discussion юеВ

Re: httpd.conf file

 
Eric_83
Occasional Advisor

httpd.conf file

it is the apache server's httpd.conf file
cool_boy
6 REPLIES 6
Steve Steel
Honored Contributor

Re: httpd.conf file

Hi


look at

http://www.onlamp.com/pub/a/apache/2000/03/02/configuring_apache.html

http://www.pandc.org/proxy/slides-recent/slide22.htm

http://www.apache-ssl.org/httpd.conf.example


What exactly is your question


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
oiram
Regular Advisor

Re: httpd.conf file

Hi Eric,

I think you must specify the addresses in which the webserver will listen. Uncomment the line Bind * and try. If it doesn??t work post the error mesagges that should appear in the errors file.

Best regards.
Ralph Grothe
Honored Contributor

Re: httpd.conf file

Eric,

I think you will receive more help here if you drop a line what your problem is, or what you want to achieve.

N.B.
You don't have to care for the BindAddress directive if you don't plan to set up virtual hosts
Madness, thy name is system administration
benoit Bruckert
Honored Contributor

Re: httpd.conf file

Hi,
I would have been easier to understand if this file was in the main thread .
To make it work on your system (virtuel hosting):
uncomment listen directives as follows :
listen :80
listen :80
listen :80
replace main_ip ,virtual 1,virtual 2 by the ip address of your main server and your virtuals hosts.

If you built with DSO your Apache , then add also :
LoadModule vhost_alias_module lib/modules/mod_vhost_alias.so
But I think it's not the case..

hope that help
Benoit
Une application mal pans├йe aboutit ├а une usine ├а gaze (GHG)
Eric_83
Occasional Advisor

Re: httpd.conf file

My problem : the attach file is my web server
config file and before I add the virtual
items , the web server is work well. But
when I add the virtual items the site isn't
work well. my main domain is xxx , virtual domain is www.yyy.com and bbs.yyy.com .
After I edit the config file and restart httpd,
the main page did not output insted it the virutal site page outputed.
So I attach the config file for solve the problem . thankyou .
cool_boy
benoit Bruckert
Honored Contributor

Re: httpd.conf file

Did you make the changes I posted above ??
Une application mal pans├йe aboutit ├а une usine ├а gaze (GHG)