]>
Commit | Line | Data |
---|---|---|
7020eb6f ER |
1 | webapps |
2 | ||
3 | webapps are applications that are designed to run under webserver. | |
514c8766 | 4 | |
7020eb6f ER |
5 | goal of this package is to have web applications work under any webserver |
6 | available in PLD Linux. | |
7 | ||
8 | top directory /etc/webapps | |
514c8766 ER |
9 | |
10 | application configuration | |
11 | this could whatever format application uses, php script, text file, python file. | |
12 | location: /etc/webapps/$webapp | |
13 | ||
14 | configuration for webserver | |
15 | this is configuration file fragment for specific webserver in webserver native | |
16 | config file format. | |
17 | ||
a0af72c3 ER |
18 | location: /etc/webapps/$webapp/$httpd.conf |
19 | where $httpd is: | |
6f7206c5 AG |
20 | - apache for apache 1.x |
21 | - httpd for apache 2.x | |
22 | - lighttpd for lighttpd | |
514c8766 ER |
23 | |
24 | additionally the webserver configuration is linked to webserver config directory | |
25 | which is | |
5ec58d25 ER |
26 | apache 1.x: /etc/apache/webapps.d |
27 | apache 2.x: /etc/httpd/webapps.d | |
28 | lighttpd: /etc/lighttpd/webapps.d | |
f75bebf2 ER |
29 | |
30 | ||
31 | each webserver may provide webserver(feature) virtual. currently used ones are: | |
32 | ||
33 | - webserver(url_access) | |
34 | module that provides possibility restrict/allow access (deny from all) to paths or urls | |
35 | apache1/apache2.0/lighttpd: mod_access | |
36 | apache2.2: mod_authz_host | |
37 | ||
38 | - webserver(url_alias) | |
39 | module that provides possibility to map local paths to url aliases | |
40 | apache1/apache2.x/lighttpd: mod_alias | |
41 | ||
42 | - webserver(authentication) | |
43 | module that provides way to restrict access by password | |
44 | apache1/apache2.x/lighttpd: mod_auth | |
45 | ||
46 | - webserver(indexfile) | |
47 | module that provides way to handle "directory" urls (urls ending with slash) | |
48 | apache1/apache2.x: mod_dir | |
49 | lighttpd: mod_indexfile |