RE: [PHP] Re: NameVirtualHost breaks PHP

2002-04-28 Thread David Freeman
On 28 Apr 2002 at 16:11, Greg Blakely wrote: > > Can you indicate Apache settings regarding php and virtualhosts? > > In the "main" server configuration area, I have: [etc] > ### and then, under the "VirtualHost" area, I have: > > > Port 80 > AddType application/x-httpd-php .php4 .php3 .phtm

Re: [PHP] Re: NameVirtualHost breaks PHP

2002-04-28 Thread Yuri Petro
You need to specify IP address in NameVirtualHost directive: NameVirtualHost 127.0.0.1 DocumentRoot /home/tcrc/www/forum ServerName forum.tcrconline.com ErrorLog /home/tcrc/logs/error_log CustomLog /home/tcrc/logs/access_log combined -- Kind regards, Yuri. www.AceHoster.com

RE: [PHP] Re: NameVirtualHost breaks PHP

2002-04-28 Thread Greg Blakely
Yuri Petro asked: > Can you indicate Apache settings regarding php and virtualhosts? In the "main" server configuration area, I have: # The following is for PHP4 (conficts with PHP/FI, below): AddType application/x-httpd-php .php4 .php3 .phtml .php AddType application/x-httpd-php-source