Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
ISPConfig
ISPConfig 3
Commits
f6896b42
Commit
f6896b42
authored
Aug 31, 2008
by
tbrehm
Browse files
Changed apache configuration for fastcgi support.
parent
8aeb9f41
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/conf/vhost.conf.master
View file @
f6896b42
...
...
@@ -47,12 +47,16 @@
AddType application/x-httpd-php .php .php3 .php4 .php5
</tmpl_if>
<tmpl_if name='php' op='==' value='fast-cgi'>
# php as fast-cgi enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
ScriptAlias <tmpl_var name='fastcgi_alias'> <tmpl_var name='fastcgi_starter_path'>
# php as fast-cgi enabled
<Directory /var/www/<tmpl_var name='domain'>/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper <tmpl_var name='fastcgi_starter_path'>/<tmpl_var name='fastcgi_starter_script'> .php
Options FollowSymLinks +ExecCGI Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</tmpl_if>
<tmpl_if name="rewrite_enabled">
RewriteEngine on
<tmpl_loop name="redirects">
...
...
server/plugins-available/apache2_plugin.inc.php
View file @
f6896b42
...
...
@@ -432,6 +432,7 @@ class apache2_plugin {
$tpl
->
setVar
(
'fastcgi_alias'
,
$fastcgi_config
[
"fastcgi_alias"
]);
$tpl
->
setVar
(
'fastcgi_starter_path'
,
$fastcgi_starter_path
);
$tpl
->
setVar
(
'fastcgi_starter_script'
,
$fastcgi_config
[
"fastcgi_starter_script"
]);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment