« Previous | Next » 

Revision 2ba78fa6

ID2ba78fa66b75109a159faf04ba376666f2073a1c

Added by Robert Lemke over 7 years ago

Revert "[TASK] Resources are published with relative symlinks"

This reverts commit 6d206c1d35324f26e8780fdad80fed466bc9f4e1
(also known as I2e84cd8f9abd41578a87791813d03e764528feb9)

In a real-world Surf setup, this patch will cause invalid relative
paths in the generated symbolic links.

For example:

The current release is in
/var/www/acme.com/releases/current

which would have a realpath() of
/var/www/acme.com/releases/201403060101

A published resource symlink would incorrectly point to
../../../releases/20140306210347/Data/Persistent/Resources/abcdef1234

The correct path would be
../../../Data/Persistent/Resources/abcdef1234

Since there are more variations to consider (virtual host root path
contains a symlink to releases/current/Web/_Resources or not)
this can't be solved last minute and needs thorough testing.

Change-Id: Icebfbd2d495c2585b2dca6a439a49b510576c3fb
Releases: master, 2.2

  • added
  • modified
  • copied
  • renamed
  • deleted