Hello Tom,
Thanks for the advice.
Yes I do have a complex setup including using proxies and virtual hosts but
I have gone through the preliminary stages you mention and have no problems
with running Apache with CGI scripts (after resolving all the permission
problems). I am also using Linuxconf as far as possible to do my set-up.
PPP is working fine for both dial-in and dial-out.
My grey area is sendmail and how it interfaces with a ppp connection. My
CGI script makes the mail recipient root@myhostname. Now I would think that
all mail from my forms would go to root, which it does, until I establish
an outgoing ppp link to my isp.
I dont know if this is the explanation but when I check route -n I get the
following on my linux box:

Stage 1: Before Dialing in:
Destination             Gateway         Interface
127.0.0.0               0.0.0.0         lo

Stage 2: After Establishing a ppp incoming connection:
192.168.0.21    0.0.0.0         ppp1
127.0.0.0               0.0.0.0         lo

Stage 3: After Establishing an outgoing connection:
192.168.0.21    0.0.0.0         ppp1
202.56.92.1             0.0.0.0         ppp0
127.0.0.0               0.0.0.0         lo
0.0.0.0         202.56.92.1             ppp0

Stage 4: After disconnecting from the linux box (both links down)
202.56.92.1             0.0.0.0         ppp0
127.0.0.0               0.0.0.0         lo
0.0.0.0         202.56.92.1             ppp0



At 04:29 PM 12/30/99 -0500, you wrote:
>I think you are trying to get too many things working at once. PPP, Apache,
>sendmail, and CGI forms are each non-trivial things. I think PPP is the
>easiest of them all given the good PPP software and configuration tools
>available (though with a few bugs) in RedHat Linux. I hope you are using
>Linuxconf to do your setup. Once you get the right information setup for
>your ISP, PPP should spring right to life. The RedHat manual is pretty good
>for basic setup steps.
>
>I would suggest that you first get basic PPP working so your machine
>establishes a solid connection that you can use to ping, telnet, and maybe
>connect to Web servers. The folks on this list should be able to help you
>get that working quickly. Then tackle sendmail, Apache, etc. Note; I found
>Apache to be fairly tricky to setup especially with the permissions that
>you must define before you can use it.
>
>
>Tom
>
>>I find that when I dial into the box from a Win98 client I can use sendmail
>>on the linux box to e-mail the data entered into an HTML form to
>>root@myhostname on the linux box. This uses a standard mail-form CGI script.
>>However, when the linux box, dials the internet and establishes a
>>connection the sendmail does not function. When I look at the mail logs it
>>seems sendmail is trying to send the mail to the remote IP address
>>(assigned dynamic address).
>>My question is:
>>Is this a routing problem, a sendmail configuration problem or a ppp
>>problem ?.
>>Can anyone point me in the right direction to resolve this problem. I am
>>just using the RH6.0 default settings on sendmail.
>
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to