Browse Source

Improve the webroot .htaccess file and correct a value in the default config file to match the new path to the service.

Quentin Raynaud 14 years ago
parent
commit
cda66417f9
3 changed files with 4 additions and 1 deletions
  1. 2 0
      .hgignore
  2. 1 1
      site/app/config/config.php.default
  3. 1 0
      site/app/webroot/.htaccess

+ 2 - 0
.hgignore

@@ -3,3 +3,5 @@
 ^site/app/webroot/files($|/)
 ^site/app/tmp/
 ^site/app/config/config.php$
+^logs/
+^mod_rewrite/

+ 1 - 1
site/app/config/config.php.default

@@ -106,7 +106,7 @@ define('FILES_HOST', 'http://addons.instantbird.org/files/');
  * File path for storing XPI/JAR files (or any files associated with an add-on).
  * Example: /data/www/app/webroot/files
  */
-define('REPO_PATH', '/www/remora/site/app/webroot/files');
+define('REPO_PATH', '/www/instantbird/addons/site/app/webroot/files');
 
 /**
  * File path for storing public files to be rsynced for updates

+ 1 - 0
site/app/webroot/.htaccess

@@ -1,3 +1,4 @@
+RewriteBase /
 php_value short_open_tag 1
 <IfModule mod_rewrite.c>
     RewriteEngine On