adding content for .htaccess; important because of include
[cacert-codedocs.git] / source / DIR-www.rst
1 .. index:: WWW
2 .. index:: PHP
3
4 =====================
5 Directory :file:`www`
6 =====================
7
8 This contains the PHP code that is the entry point to the application:
9
10 .. sourcefile:: www/account.php
11
12 .. sourcefile:: www/ac.js
13
14 .. sourcefile:: www/ac.php
15
16 .. sourcefile:: www/advertising.php
17
18 .. sourcefile:: www/alert_hash_collision.php
19
20 .. sourcefile:: www/analyse.php
21
22 .. sourcefile:: www/cap.html.php
23
24 .. sourcefile:: www/capnew.php
25
26 .. sourcefile:: www/cap.php
27
28 .. sourcefile:: www/coap.html.php
29
30 .. sourcefile:: www/coapnew.php
31
32 .. sourcefile:: www/disputes.php
33
34 .. sourcefile:: www/error403.php
35
36 .. sourcefile:: www/error404.php
37
38 .. sourcefile:: www/favicon.ico
39
40 .. sourcefile:: www/gpg.php
41
42 .. sourcefile:: www/help.php
43
44 .. sourcefile:: www/.htaccess
45 :uses:
46 includes/general.php
47 :links:
48 http://www.cacert.org/policy/CertificationPracticeStatement.html
49
50 The file :file:`www/.htaccess` is the file that contains some statements to control the whole process of the website.
51 It contains a general include-statement for including :file:`├Čncludes/general.php` (auto_prepend_file /www/includes/general.php). Therefor a 'include(../includes/general.php) is not needed.
52
53 Also a permanent redirection is made from :file:`/cps.php` to <http://www.cacert.org/policy/CertificationPracticeStatement.html> (RedirectPermanent /cps.php http://www.cacert.org/policy/CertificationPracticeStatement.html).
54
55
56 .. sourcefile:: www/index.php
57 :uses:
58 includes/lib/l10n.php
59 includes/notary.inc.php
60 pages/index/17.php
61 pages/index/20.php
62 includes/general.php-loadem
63 incledes/mysql.php-sendmail
64 includes/general.php-checkpw
65
66 The :file:`index.php` is the main page of the CAcert website. Depending on an id transfered to this module different actions are performed.
67
68 ids
69
70 .. todo:: Check where/when includes/general.php and includes/mysql.php is loaded
71
72
73 .. sourcefile:: www/keygenIE.js
74
75 .. sourcefile:: www/logos.php
76
77 .. sourcefile:: www/news.php
78
79 .. sourcefile:: www/rss.php
80
81 .. sourcefile:: www/sealgen.php
82 :uses:
83 www/images/secured.png
84
85 :file:`sealgen.php` generates a small site seal image from
86 :sourcefile:`www/images/secured.png`. This could be replaced with a static
87 image if it is used at all.
88
89 .. sourcefile:: www/siteimages
90
91 .. sourcefile:: www/sqldump.php
92
93 .. sourcefile:: www/src-lic.php
94
95 .. sourcefile:: www/stats.php
96
97 .. sourcefile:: www/ttp.php
98
99 .. sourcefile:: www/verify.php
100
101 .. sourcefile:: www/wot.php
102
103
104 Directory :file:`www/api`
105 =========================
106
107 .. sourcefile:: www/api/ccsr.php
108
109 .. sourcefile:: www/api/cemails.php
110
111 .. sourcefile:: www/api/edu.php
112
113 .. sourcefile:: www/api/index.php
114
115
116 Directory :file:`www/cats`
117 ==========================
118
119 .. sourcefile:: www/cats/cats_import.php
120
121
122 Directory :file:`www/certs`
123 ===========================
124
125 .. sourcefile:: www/certs/cacert.asc
126
127 .. sourcefile:: www/certs/CAcert_Root_Certificates.msi
128
129 .. sourcefile:: www/certs/class3.crt
130
131 .. sourcefile:: www/certs/class3.der
132
133 .. sourcefile:: www/certs/class3.txt
134
135 .. sourcefile:: www/certs/root.crt
136
137 .. sourcefile:: www/certs/root.der
138
139 .. sourcefile:: www/certs/root.txt
140
141
142 Directory :file:`www/docs`
143 ===========================
144
145 .. sourcefile:: www/docs/banner.jpg
146
147 .. sourcefile:: www/docs/cacert0304.pdf
148
149 .. sourcefile:: www/docs/cacert_display.pdf
150
151 .. sourcefile:: www/docs/cacert_display.sxw
152
153 .. sourcefile:: www/docs/CAcert_Rules.pdf
154
155 .. sourcefile:: www/docs/CAcert_Rules.sxw
156
157 .. sourcefile:: www/docs/encryption in the real world.sxi
158
159 .. sourcefile:: www/docs/flyer.sxw
160
161 .. sourcefile:: www/docs/incorporation.jpg
162
163 .. sourcefile:: www/docs/keys.pdf
164
165 .. sourcefile:: www/docs/keys.ps
166
167
168 Directory :file:`www/iistutorial`
169 =================================
170
171 .. sourcefile:: www/iistutorial/image001.jpg
172
173 .. sourcefile:: www/iistutorial/image002.jpg
174
175 .. sourcefile:: www/iistutorial/image003.gif
176
177 .. sourcefile:: www/iistutorial/image004.gif
178
179 .. sourcefile:: www/iistutorial/image005.gif
180
181 .. sourcefile:: www/iistutorial/image006.gif
182
183 .. sourcefile:: www/iistutorial/image007.gif
184
185 .. sourcefile:: www/iistutorial/image008.gif
186
187 .. sourcefile:: www/iistutorial/image009.gif
188
189 .. sourcefile:: www/iistutorial/image010.gif
190
191 .. sourcefile:: www/iistutorial/image011b.png
192
193 .. sourcefile:: www/iistutorial/image011.jpg
194
195 .. sourcefile:: www/iistutorial/image012.gif
196
197 .. sourcefile:: www/iistutorial/image013.gif
198
199 .. sourcefile:: www/iistutorial/image014.jpg
200
201 .. sourcefile:: www/iistutorial/image015.gif
202
203
204 Directory :file:`www/images`
205 ============================
206
207 .. sourcefile:: www/images/bit.png
208
209 .. sourcefile:: www/images/btn_paynowCC_LG.gif
210
211 .. sourcefile:: www/images/btn_subscribeCC_LG.gif
212
213 .. sourcefile:: www/images/cacert2.png
214
215 .. sourcefile:: www/images/cacert3.png
216
217 .. sourcefile:: www/images/cacert4.png
218
219 .. sourcefile:: www/images/cacert-draft.png
220
221 .. sourcefile:: www/images/CAcert-logo-colour-1000.png
222
223 .. sourcefile:: www/images/CAcert-logo-mono-1000.png
224
225 .. sourcefile:: www/images/cacert-policy.png
226
227 .. sourcefile:: www/images/nlnet.png
228
229 .. sourcefile:: www/images/oan.png
230
231 .. sourcefile:: www/images/payment2a.png
232
233 .. sourcefile:: www/images/payment2.png
234
235 .. sourcefile:: www/images/secured.png
236
237 .. sourcefile:: www/images/sonance.png
238
239 .. sourcefile:: www/images/tunix.png
240
241 .. sourcefile:: www/images/valid-xhtml11-blue
242
243
244 Directory :file:`www/logos`
245 ===========================
246
247 .. sourcefile:: www/logos/animated.gif
248
249 .. sourcefile:: www/logos/cacert1.png
250
251 .. sourcefile:: www/logos/cacert-free-certificates2.png
252
253 .. sourcefile:: www/logos/cacert-free-certificates3.png
254
255 .. sourcefile:: www/logos/cacert-free-certificates4.png
256
257 .. sourcefile:: www/logos/cacert-grey2.png
258
259 .. sourcefile:: www/logos/cacert-grey.png
260
261 .. sourcefile:: www/logos/CAcert-logo-colour-1000.png
262
263 .. sourcefile:: www/logos/CAcert-logo-colour.eps
264
265 .. sourcefile:: www/logos/CAcert-logo-mono-1000.png
266
267 .. sourcefile:: www/logos/CAcert-logo-mono.eps
268
269 .. sourcefile:: www/logos/cacert-secured3.png
270
271 .. sourcefile:: www/logos/cacert-secured4.png
272
273 .. sourcefile:: www/logos/cacert-secured5.png
274
275 .. sourcefile:: www/logos/cacert-secured7.png
276
277 .. sourcefile:: www/logos/cacert-secure-site2.png
278
279 .. sourcefile:: www/logos/cacert-secure-site.png
280
281 .. sourcefile:: www/logos/small-ssl-secured-site.png
282
283 .. sourcefile:: www/logos/small-ssl-security.png
284
285
286 Directory :file:`www/policy`
287 ============================
288
289 .. sourcefile:: www/policy/AssurancePolicy.html
290
291 .. sourcefile:: www/policy/AssurancePolicy.php
292
293 .. sourcefile:: www/policy/CAcertCommunityAgreement.html
294
295 .. sourcefile:: www/policy/CAcertCommunityAgreement.php
296
297 .. sourcefile:: www/policy/CertificationPracticeStatement.html
298
299 .. sourcefile:: www/policy/CertificationPracticeStatement.php
300
301 .. sourcefile:: www/policy/ConfigurationControlSpecification.html
302
303 .. sourcefile:: www/policy/DisputeResolutionPolicy.html
304
305 .. sourcefile:: www/policy/DisputeResolutionPolicy.php
306
307 .. sourcefile:: www/policy/images
308
309 .. sourcefile:: www/policy/index.php
310
311 .. sourcefile:: www/policy/NRPDisclaimerAndLicence.php
312
313 .. sourcefile:: www/policy/OrganisationAssurancePolicy_Australia.html
314
315 .. sourcefile:: www/policy/OrganisationAssurancePolicy_Europe.html
316
317 .. sourcefile:: www/policy/OrganisationAssurancePolicy_Germany.html
318
319 .. sourcefile:: www/policy/OrganisationAssurancePolicy.html
320
321 .. sourcefile:: www/policy/OrganisationAssurancePolicy.php
322
323 .. sourcefile:: www/policy/PolicyOnJuniorAssurersMembers.html
324
325 .. sourcefile:: www/policy/PolicyOnPolicy.html
326
327 .. sourcefile:: www/policy/PolicyOnPolicy.php
328
329 .. sourcefile:: www/policy/PrivacyPolicy.html
330
331 .. sourcefile:: www/policy/PrivacyPolicy.php
332
333 .. sourcefile:: www/policy/RootDistributionLicense.html
334
335 .. sourcefile:: www/policy/RootDistributionLicense.php
336
337 .. sourcefile:: www/policy/SecurityPolicy.html
338
339 .. sourcefile:: www/policy/TTPAssistedAssurancePolicy.html
340
341
342 Directory :file:`www/siteimages`
343 ================================
344
345 .. sourcefile:: www/siteimages/bg_grad.jpg
346
347 .. sourcefile:: www/siteimages/bg_nav.jpg
348
349 .. sourcefile:: www/siteimages/gblnav_left.gif
350
351 .. sourcefile:: www/siteimages/glblnav_selected.gif
352
353 .. sourcefile:: www/siteimages/glbnav_background.gif
354
355 .. sourcefile:: www/siteimages/glbnav_right.gif
356
357 .. sourcefile:: www/siteimages/tl_curve_white.gif
358
359 .. sourcefile:: www/siteimages/tr_curve_white.gif
360
361
362 Directory :file:`www/styles`
363 ============================
364
365 .. sourcefile:: www/styles/default.css
366
367
368 Directory :file:`www/tverify`
369 =============================
370
371 .. sourcefile:: www/tverify/seclayer.php
372
373
374 Directory :file:`www/utf8_to_ascii`
375 ===================================
376
377 .. sourcefile:: www/utf8_to_ascii/ChangeLog
378
379 .. sourcefile:: www/utf8_to_ascii/LICENSE
380
381 .. sourcefile:: www/utf8_to_ascii/README
382
383 .. sourcefile:: www/utf8_to_ascii/utf8_to_ascii.php
384
385 .. _www-utf8_to_ascii-db:
386 .. index:: utf8-to-ascii; database
387
388 Directory :file:`www/utf8_to_ascii/db`
389 ======================================
390
391 This Directory contains files :file:`x00.php` to :file:`xFF.php` in which an
392 array is built to convert the symbols from UTF8-coding to ASCII-coding.