Changes between Version 19 and Version 20 of Howto_Install


Ignore:
Timestamp:
Feb 19, 2008 3:48:52 PM (5 years ago)
Author:
riaStudio
Comment:

Added security related installation details. Have seen to much unsafe installs.

Legend:

Unmodified
Added
Removed
Modified
  • Howto_Install

    v19 v20  
    6767Okay, so now we've got everything ready, we can upload our files!!  So use your favorite FTP program and upload everything to your website. 
    6868 
     69 
     70=== Files permission === 
     71 
     72Make sure that the following directories (and the files within) are writable by the webserver : 
     73 * `/temp` 
     74 * `/logs` 
     75 
     76=== Protect your installation === 
     77 
     78Access through your webserver to the following directories should be denied : 
     79 * `/conf` 
     80 * `/temp` 
     81 * `/logs` 
     82 
     83The following Apache access rules will do the job (adapt to your installation) : 
     84 
     85{{{ 
     86<Directory /path/to/roundcube/config/> 
     87    Order allow,deny 
     88    Deny from all 
     89</Directory> 
     90 
     91<Directory /path/to/roundcube/logs/> 
     92    Order allow,deny 
     93    Deny from all 
     94</Directory> 
     95 
     96<Directory /path/to/roundcube/temp/> 
     97    Order allow,deny 
     98    Deny from all 
     99</Directory> 
     100}}} 
     101 
    69102=== Database Setup === 
    70103While we're uploading (or after we're done) we have one final step to do before we can start using Roundcube.  We need to set up our database.  Open your website control panel.  You first need to create a database and user with the information we decided earlier.  Then add that user to the database. Next we execute the SQL file found in the "/SQL/" directory in Roundcube that is named: "*.initial.sql" where * is your database backend type (mySQL, PostgreSQL, SQLite).