openshift/origin-server — pull request #4812 by jhadvig (2014-02-24 17:33:23+00:00)
Title: Perl - Template layout changes + Document Root

New Perl template layout:
* -index.pl
* -public/
* -.openshift/
* - action_hooks/
* - markers/
* - cpan.txt
* - README.md

Getting rid of `/perl` folder in the template so the source code can be stored in the root of the repository. Also added a backward compatibility with older Perl applications with have the `/perl` folder. Also removed `/misc` and `/libs` folder from the template.

Due to the backware compatibility with older Perl apps the ERB template for apache config has been moved to `usr/etc/conf.d/openshift.conf.erb`, so the `DocumentRoot` will be set for the actual application root folder and will be regenerated upon each start/restart of the application.

deplist.txt is now obsotete and replaced with `cpan.txt` in `/.openshift` folder.

Based on trello card:
https://trello.com/c/XdJdVHU9/138-8-python-perl-php-simplify-template-directory-layout-implementation