🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.unix
Article #230

Re: Apache & modem dialing..

#230
From: James Radley
Date: Wed, 12 Jul 2000 00:00
66 lines
3405 bytes
'Dungeon' Dave <Dungeon@SpamNot.Here> wrote in message
news:8GvLnFAp07Z5EwiB@ghastly.demon.co.uk...
> .. and it came to pass that James Radley <james@susie.demon.
> co.uk> uttered forth:
> >Well, for the ppp side of things, I set up the pppd to start from the
init
> >scripts. My command line looks like
> >
> >/usr/sbin/pppd aaa.bbb.ccc.ddd 158.152.1.222 call red
> >
> >Where aaa.bbb.ccc.ddd is my IP address ( the static one from demon )
>
> Hmmm... how would this change if I wasn't dialing Demon? (ie: I
> need the ISP to assign me an IP address, so presumably I'm
> using DHCP over the ppp connection to obtain the IP address)

If you aren't dialing demon, then you have a problem. Demand dialing using
just pppd will only work with a static IP address. It won't reconfigure the
interface when you reconnect. You will have to use diald, which is more
flexible and can cope with this sort of thing.

> >
> <snip>
> >
> >Which should give you the routing and demand dailing that you need.
> >There is
> >nothing special about the chat script.
>
> Ta - will try it out.
> >
> >I'm using pppd 2.3 patch level 5
>
> Have to check mine (once I sorted out the sodding fsck stuff - bit
> too hasty in turning it off last night).
>
> >As for Apache, the newer version have a new policy of putting all of the
> >configuration in httpd.conf. To maintain compatabilty with older versions
> >though, it still reads srm.conf and access.conf and applies the changes.
> >
> >Empty or rename these files to fix the problem.
>
> I was toying with the idea of shoving the standard stuff into
> access.conf and using httpd.conf as the "active" file (add new
> virtual sites, change script directories etc) so I didn't have to wade
> through acres of stuff that was pretty static. Any idea of the
> overriding priority of files? (if the same option as in both files,
> which would it take?) Plus: is there any special order of options, or
> can I just stick "my important stuff" near the top of the file and
> leave the rest lower down?
>

I don't think there is any special order of options. I guess the Apache
manual is the best place to look. I tend to put everything into httpd.conf.
All the static stuff at the top, and all the multi site stuff at the end.
It's easy to scroll to the end of the file to add new bits.



> --
>
> "Dungeon" Dave, in anti-harvest mode...
>
> From: abuse@yahoo.com
> From: abuse@btinternet.com
> From: *@localhost
Technical Details
Message-ID: <963439487.6209.0.nnrp-02.9e9871f7@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <FDl+5HAESzX5EwVU@ghastly.demon.co.uk><962832625.6145.0.nnrp-12.9e9871f7@news.demon.co.uk><E73+XLAzQ7Y5Ewuh@ghastly.demon.co.uk><963086625.10301.0.nnrp-01.9e9871f7@news.demon.co.uk> <8GvLnFAp07Z5EwiB@ghastly.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fac57,c387f9d151d02c92
X-Google-Attributes: gidfac57,public
From: "James Radley" <james@susie.demon.co.uk>
Subject: Re: Apache & modem dialing..
Date: 2000/07/12
Message-ID: <963439487.6209.0.nnrp-02.9e9871f7@news.demon.co.uk>
X-Deja-AN: 645658237
X-NNTP-Posting-Host: susie.demon.co.uk:158.152.113.247
References: <FDl+5HAESzX5EwVU@ghastly.demon.co.uk><962832625.6145.0.nnrp-12.9e9871f7@news.demon.co.uk><E73+XLAzQ7Y5Ewuh@ghastly.demon.co.uk><963086625.10301.0.nnrp-01.9e9871f7@news.demon.co.uk> <8GvLnFAp07Z5EwiB@ghastly.demon.co.uk>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 963439487 nnrp-02:6209 NO-IDENT susie.demon.co.uk:158.152.113.247
Organization: Hiltonbury Solutions Limited
X-MSMail-Priority: Normal
Newsgroups: demon.tech.unix