]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
explain people how to setup their installation to get rid of www/ in URLs.
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 8 Feb 2010 07:32:53 +0000 (07:32 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 8 Feb 2010 07:32:53 +0000 (07:32 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@644 b3834d28-1941-0410-a4f8-b48e95affb8f

doc/INSTALL.txt
doc/UPGRADE.txt

index 1c25b2d7422eb4fc7288b6cae0a697575d4334b8..b2dd3b292880e021a4cfb1512710a14f88faacab 100644 (file)
@@ -22,4 +22,46 @@ Installation instructions
    For example, run
    > chmod 0777 cache
    on the shell.
-5. Set the www/ directory as document root in your web server.
+5. Set the www/ directory as document root in your web server,
+   restart the web server.
+
+
+Ugly www directory in URLs
+--------------------------
+In case point 5 of the installation instructions cannot be put into
+practice by you because you are not able to change the web server
+configuration, you are not lost! There is a way to get rid of
+www/ in your URL!
+
+Imagine following directory layout:
+ /home/customer123/
+   www/
+     subdomain1/
+     subdomain2/
+     subdomain3/
+
+Create a SemanticScuttle directory somewhere outside www if possible
+and put all directories except www/ in there. Move all files and
+directories from www/ into your subdomain directory. Then modify
+subdomain/www-header.php to include the correct file path.
+
+The new directory layout should look that way:
+ /home/customer123/
+   semanticscuttle/
+     doc/
+     data/
+     src/
+   www/
+     subdomain1/
+     subdomain2/ (this is the semanticscuttle subdomain)
+       about.php
+       admin.php
+       ..
+       www-header.php
+     subdomain3/
+
+Now open www-header.php and replace
+  require_once '../src/SemanticScuttle/header.php';
+with
+  require_once '../../semanticscuttle/src/SemanticScuttle/header.php';
+
index 3e23640e5de649932fbce415ee8e99d927f0f825..371c30270bdc2b6f42c1bd1d55d9fa8df52795b1 100644 (file)
@@ -10,6 +10,12 @@ API:
 The method signatures of addBookmark() and updateBookmark()
 changed due to the addition of the $short parameter.
 
+We got complaints about the changed file structure, and people told
+us that they just cannot set the document root to www/, because they
+are not admins on their http server. This is a valid point, and
+with 0.96.0 you can easily change it. See INSTALL.txt for more information
+about moving www/.
+
 
 From version 0.94 to 0.95
 --------------------------