perl-Apache-Stage - Manage A Staging Directory

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-Apache-Stage
Package version: 1.20
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 8.07 KB
Download size: 8.07 KB
Official Mirror:
A staging place is a place where an author of an HTML document checks the look and feel of a document before it's uploaded to the final location. A staging place doesn't need to be a separate server, nor need it be a mirror of the "real" tree, and not even a tree of symbolic links. A sparse directory tree that holds nothing but the staged files will do. Apache::Stage implements a staging directory that needs a minimum of space. Per default the path for the per-user staging directory is hardcoded as /STAGE/any-user-name The code cares for proper internal and external redirects for any documents that are not in the stage directory tree. This means that all graphics are displayed as they will be later after the staged files will have been published. The following table describes what has been tested: Location Redirect to Comment /STAGE/u1/ / Homepage. Internal Redirect. /STAGE/u2/dir1 /dir1/ Really /dir1/index.html /STAGE/u3/dir2 /dir2/ Directory has no index.html Options Indexes is off, thus "Forbidden" /STAGE/u4/dir2/foo /dir2/foo Internal redirect. /STAGE/u5/bar - Exists really, no redirect necessary /STAGE/u6 - Fails unless location exists The entries described in SYNOPSIS in the access.conf or an equivalent place define the name of the staging directory, the name of an internal location that catches the exception when a document is not in the staging directory, and the regular expression that transforms the staging URI into the corresponding public URI. With this setup only ErrorDocument 403 and 404 will be served by Apache::Stage. If you need coexistence with different ErrorDocument handlers, you will either have to disable them for /STAGE or integrate the code of Apache::Stage into an if/else branch based on the path.




  • perl(Apache/ = 1.200
  • perl-Apache-Stage = 1.20-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] noarch autoimports
      rpm [Sisyphus] noarch autoimports
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-Apache-Stage rpm package:
      # sudo apt-get install perl-Apache-Stage


    • /usr/share/doc/perl-Apache-Stage-1.20/ChangeLog
    • /usr/share/doc/perl-Apache-Stage-1.20/README
    • /usr/share/perl5/Apache/