]>
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 | ||
df8697a0 | 33 | - webserver(access) |
f75bebf2 ER |
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 | |
459c4f00 | 37 | apache2.4: mod_authz_host which pulls mod_authz_core |
f75bebf2 | 38 | |
df8697a0 | 39 | - webserver(alias) |
f75bebf2 ER |
40 | module that provides possibility to map local paths to url aliases |
41 | apache1/apache2.x/lighttpd: mod_alias | |
42 | ||
df8697a0 | 43 | - webserver(auth) |
f75bebf2 ER |
44 | module that provides way to restrict access by password |
45 | apache1/apache2.x/lighttpd: mod_auth | |
46 | ||
47 | - webserver(indexfile) | |
48 | module that provides way to handle "directory" urls (urls ending with slash) | |
49 | apache1/apache2.x: mod_dir | |
50 | lighttpd: mod_indexfile | |
df8697a0 ER |
51 | |
52 | - webserver(cgi) | |
53 | module that provides way CGI interface | |
54 | apache1/apache2.x/lighttpd: mod_cgi | |
d4788d20 ER |
55 | |
56 | - webserver(setenv) | |
57 | passing of environments to CGI scripts | |
58 | apache1/apache2.x: mod_env | |
59 | lighttpd: mod_setenv | |
60 | ||
69f1d367 ER |
61 | - webserver(expires) |
62 | Controls the setting of the the Expire response header. | |
63 | apache1/apache2.x: mod_expires | |
64 | lighttpd: mod_expire | |
65 | ||
d4788d20 ER |
66 | - webserver(php) |
67 | running PHP engine | |
68 | apache1/apache2.x: mod_php4, mod_php | |
69 | lighttpd: php4-fcgi, php-fcgi, mod_cgi_php | |
acb14b15 ER |
70 | |
71 | - webserver(mime) | |
72 | module that provides way to handle serve static content with Content-Type header depending of file extension | |
73 | apache1/apache2.x: mod_mime | |
74 | lighttpd: core itself |