Feature #3990

Allow arbitrary names and locations for "Web" directory

Added by Robert Lemke almost 12 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Core
Start date:
2009-07-27
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

Currently the public directory must be called "Web" and reside on directory below FLOW3's root directory.

More specifically the bash script requires the directory to be called "Web" because it calls ./Web/index.php. Other parts of FLOW3 seem not to rely on the name because it is not hardcoded.

What's fixed though is the fact that the bootstrap must be accessible via ../Packages/Framework/FLOW3/Scripts/FLOW3.php. Even if the require statement in the index.php script would be adjusted to another structure, the bootstrap would still rely on this relative path.

Unfortunately this doesn't match the reality at most hosters. The following structure (and others) must equally be possible:

/var/www/foo/bar/
   myApp/
      Configuration/
      Data/
      Packages/
         Framework/
            FLOW3/
          ...
   log/
   tmp/
   htdocs/
      Resources/
          Packages/
             ...
      .htaccess
      index.php

So: Make sure that FLOW3 works with arbitrary names for the Web directory and arbitrary relative paths between Web and the FLOW3.php script.

#1

Updated by Robert Lemke almost 12 years ago

  • Subject changed from Allow arbitrary names and locatinos for "Web" directory to Allow arbitrary names and locations for "Web" directory
#2

Updated by Robert Lemke almost 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2956.

Also available in: Atom PDF