summaryrefslogtreecommitdiff
path: root/doc/INSTALL.txt
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-08 07:32:53 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-08 07:32:53 +0000
commit96fe64e393e0956d3f0b9de4afa3971cb1169b26 (patch)
tree0dff8db8d039006893d16fa4b1db73d06d7524a2 /doc/INSTALL.txt
parent6c2fa2f020a76dcf6fda5b776653c6d2958900b7 (diff)
downloadsemanticscuttle-96fe64e393e0956d3f0b9de4afa3971cb1169b26.tar.gz
semanticscuttle-96fe64e393e0956d3f0b9de4afa3971cb1169b26.tar.bz2
explain people how to setup their installation to get rid of www/ in URLs.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@644 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'doc/INSTALL.txt')
-rw-r--r--doc/INSTALL.txt44
1 files changed, 43 insertions, 1 deletions
diff --git a/doc/INSTALL.txt b/doc/INSTALL.txt
index 1c25b2d..b2dd3b2 100644
--- a/doc/INSTALL.txt
+++ b/doc/INSTALL.txt
@@ -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';
+