httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter" <pgog...@optusnet.com.au>
Subject Re: [users@httpd] Setting up apache
Date Mon, 02 Sep 2002 08:41:37 GMT
I have found that if I change the script name form userfunctions.php to
userfunctions.htm then it runs ok.  Thius for some reason scripts which end
in .php are not being processed properly. This must therefore be problem
with apache configuration.  Has anyone else had this sort of problem and if
so how was it solved. Note that the site with scripts ending in a mixture of
.htm, .php works perfectly on my win98 and winnt boxes. It is only on the
linux box I am having this problem.

Regards

Peter Goggin
----- Original Message -----
From: "Peter" <pgoggin@optusnet.com.au>
To: <users@httpd.apache.org>
Sent: Monday, September 02, 2002 5:19 PM
Subject: Re: [users@httpd] Setting up apache


> Thanks for you help. I can now see the Apache web server on the linux box
> from the widows boxes.
>
> I have configures the server to use php with mysql. However php scripts
are
> not being processed when accessed locally or from the windows machine.  I
> followed the instructions given in the pc-world minibook and have added
the
> line:
> AddType application/x-httpd-php .php to the apache config file.
>
> The install process added the lines for the php-4 i.e.
>
> LoadModule php4_module  libexec/libphp4.so
> AddModule mod_php4.c
>
> Are there any other changes I need to mae to the conf file to get php
> working?
>
>
>
>
> Regards
>
> Peter Goggin
> ----- Original Message -----
> From: "Chris Taylor" <chris@x-bb.org>
> To: <users@httpd.apache.org>
> Sent: Sunday, September 01, 2002 11:56 PM
> Subject: Re: [users@httpd] Setting up apache
>
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > The easiest way (unless your network is going to expand a lot) is to
> > edit the /etc/hosts files on Linux giving the IP/name pairs so Linux
> > can resolve the Windows machines properly. On the Windows machine,
> > you edit:
> >
> > <windows>\system32\drivers\etc\hosts
> >
> > ......and add the IP/name pair of the Linux machine.
> >
> > That's probably the simplest/easiest way to get it all working.
> >
> > HTH
> >
> > Chris Taylor - The guy with the PS2 WebServer
> > Email: chris@x-bb.org - PGP: http://www.x-bb.org/chris.asc
> >
> > - ----- Original Message -----
> > From: "Peter" <pgoggin@optusnet.com.au>
> > To: <users@httpd.apache.org>
> > Sent: Sunday, September 01, 2002 2:49 PM
> > Subject: Re: [users@httpd] Setting up apache
> >
> >
> > > Thanks for pointing out the error.
> > >
> > > The access using Netscape/internet explorer
> > > are:
> > >
> > > Linux to 10.0.0.2, and 10.0.0.3 succeeds
> > > Linux to peterg2 and petergnt1 fails
> > >
> > > peterg2 to petergnt1 succeeds
> > > peterg2 to 10.0.0.3 succeeds
> > > petergnt1 to 10.0.0.2 succeeds
> > > petergnt1 to peterg2 succeeds
> > >
> > > Neither win box can access either 10.0.0.1 or peterglinux using
> > > browser.
> > >
> > > As far as I know I have not set up a dns server on either of the
> > > win boxes. Where should I set up the server ? on the linux box? If
> > > so how?
> > >
> > > Regards
> > >
> > > Peter Goggin
> > > ----- Original Message -----
> > > From: "Chris Taylor" <chris@x-bb.org>
> > > To: <users@httpd.apache.org>
> > > Sent: Sunday, September 01, 2002 11:23 PM
> > > Subject: Re: [users@httpd] Setting up apache
> > >
> > >
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > Looks like your DNS resolution has failed to me. Can you access
> > > > the Linux Apache using:
> > > >
> > > > http://10.0.0.1 ? Also, this bit gave me some trouble:
> > > >
> > > > Netscape on Linux can access 10.0.0.2 and 10.0.0.3
> > > > Netscate on linux to 10.0.0.2 and 10.0.0.3 fails
> > > >
> > > > It looks like you're saying the same thing twice, correct?
> > > >
> > > > Chris Taylor - The guy with the PS2 WebServer
> > > > Email: chris@x-bb.org - PGP: http://www.x-bb.org/chris.asc
> > > >
> > > > - ----- Original Message -----
> > > > From: "Peter" <pgoggin@optusnet.com.au>
> > > > To: <users@httpd.apache.org>
> > > > Sent: Sunday, September 01, 2002 1:29 PM
> > > > Subject: [users@httpd] Setting up apache
> > > >
> > > >
> > > > > I have a small network at home consisting of a win98 machine, a
> > > > > WinNT machine and a Redhat 7.1 linux machine.
> > > > >
> > > > > I have apache web servers running on each.
> > > > >
> > > > > The names and ip addresses of the machines are:
> > > > >
> > > > > peterglinux 10.0.0.1
> > > > > pegerg2 10.0.0.2
> > > > > petergnt1 10.0.0.3
> > > > >
> > > > > I have the following accesses:
> > > > >
> > > > > ping:
> > > > > 10.0.0.1 to 10.0.0.2 and vice versa
> > > > > 10.0.0.1 to 10.0.0.3 and vice versa
> > > > > 10.0.0.2 to 10.0.0.3 and vice versa
> > > > >
> > > > > peterg2 to petergnt1 and vice versa.
> > > > > peterg2 to peterglinux  and vice versa fails
> > > > > petergnt1 to peterglinux and vice versa fails
> > > > >
> > > > > Netscape:
> > > > > Netscape on Linux can access 10.0.0.2 and 10.0.0.3
> > > > > Netscate on linux to 10.0.0.2 and 10.0.0.3 fails
> > > > > Netscape on Linux fails to peterg2 and petergnt1
> > > > >
> > > > > Netscape on peterg2 (win 98) to 10.0.0.3 succeeds
> > > > > Netscape on peterg2 (win 98) to 10.0.0.2 succeeds
> > > > > Netscape on peterg2 (win 98) to petergnt1 succeeds
> > > > > Netscape on peterg2 (win 98) to peterg2 succeeds
> > > > >
> > > > > Can anyone give me an indication of where I should look for the
> > > > > problem which is preventing the Linux apache server being seen
> > > > > by the win boxes?
> > > > >
> > > > > The versions of apache are all 1.3.26.
> > > > >
> > > > >
> > > > > Regards
> > > > >
> > > > > Peter Goggin
> > > > >
> > > > >
> > > > > ---
> > > > > Outgoing mail is certified Virus Free.
> > > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > > Version: 6.0.381 / Virus Database: 214 - Release Date: 2/08/02
> > > > >
> > > > >
> > > > > ----------------------------------------------------------------
> > > > > ---- - The official User-To-User support forum of the Apache
> > > > > HTTP Server Project. See
> > > > > <URL:http://httpd.apache.org/userslist.html> for more info.
> > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > >    "   from the digest:
> > > > > users-digest-unsubscribe@httpd.apache.org For additional
> > > > > commands, e-mail: users-help@httpd.apache.org
> > > >
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: PGPfreeware 7.0.3 for non-commercial use
> > > > <http://www.pgp.com>
> > > >
> > > > iQA/AwUBPXIU6Sqf8lmE2RZkEQL8iQCeNHitvQaD9VbJhWPf4Ywip+g4J8EAoLZB
> > > > zU7EP0Us5GCqAef7ZatR+fSB
> > > > =SlBa
> > > > -----END PGP SIGNATURE-----
> > > >
> > > >
> > > >
> > > > ------------------------------------------------------------------
> > > > --- The official User-To-User support forum of the Apache HTTP
> > > > Server Project. See <URL:http://httpd.apache.org/userslist.html>
> > > > for more info. To unsubscribe, e-mail:
> > > > users-unsubscribe@httpd.apache.org
> > > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > >
> > >
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.381 / Virus Database: 214 - Release Date: 2/08/02
> > >
> > >
> > > --------------------------------------------------------------------
> > > - The official User-To-User support forum of the Apache HTTP Server
> > > Project. See <URL:http://httpd.apache.org/userslist.html> for more
> > > info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
> >
> > iQA/AwUBPXIclCqf8lmE2RZkEQKxSwCfbahrZJ82JDmfhxREeQiQeOU2wDkAoKSx
> > HssK6Hf5PhY5iDF6ZcpDLZTR
> > =xajy
> > -----END PGP SIGNATURE-----
> >
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.381 / Virus Database: 214 - Release Date: 2/08/02
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 2/08/02


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message