[prev in list] [next in list] [prev in thread] [next in thread]
List: debian-user
Subject: Re: Apache2 and PHP
From: Micha Feigin <michf () post ! tau ! ac ! il>
Date: 2004-09-24 10:42:47
Message-ID: 20040924104247.GE9014 () luna ! mooo ! com
[Download RAW message or body]
On Thu, Sep 23, 2004 at 06:48:54PM -0400, JoeHill wrote:
> On Thu, 23 Sep 2004 18:23:46 -0400
> JoeHill disseminated the following:
>
> > > Did you perform the 'a2enmod php4' to enable PHP4 module support
> > > on Apache2? If you did there should be the php4.conf and php4.load
> > > symlinks under /etc/apache2/mod-enabled/. I have no problems with
> > > Apache2 and PHP4 on my machine at home. I have libapache2-mod-php4 along
> > > with php4 and the php4-<mod> packages I use locally.
> >
> > Sorry, it turns out it's just a perms prob. I had to to do a chmod +rx. The
> > PHP is working as it should now, such as it is.
>
> Only prob is, it shows the directory where the site is kept (?), instead of
> treating it as the 'root' of the webserver.
>
> ie. when I load www.freeyourmachine.org from the Internet or LAN, shows
> 'www.freeyourmachine.org/apache2-default/' in the address field.
>
> I have a feeling I'm doing something terribly wrong.
>
I believe you need to have something like the following for your
virtual host:
DocumentRoot /var/www/apache2-default/
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
</Directory>
> --
> JoeHill RLU #282046 / www.freeyourmachine.org
> 18:46:35 up 50 days, 18:33, 7 users, load average: 1.76, 1.43, 1.36
> +++++++++++++++++++++++++++
> "I believe what I said yesterday ... I don't know what I said, er, but I know
> what I think, and ... well, I assume it's what I said." -- Donald Rumsfeld
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.
>
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic