logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Please help me configure a super basic webserve with Apache
Author
Mugaaz



Joined: 24 Nov 2009
Posts: 1

PostPosted: Tue 24 Nov '09 21:28    Post subject: Please help me configure a super basic webserve with Apache Reply with quote

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

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 dot 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 /e
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,
Thank you.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 25 Nov '09 1:24    Post subject: Reply with quote

Just curious, what is the first three lines in
/export/home/WWW/index.html

Is this a typo?
<Directory /e

What does the error log say?
Back to top


Reply to topic   Topic: Please help me configure a super basic webserve with Apache View previous topic :: View next topic
Post new topic   Forum Index -> Apache