tags:

views:

34

answers:

0

Hello,

I'm setting up multiple Virtualhosts directives in a vhost file (httpd.include on this server).

The purpose is to point example.com to realexample.com/folder/fileshere/ but still have it say example.com.. well It does that fine, but php doesn't work on the virtualhost.

It asks me to download the php file, which is obviously not going to work.

PHP works fine on the main domain. This is a RHEL4 box @ mediatemple running php 5.

<VirtualHost ip:80>
  ServerName example.com:80
  ServerAlias www.example.com
  DocumentRoot /var/www/whateverroothere
</Virtualhost>

Any ideas?