Changes between Version 31 and Version 32 of install


Ignore:
Timestamp:
2012-05-11T23:39:15Z (12 years ago)
Author:
john
Comment:

Add userdir configuration

Legend:

Unmodified
Added
Removed
Modified
  • install

    v31 v32  
    8686}}}
    8787
     88==== Userdir Configuration ====
     89
     90If you're using iPeer on an mod_userdir configuration (e.g.: your site appears at {{{http://domain/~yourname/}}}), some additional configuration is required.
     91
     92Three .htaccess files needs to be edited, adding "{{{RewriteBase /~user/ipeer_install_dir}}}" after "{{{RewriteEngine On}}}". The .htaccess files are located at:
     93
     94* ipeer_install_dir/.htaccess
     95* ipeer_install_dir/app/.htaccess
     96* ipeer_install_dir/app/webroot/.htaccess
     97
     98In this example, iPeer is installed in {{{/home/john/public_html/ipeer/}}} and can be accessed at {{{http://domain/~john/}}}. The three .htaccess files to be edited are located at:
     99
     100* /home/john/public_html/ipeer/.htaccess
     101* /home/john/public_html/ipeer/app/.htaccess
     102* /home/john/public_html/ipeer/app/webroot/.htaccess
     103
     104After editing, each of the .htaccess files will have a {{{RewriteBase}}} directive like this:
     105
     106{{{
     107<IfModule mod_rewrite.c>
     108   RewriteEngine On
     109   RewriteBase /~john/ipeer/
     110   ...
     111</IfModule>
     112}}}
     113
     114===== Troubleshooting =====
     115
     116* Note that the default userdir configuration on Ubuntu has PHP disabled, iPeer requires PHP to be enabled.
     117* You might need to edit the Apache configuration to enable "AllowOverride All" for the user directories.
     118
    88119=== iPeer Installer Wizard ===
    89120Open your favor web browser and type the following URL to start the iPeer installation wizard.