[X-Unix] Apache & ifconfig - success!
Pedro fp
lists at pedro.Net.au
Wed Oct 20 21:02:59 PDT 2004
G'day Folks
On 19/10/2004, at 8:42 PM, Eugene wrote:
> On Tue, Oct 19, 2004 at 06:44:30PM +1000, Pedro fp wrote:
> :
> : I've got it all working, 32 virtual servers!
>
> congrats!
Thanks. Given my experience in these things I think it's something of
an achievement.
> : Now I just have a bit of a problem with a couple where when I visit
> : them in my browser it downloads the home page to my downloads folder
> : rather than loading it in my browser ... hmmmm. Any clues as to what
> : might cause that?
>
> the Content-Type being sent in the HTTP headers might be incorrect.
> are you viewing static content or dynamically-created content? what
> is the filename extension?
Mostly .php with one exception being .html file.
On 20/10/2004, at 10:40 AM, Eric Crist wrote:
> What directories (full path, please). Apache looks in some
> directories and handles them in a special way.
One, the test copy of my personal site is ...
/Volumes/RMS/pedroNet/pedro
All my web projects are in sub-folders of /Volumes/RMS/pedroNet and all
my virtual servers point in there except for the one serving the Apache
documentation which points to the folder where Mac OS X keeps that.
Having explained that I now have it working. I put a line ...
DirectoryIndex index.html index.php
inside each VirtualHost directive block & that got it working. I don't
understand why as this line is already in the <IfModule mod_php4.c>
directive block & the php sites were working fine when I had it all on
127.0.0.1.
Thanx for all &
Cheers, Pedro :-)
Web: <http://www.pedro.net.au> PGP Key ID: 387CD96F
Instant messaging... AIM: bandidoOfOz ICQ: 27671678 Jabber: pedrofp
MSN: mail at pedro.net.au Yahoo: pedro_fp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Good actions ennoble us, and we are the sons of our own deeds."
Miguel de Cervantes
More information about the X-Unix
mailing list