Click to See Complete Forum and Search --> : Apache Configuration


JodiSte
01-26-2004, 06:21 AM
Reading through some of the threads here about apache it seems that if you enter http://localhost you should come to a configuration page of apache.
That doesn't seem to work for me.
I get a directory listing and that is it.
I use SUSE 9.0
Can anybody tell me how to configure Apache?

blizz
01-26-2004, 04:41 PM
You configure the httpd.conf file for Apache (it may be located at "/etc/httpd/httpd.conf") and by default should not need to be modified to get the - Apache Welcome Page - (Not a configuration page).

Have you started Apache? if not (as root):

/etc/init.d/apache restart

or if your using apache2....

/etc/init.d/apache2 restart

(httpd vs. httpd2, you can check with `ps aux | grep httpd` if the returned processes have httpd2 or apache2)

JodiSte
01-27-2004, 06:09 AM
Thanks for your help.
Apache is running. If I type http://localhost, all I receive is a page like you get using ftp just a listing of directories, but not a Welcome page.
Is this normal?

JodiSte
01-27-2004, 06:19 AM
I just found out what the problem was.
The apache-example-pages were not installed.
I just installed them and everything is working fine.
I now get the webserver testpage.
Thanks again