Thomas Bruederli
2013-11-14 38c9df8e97311bdd960e555ee7dbc4beed0d2e96
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
7 files added
33 ■■■■■ changed files
public_html/.htaccess 1 ●●●● patch | view | raw | blame | history
public_html/index.php 27 ●●●●● patch | view | raw | blame | history
public_html/plugins 1 ●●●● patch | view | raw | blame | history
public_html/program/js 1 ●●●● patch | view | raw | blame | history
public_html/program/resources 1 ●●●● patch | view | raw | blame | history
public_html/robots.txt 1 ●●●● patch | view | raw | blame | history
public_html/skins 1 ●●●● patch | view | raw | blame | history
public_html/.htaccess
New file
@@ -0,0 +1 @@
../.htaccess
public_html/index.php
New file
@@ -0,0 +1,27 @@
<?php
/*
 +-----------------------------------------------------------------------+
 | Roundcube Webmail IMAP Client                                         |
 | Version 1.0-git                                                       |
 |                                                                       |
 | Copyright (C) 2005-2013, The Roundcube Dev Team                       |
 |                                                                       |
 | Licensed under the GNU General Public License version 3 or            |
 | any later version with exceptions for skins & plugins.                |
 | See the README file for a full license statement.                     |
 |                                                                       |
 | PURPOSE:                                                              |
 |   This is the public entry point for all HTTP requests to the         |
 |   Roundcue webmail application.                                       |
 +-----------------------------------------------------------------------+
 | Author: Thomas Bruederli <roundcube@gmail.com>                        |
 | Author: Aleksander Machniak <alec@alec.pl>                            |
 +-----------------------------------------------------------------------+
*/
define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/');
// include index.php from application root directory
include INSTALL_PATH . 'index.php';
public_html/plugins
New file
@@ -0,0 +1 @@
../plugins
public_html/program/js
New file
@@ -0,0 +1 @@
../../program/js
public_html/program/resources
New file
@@ -0,0 +1 @@
../../program/resources
public_html/robots.txt
New file
@@ -0,0 +1 @@
../robots.txt
public_html/skins
New file
@@ -0,0 +1 @@
../skins