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:
> 
> <VirtualHost *>
> Port 80
> AddType application/x-httpd-php .php4 .php3 .phtml .php
> AddType application/x-httpd-php-source .phps
> ServerAdmin [EMAIL PROTECTED]   
> DocumentRoot /home/tcrc/www/forum
> ServerName forum.tcrconline.com
> ErrorLog /home/tcrc/logs/error_log
> CustomLog /home/tcrc/logs/access_log combined
> </VirtualHost>

get rid of the AddType lines in your virtual host definition.  You 
don't need them.  Settings in your main config area will be inherited 
by your virtual host config.

When you change this stuff, don't forget to restart apache for the 
changes to take effect.

CYA, Dave


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to