From 38c9df8e97311bdd960e555ee7dbc4beed0d2e96 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 14 Nov 2013 11:46:49 +0100 Subject: Add public_html directory to be used as document root or alias directory for Roundcube installations. This will only expose the required resources to public access --- public_html/.htaccess | 1 + public_html/index.php | 27 +++++++++++++++++++++++++++ public_html/plugins | 1 + public_html/program/js | 1 + public_html/program/resources | 1 + public_html/robots.txt | 1 + public_html/skins | 1 + 7 files changed, 33 insertions(+) create mode 120000 public_html/.htaccess create mode 100644 public_html/index.php create mode 120000 public_html/plugins create mode 120000 public_html/program/js create mode 120000 public_html/program/resources create mode 120000 public_html/robots.txt create mode 120000 public_html/skins (limited to 'public_html') diff --git a/public_html/.htaccess b/public_html/.htaccess new file mode 120000 index 000000000..94546dc49 --- /dev/null +++ b/public_html/.htaccess @@ -0,0 +1 @@ +../.htaccess \ No newline at end of file diff --git a/public_html/index.php b/public_html/index.php new file mode 100644 index 000000000..cec0dca07 --- /dev/null +++ b/public_html/index.php @@ -0,0 +1,27 @@ + | + | Author: Aleksander Machniak | + +-----------------------------------------------------------------------+ +*/ + +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/'); + +// include index.php from application root directory +include INSTALL_PATH . 'index.php'; + diff --git a/public_html/plugins b/public_html/plugins new file mode 120000 index 000000000..7655edcc0 --- /dev/null +++ b/public_html/plugins @@ -0,0 +1 @@ +../plugins \ No newline at end of file diff --git a/public_html/program/js b/public_html/program/js new file mode 120000 index 000000000..2c7564380 --- /dev/null +++ b/public_html/program/js @@ -0,0 +1 @@ +../../program/js \ No newline at end of file diff --git a/public_html/program/resources b/public_html/program/resources new file mode 120000 index 000000000..a1164a03c --- /dev/null +++ b/public_html/program/resources @@ -0,0 +1 @@ +../../program/resources \ No newline at end of file diff --git a/public_html/robots.txt b/public_html/robots.txt new file mode 120000 index 000000000..123b16649 --- /dev/null +++ b/public_html/robots.txt @@ -0,0 +1 @@ +../robots.txt \ No newline at end of file diff --git a/public_html/skins b/public_html/skins new file mode 120000 index 000000000..249223789 --- /dev/null +++ b/public_html/skins @@ -0,0 +1 @@ +../skins \ No newline at end of file -- cgit v1.2.3