Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] loading the Apache manual

9 views
Skip to first unread message

don james

unread,
Dec 20, 2004, 12:50:17 PM12/20/04
to
Hi,

I am trying to run the Apache manual with Apache2.

What is the syntax of the "APACHE_OPTS=" command in /etc/conf.d/apache2

I am new to gentoo, but not new to Unix.

Please tell me where to go to get an answer

Sincerely,

Don

--
gento...@gentoo.org mailing list

darren kirby

unread,
Dec 20, 2004, 3:10:06 PM12/20/04
to
quoth the don james:

> Hi,
>
> I am trying to run the Apache manual with Apache2.
>
> What is the syntax of the "APACHE_OPTS=" command in /etc/conf.d/apache2
>
> I am new to gentoo, but not new to Unix.
>
> Please tell me where to go to get an answer
>
> Sincerely,
>
> Don

Syntax is "-D module_to_load"
ie:
APACHE_OPTS="-D php4 -D ssl"

Nothing to do with the manual though...this is gentoo specific (afaik). The
manual is available at http://localhost/manual/ by default...perhaps it is
only installed with "doc" use flag though, I am not sure.

-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972

John Ziniti

unread,
Dec 20, 2004, 4:50:05 PM12/20/04
to
darren kirby wrote:
>>What is the syntax of the "APACHE_OPTS=" command in /etc/conf.d/apache2
>
> Syntax is "-D module_to_load"
> ie:
> APACHE_OPTS="-D php4 -D ssl"
>
> Nothing to do with the manual though...this is gentoo specific (afaik).

This is a generally-available feature of all installed Apaches, but
it depends more on how Apache is configured. What "-D php4" does
is define a variable "php4" during startup. The configuration file
for Apache would then say:

<IfDefined php4>
... load php4 module and do php4-related stuff here ...
</IfDefined>

You are free to use any defines you want and use <IfDefined> in
any way you see fit to alter the Apache startup procedure.

A bit off-topic, but it's snowing in Boston and I'm feelin all
Christmas-y and stuff ...

JZ

--
gento...@gentoo.org mailing list

darren kirby

unread,
Dec 20, 2004, 10:10:07 PM12/20/04
to
quoth the John Ziniti:

> darren kirby wrote:
> >>What is the syntax of the "APACHE_OPTS=" command in /etc/conf.d/apache2
> >
> > Syntax is "-D module_to_load"
> > ie:
> > APACHE_OPTS="-D php4 -D ssl"
> >
> > Nothing to do with the manual though...this is gentoo specific (afaik).
>
> This is a generally-available feature of all installed Apaches, but
> it depends more on how Apache is configured. What "-D php4" does
> is define a variable "php4" during startup. The configuration file
> for Apache would then say:
>
> <IfDefined php4>
> ... load php4 module and do php4-related stuff here ...
> </IfDefined>
>
> You are free to use any defines you want and use <IfDefined> in
> any way you see fit to alter the Apache startup procedure.
>

Thanks for the clarification...I always thought it was a gentoo hack, so you
learn something new everyday...

> A bit off-topic, but it's snowing in Boston and I'm feelin all
> Christmas-y and stuff ...

Geez, I'm in Penticton BC, in fricken 'Canada' and it was 10 degrees today!
(not sure what that is in degrees F) In fact it rained at the ski hill the
other day...the entire hill is now a useless pile of crusty/crunchy crud!
Green christmas for us...

> JZ

Ted Ozolins

unread,
Dec 20, 2004, 10:40:07 PM12/20/04
to
darren kirby wrote:

Yup, same here. Since we're going to be spending Christmas just south of
Edmonton, Alberta, I'm sure I'll get all the white to make up for it <G>

--
Ted Ozolins(VE7TVO)
Westbank, B. C


--
gento...@gentoo.org mailing list

Uwe Thiem

unread,
Dec 21, 2004, 3:00:16 AM12/21/04
to
On Tuesday 21 December 2004 05:05, darren kirby wrote:
> quoth the John Ziniti:

> > A bit off-topic, but it's snowing in Boston and I'm feelin all


> > Christmas-y and stuff ...
>
> Geez, I'm in Penticton BC, in fricken 'Canada' and it was 10 degrees today!
> (not sure what that is in degrees F) In fact it rained at the ski hill the
> other day...the entire hill is now a useless pile of crusty/crunchy crud!
> Green christmas for us...

You poor folks! It's summer, about 30C (might get a bit higher today), blue
sky. The day is just asking for a couple of cold beers. ;-)

Uwe

--
Alternative phrasing of the First Law of Thermodynamics:
If you eat it, and you don't burn it off, you'll sit on it.

http://www.uwix.iway.na (last updated: 20.06.2004)

--
gento...@gentoo.org mailing list

0 new messages