Apache setup help
Kurt Wall
kwall
Mon May 17 11:51:38 PDT 2004
Quoth Condon Thomas A KPWA:
>
> Folks,
>
> I'm trying to set up an Apache server to host my own web pages. I'm running
> it on a Gentoo system with a Celleron processor. It is networked to my home
> net and I'm accessing it from the SuSE 8.0 desktop I use to access the web
> normally.
>
> I'm trying to follow the O'Reilly "Apache: The Definitive Guide", but when I
> first access the web pages (from my online site) the browser (Konqueror)
> displays the HTML code, not the web page. I suspect I haven't finished the
> setup and there is a simple directive that I've not included in the .conf
> file, which currently contains only:
> ****************
> User webuser
> Group webgroup
> ServerName spyder
Use an IP address if you can.
> DocumentRoot /web/site.burps
> ****************
This hardly seems sufficient. This is one situation where using the
sample httpd.conf file will help you. It seems long, but it's mostly
comments. Entries I change
ServerAdmin
ServerName
CustomLog
User
Group
DocumentRoot
After you make your changes, run "apachectl configtest" to validate
your configuration file.
Kurt
--
Hand, n.:
A singular instrument worn at the end of a human arm and
commonly thrust into somebody's pocket.
-- Ambrose Bierce, "The Devil's Dictionary"
More information about the Linux-users
mailing list