English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Im using Apache in CentOS (obviously if it comes installed) and i cant seem to get rid of that stupid welcome page when you go to localhost. Here is a copy of my config file (/etc/httpd/conf.d/welcome.conf):

#
# Options -Indexes
# ErrorDocument 403 /error/noindex.html
#


It says to comment everything out but i have tried that plus adding a line like (DocumentRoot index.html) nothing works help?

Can you pleae suggest another version of linux as a webserver?

2006-11-07 18:36:10 · 2 answers · asked by sobe50418 1 in Computers & Internet Programming & Design

2 answers

You will typically have a 'www' folder for Apache. In there is the 'index.html' that you need to replace. Typically it's under /var or /home. Everything under /etc should be configuration files. Open a terminal and type 'updatedb', the 'locate www'. If it spews by too fast and you can't scroll up all the way type 'locate www |less' . If you get an error saying 'locate' is not available you need to install the 'slocate' package.

2006-11-07 19:07:09 · answer #1 · answered by Mr O. 3 · 1 0

That is not the standard location of the configuration file; in fact there should only be one config file; httpd.conf if I can recall immediately.

2006-11-08 02:43:38 · answer #2 · answered by Andy T 7 · 0 1

fedest.com, questions and answers