I've got a system installed with snv_75 with the Apache2 it came with.  I've 
got php 5.2.6-dev built and working just fine on the global zone.

In my local zone, it works and serves php files properly in the default host, 
but I've got a virtualhost which insists on not passing it through to php5 and 
instead serving the .php file itself as application/x-httpd-php5 which prompts 
my browsers (Firefox, Safari & even wget) to save it.

Anyone have any idea what could be wrong?  I've got the LoadModule/AddType etc. 
all configured correctly (afaict, and I believe it's working since the default 
host serves .php files properly).  My vhost doesn't do anything special:

<VirtualHost **myip**:80>
        ServerAdmin **myemail**
        DocumentRoot /export/home/rpns_users/website
        ServerName **servername**
        ErrorLog /export/home/rpns_admin/website_logs/error_log
        CustomLog /export/home/rpns_admin/website_logs/access_log common
        <Directory "/export/home/rpns_admin/cgi-bin">
            AllowOverride None
            Options None
            Order allow,deny
            Allow from all
        </Directory>

        <Directory "/export/home/rpns_users/website">
                AllowOverride Options FileInfo AuthConfig Limit
                Options Indexes FollowSymLinks
                Order allow,deny
                Allow from all
        </Directory>
        ScriptAlias /cgi-bin/   /export/home/rpns_admin/cgi-bin/
</VirtualHost>

I don't see anything here that would be causing php5 to not work in my vhost - 
am I going nuts?

cheers,
steve
This message posted from opensolaris.org


Reply via email to