Jump to content


Apache 2.0.43, Php-4.3.0 and virtualhosts

  • Please log in to reply
No replies to this topic

#1 kli

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 08 January 2003 - 01:00 AM

Hi there,

Just trying to convert my webserver from apache 1.3.27 to 2.0.43, but I ran in to some problems, hope somebody has an idea.

In apache 1.3.27 you are able to do the following:

ServerAdmin you@your.domain
DocumentRoot /path/to/web/
ServerName web.your.domain
AddType application/x-httpd-php .htm .php .php3
php_value auto_prepend_file \"/path/to/files/prepend.inc\"
php_value auto_append_file \"/path/to/files/append.inc\"

I have tried to put this in the 2.0.43 httpd.conf file, but it has no effect.
It works if I put the Addtype in the global configuration.

The reason for me to want to do it like this is that I want to be able to swich php on/off for the different domains running on the server, controlled by <virtualhost> or has this changed now ?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users