Tuesday, September 16, 2008

Apache in Solaris 10

Does not configure Apache 1

/etc/apache
/etc/init.d/apache


The web server is Apache2

/var/apache2
/etc/apache2


Copy /etc/httpd-std.conf to /etc/httpd.conf

If you want the server to listen in a port different than 80, you could use the following directive:

Listen 192.168.1.1:8181

Where 192.168.1.1 is the IP of the server and 8181 is the port.

Then enable the server with svcadm enable apache2

Check the logs at /var/apache2/logs/error_log and /var/apache2/logs/acess_log

No comments: