Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do I install apache with cgi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Beattie
Apprentice
Apprentice


Joined: 24 Jun 2002
Posts: 155

PostPosted: Thu Jul 25, 2002 1:23 pm    Post subject: how do I install apache with cgi Reply with quote

how do I install apache with the necessary modules(?) to be able to run cgi?
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Thu Jul 25, 2002 1:56 pm    Post subject: Reply with quote

In the httpd.conf you need to uncomment (or add) some AddHandler lines for CGI and other stuff. Read through it and you'll figure it out.

Mind that I don't run apache on my gentoo box, but I do run a source apache install, so it should apply.
Back to top
View user's profile Send private message
credmp
Apprentice
Apprentice


Joined: 02 Jul 2002
Posts: 207
Location: Netherlands

PostPosted: Thu Jul 25, 2002 1:58 pm    Post subject: Reply with quote

Code:

emerge apache


that will give you your apache install. then in the httpd.conf (/etc/apache/conf) be sure to add ExecCGI to the directories you want (plenty of samples provided).

-- Arjen
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Thu Jul 25, 2002 4:19 pm    Post subject: Reply with quote

Easier still: I use webmin and click the check box on which mods I want to use. webmin is somewhere in portage. Last time I looked it was still masked, but it works great for me.

cheers
Back to top
View user's profile Send private message
Black666
n00b
n00b


Joined: 15 Jul 2002
Posts: 61
Location: Vienna (Austria)

PostPosted: Fri Jul 26, 2002 6:58 am    Post subject: Reply with quote

credmp wrote:
Code:

emerge apache


that will give you your apache install. then in the httpd.conf (/etc/apache/conf) be sure to add ExecCGI to the directories you want (plenty of samples provided).
-- Arjen


I emerged apache a few minutes ago but I have no httpd.conf in /etc/apache/conf...in fact I don't have it anywhere (I have searched for it). Anything wrong with my installation?
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Fri Jul 26, 2002 9:43 am    Post subject: Reply with quote

Black666 wrote:
credmp wrote:
Code:

emerge apache


that will give you your apache install. then in the httpd.conf (/etc/apache/conf) be sure to add ExecCGI to the directories you want (plenty of samples provided).
-- Arjen


I emerged apache a few minutes ago but I have no httpd.conf in /etc/apache/conf...in fact I don't have it anywhere (I have searched for it). Anything wrong with my installation?


You have:
# vim /etc/apache/conf/apache.conf
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum