Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
3a4834ee
Commit
3a4834ee
authored
Jan 26, 2009
by
vogelor
Browse files
Fixed problem with suexec, cgi and openbasedir
parent
476a6090
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
3a4834ee
...
...
@@ -569,7 +569,7 @@ class apache2_plugin {
$cgi_tpl
=
new
tpl
();
$cgi_tpl
->
newTemplate
(
"php-cgi-starter.master"
);
$cgi_tpl
->
setVar
(
'open_basedir'
,
$data
[
"new"
][
"do
cument_root
"
]);
$cgi_tpl
->
setVar
(
'open_basedir'
,
"/var/www/"
.
$data
[
"new"
][
"do
main
"
]);
$cgi_tpl
->
setVar
(
'php_cgi_bin'
,
$cgi_config
[
"cgi_bin"
]);
$cgi_starter_script
=
escapeshellcmd
(
$cgi_starter_path
.
$cgi_config
[
"cgi_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