[ug-bosug] how to setup apache?

Madhan Kumar Balasubramanian Madhan.Balasubramanian at Sun.COM
Tue Apr 15 01:49:51 PDT 2008


Hi Sham,

Due to project webstack, apache can be out of the box config itself.

All you need to do is determine whether you want to run apache2.2 or 
apache v1.0.

for apache2.2, execute /usr/apache2/2.2/bin/apachectl start and it will 
get started.

To change the bind address, edit the /etc/apache2/2.2/httpd.conf & 
search for ServerName directive and give your hostname.

For apache1, you need to rename /etc/apache/httpd.conf-example to 
/etc/apache/httpd.conf and start the apache server using 
/usr/apache/bin/apachectl start.

Same procedure for changing servername directive.

To verify if the syntax of httpd.conf is correct, you can execute 
configtest:

/usr/apache/bin/apachectl configtest

HTH!

Best Regards,
Madhan Kumar

sham pavman wrote:
> Hi all,
>  
> We are trying to push solaris (79a) our way into the college 
> computers....(Henceforth we will be using solaris itself).
> So for this reason currenly i have shown our HOD that all the progs, 
> c/c++ ,perl,java, are running without any issues!!
>  
> How ever it seems they want apache to be started up ,then we can 
> finalize the deal.
> But i have Zero knowledge about configuring apache and would request 
> your help!
>  
> I did a "an apache"and am trying to figure out how to configure it...
> Also i have come across the apache sever in the services menu...(a bit 
> hesitant in checkin it right away)
> So could i do that?
> Also if i just follow the man page will i be able to get apache up and 
> running!!
> I would like to have all the details that need to be known for setting 
> up apache!!
>  
> PS: once apache is set up , we have solaris running running full time 
> in our college :-)
>  
> Thanks
> Shampavman
>  
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>   


More information about the ug-bosug mailing list