Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lolo888
ISPConfig 3
Commits
cd568a72
Commit
cd568a72
authored
Aug 09, 2010
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: FS#1277 - Empty server/conf/index/.htaccess
parent
f8d8a4ed
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
server/conf/index/.htaccess
server/conf/index/.htaccess
+0
-0
server/conf/index/favicon.ico
server/conf/index/favicon.ico
+0
-0
server/conf/index/robots.txt
server/conf/index/robots.txt
+0
-2
server/plugins-available/apache2_plugin.inc.php
server/plugins-available/apache2_plugin.inc.php
+3
-3
No files found.
server/conf/index/.htaccess
deleted
100644 → 0
View file @
f8d8a4ed
server/conf/index/favicon.ico
deleted
100644 → 0
View file @
f8d8a4ed
1.37 KB
server/conf/index/robots.txt
deleted
100644 → 0
View file @
f8d8a4ed
User-agent: *
Disallow: /stats/
server/plugins-available/apache2_plugin.inc.php
View file @
cd568a72
...
...
@@ -415,9 +415,9 @@ class apache2_plugin {
}
else
{
exec
(
"cp /usr/local/ispconfig/server/conf/index/standard_index.html_"
.
substr
(
escapeshellcmd
(
$conf
[
"language"
]),
0
,
2
)
.
" "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
])
.
"/web/index.html"
);
exec
(
"cp /usr/local/ispconfig/server/conf/index/favicon.ico "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
])
.
"/web/"
);
exec
(
"cp /usr/local/ispconfig/server/conf/index/robots.txt "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
])
.
"/web/"
);
exec
(
"cp /usr/local/ispconfig/server/conf/index/.htaccess "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
])
.
"/web/"
);
if
(
is_file
(
'/usr/local/ispconfig/server/conf/index/favicon.ico'
))
exec
(
"cp /usr/local/ispconfig/server/conf/index/favicon.ico "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
])
.
"/web/"
);
if
(
is_file
(
'/usr/local/ispconfig/server/conf/index/robots.txt'
))
exec
(
"cp /usr/local/ispconfig/server/conf/index/robots.txt "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
])
.
"/web/"
);
if
(
is_file
(
'/usr/local/ispconfig/server/conf/index/.htaccess'
))
exec
(
"cp /usr/local/ispconfig/server/conf/index/.htaccess "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
])
.
"/web/"
);
}
}
exec
(
"chmod -R a+r "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
])
.
"/web/"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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