osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] 403 error upon upgrade


/etc/apache2/conf.d/php5.conf is as follows:

<IfModule mod_php5.c>
       <FilesMatch "\.ph(p[345]?|tml)$">
           SetHandler application/x-httpd-php
       </FilesMatch>
       <FilesMatch "\.php[345]?s$">
           SetHandler application/x-httpd-php-source
       </FilesMatch>
        DirectoryIndex index.php4
        DirectoryIndex index.php5
        DirectoryIndex index.php
</IfModule>

Why this doesn't work is a mystery to me. Especially since it is included as part of the vhosts.conf file. Should I put the 'Include /etc/apache2/conf.d/*.conf' directive earlier in the conf file? Does the order make a difference?

BTW, if I copy the current index.php file on site1 to index.html the latter displays without the ssl decorations. However, the site still won't display any php files.