View previous topic :: View next topic |
Author |
Message |
Beattie Apprentice
Joined: 24 Jun 2002 Posts: 155
|
Posted: Thu Jul 25, 2002 1:23 pm Post subject: how do I install apache with cgi |
|
|
how do I install apache with the necessary modules(?) to be able to run cgi? |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Thu Jul 25, 2002 1:56 pm Post subject: |
|
|
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 |
|
|
credmp Apprentice
Joined: 02 Jul 2002 Posts: 207 Location: Netherlands
|
Posted: Thu Jul 25, 2002 1:58 pm Post subject: |
|
|
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 |
|
|
StifflerStealth Retired Dev
Joined: 03 Jul 2002 Posts: 968
|
Posted: Thu Jul 25, 2002 4:19 pm Post subject: |
|
|
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 |
|
|
Black666 n00b
Joined: 15 Jul 2002 Posts: 61 Location: Vienna (Austria)
|
Posted: Fri Jul 26, 2002 6:58 am Post subject: |
|
|
credmp wrote: |
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 |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Fri Jul 26, 2002 9:43 am Post subject: |
|
|
Black666 wrote: | credmp wrote: |
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 |
|
|
|