Operating System - Linux
1822142 Members
3731 Online
109640 Solutions
New Discussion юеВ

Need to Install Apache Server running with perl/CGI option

 
Cliff Lim Kok Hwee
Regular Advisor

Need to Install Apache Server running with perl/CGI option

Hi Forum,

I am currently having OS Redhat Linux 4.0 AS running.

How do I install Apache Server running with Perl/CGI option? From RedHat Installation medium C Ds?

Thanks/Cliff
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Need to Install Apache Server running with perl/CGI option

Shalom Cliff,

Perl/CGI is a standard option of the httpd/apache server that ships with apache. Just install off of the CD's. To be useful some changes to httpd.conf may be required.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Cliff Lim Kok Hwee
Regular Advisor

Re: Need to Install Apache Server running with perl/CGI option

Hi Sir,

Install from the Redhat OS Installation cd media u mean?

Thanks/cliff
Vernon Brown_4
Trusted Contributor

Re: Need to Install Apache Server running with perl/CGI option

If you installed everything (clicked the checkbox install everything) you have the server installed. The command:
service httpd start
will start it. Point your browser to httpd://localhost/

to test it.
Vernon Brown_4
Trusted Contributor

Re: Need to Install Apache Server running with perl/CGI option

Oops; that's http://localhost/ to test it.
Alan_152
Honored Contributor

Re: Need to Install Apache Server running with perl/CGI option

this comes standard with the apache install, but will need some configuring in httpd.conf . I'd recommend downloading the latest rpm from http://httpd.apache.org/ , getting the updated perl framework from http://httpd.apache.org/test/ , and reading up on httpd.conf specifics at http://httpd.apache.org/docs/1.3/configuring.html .
Vipulinux
Respected Contributor

Re: Need to Install Apache Server running with perl/CGI option

Hi

If you have the redhat cd's you can install it using rpm -ivh command ( pacakge name is httpd and not apache)

Once that is done you can start apache :
#service httpd start
to check
#service httpd status

to configure you need to edit :
/etc/httpd/conf/httpd.conf
whenever you edit the conf file do:
#service httpd restart

-----------

to check if that works do:
http://IP_Address/
or
http://hostname or
http://localhost ( from the apache server itself)

Hope this is useful

Cheers