Difference between revisions of "Web application package guidelines"

From ArchWiki
Jump to: navigation, search
(Created page with 'This page describes how to package web application which tends to install into /srv/http. (For example packages written in php)')
 
Line 1: Line 1:
 +
==Introduction==
 +
 
This page describes how to package web application which tends to install into /srv/http. (For example packages written in php)
 
This page describes how to package web application which tends to install into /srv/http. (For example packages written in php)
 +
 +
==Directory structure==
 +
* /etc/webapps/$pkgname
 +
* /etc/webapps/$pkgname/apache.example.conf
 +
* /etc/webapps/$pkgname/nginx.example.conf
 +
* /etc/webapps/$pkgname/other-web-server.example.conf
 +
* /usr/share/webapps/$pkgname
 +
* /var/... (according to generic FHS conventions)
 +
 +
/var and /etc/ files and/or directories should be symlinked into /usr/share/webapps/$pkgname.
 +
 +
/etc/webapps/$pkgname/ should contain some examples which helps to setup web-server to run this web application.

Revision as of 11:00, 5 October 2009

Introduction

This page describes how to package web application which tends to install into /srv/http. (For example packages written in php)

Directory structure

  • /etc/webapps/$pkgname
  • /etc/webapps/$pkgname/apache.example.conf
  • /etc/webapps/$pkgname/nginx.example.conf
  • /etc/webapps/$pkgname/other-web-server.example.conf
  • /usr/share/webapps/$pkgname
  • /var/... (according to generic FHS conventions)

/var and /etc/ files and/or directories should be symlinked into /usr/share/webapps/$pkgname.

/etc/webapps/$pkgname/ should contain some examples which helps to setup web-server to run this web application.