How to configure apache web server in Solaris 10  

Posted by Unknown in , ,

Here are the steps...

  1. svcadm enable apache (or apache2)
  2. mv /etc/apache[2]/httpd.conf-example /etc/apache[2]/httpd.conf
  3. /usr/apache/bin/apachectl start

Then open your browser
http://localhost or http://127.0.0.1

For other IP address , you have to open your httpd.conf
then modify the default address 127.0.0.1 using your x.x.x.x IP address or your host name ( for valid dns )in " Server Name" line:

ServerName x.x.x.x

Check the current status: 'svcs -l apache[2]'

Restarting/reloading can be done through apachectl (/usr/apache[2]/bin/apachectl) but 'svcadm refresh apache[2]' is the preferred method.

This entry was posted on Monday, May 26, 2008 at Monday, May 26, 2008 and is filed under , , . You can follow any responses to this entry through the comments feed .

0 comments

Post a Comment