I'm having a lot of difficulty trying to serve a simple website with Apache.

I used Package Manager and downloaded/installed the following:
SUNWapch22
SUNWapch22D
SUNWapu13
SUNWapr13
SUNWapu13-ldap

I have the website I want to serve in the location /export/home/WWW, the 
website is named as index.html. I used chmod and set the permissions as 777 for 
the foler and html file.

I found the httpd.conf file located in /etc/apache/2.2
I've tried to keep it as basic as possible because I don't know what I'm doing.
Here is my httpd.conf file


# start
# Basic settings
Listen 0.0.0.0:80
User nobody
Group nobody
ServerAdmin blah at blah.com
UseCanonicalName On
ServerSignature Off
HostnameLookups Off
ServerTokens Prod
ServerRoot "/user/local/apache2"
DocumentRoot "/export/home/WWW"
<IfModule mod_dir.c>
     DirectoryIndex index.html
</IfModule>

#HTTP Settings
Timeout 300
KeepAlive On
MaxKeepAlive Requests 100
KeepAliveTimeout 15
<IfModule preferok.c>
     MinSpareServers 5
     MaxSpare Servers 10
     StartServers 5
     MaxClients 150
     MaxRequestsPerChild 0
</IfModule>

<Directory /export/home/WWW>
     Options Indexes Includes FollowSymLinks MultiViews
     AllowOverride None
     Order allow,deny
     Allow from all
</Directory>

# End

After this I started Apache with
# svcadm enable network/http:apache22
# svcadm restart network/http:apache22

I opened up firefox and browsed to http://localhost/index.html
However, it will just display a blank page with the words "It works!"


Any help greatly appreciated.
-- 
This message posted from opensolaris.org

Reply via email to