| | |
| | | AddHandler fcgid-script .php .php3 .php4 .php5 |
| | | FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php |
| | | Options +ExecCGI |
| | | AllowOverride None |
| | | AllowOverride all |
| | | Order allow,deny |
| | | Allow from all |
| | | </Directory> |
| | |
| | | php_admin_value session.save_path <tmpl_var name='document_root'>/tmp |
| | | #php_admin_value open_basedir <tmpl_var name='document_root'>:/usr/share/php5 |
| | | </tmpl_if> |
| | | <tmpl_var name='apache_directives'> |
| | | |
| | | <tmpl_var name='apache_directives'> |
| | | </VirtualHost> |
| | | |
| | | |
| | |
| | | # php as cgi enabled |
| | | AddType application/x-httpd-php .php .php3 .php4 .php5 |
| | | </tmpl_if> |
| | | |
| | | <tmpl_if name='php' op='==' value='fast-cgi'> |
| | | # php as fast-cgi enabled |
| | | <Directory {tmpl_var name='web_document_root_www'}> |
| | | AddHandler fcgid-script .php .php3 .php4 .php5 |
| | | FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php |
| | | Options +ExecCGI |
| | | AllowOverride all |
| | | Order allow,deny |
| | | Allow from all |
| | | </Directory> |
| | | </tmpl_if> |
| | | <tmpl_if name="rewrite_enabled"> |
| | | |
| | | RewriteEngine on |
| | |
| | | #php_admin_value open_basedir <tmpl_var name='document_root'>:/usr/share/php5 |
| | | </tmpl_if> |
| | | |
| | | <tmpl_var name='apache_directives'> |
| | | |
| | | <tmpl_var name='apache_directives'> |
| | | </VirtualHost> |
| | | </IfModule> |
| | | |