1 |
nishi |
1.1 |
# $Id: example.conf 257 2024-10-04 05:34:27Z nishi $ |
2 |
|
|
# This is an example config |
3 |
|
|
|
4 |
|
|
ServerRoot /home/nishi/SVN/tewi/trunk |
5 |
|
|
|
6 |
|
|
#LoadModule Module/mod_cgi.so |
7 |
|
|
#LoadModule Module/mod_proxy.so |
8 |
|
|
|
9 |
|
|
Listen 8080 |
10 |
|
|
#ListenSSL 443 |
11 |
|
|
|
12 |
|
|
#SSLKey key.pem |
13 |
|
|
#SSLCertificate cert.pem |
14 |
|
|
|
15 |
|
|
MIMEType all application/octet-stream |
16 |
|
|
MIMEFile /etc/mime.types |
17 |
|
|
|
18 |
|
|
Icon all /icons/unknown.png |
19 |
|
|
Icon text/* /icons/text.png |
20 |
|
|
Icon image/* /icons/image.png |
21 |
|
|
Icon misc/dir /icons/folder.png |
22 |
|
|
Icon misc/parent /icons/parent.png |
23 |
|
|
|
24 |
|
|
DirectoryIndex index.html |
25 |
|
|
|
26 |
|
|
ReadmeFile README |
27 |
|
|
|
28 |
|
|
DocumentRoot /var/www/html |
29 |
|
|
|
30 |
|
|
Define test |
31 |
|
|
Undefine test |
32 |
|
|
|
33 |
|
|
BeginIf Defined test |
34 |
|
|
ForceLog "defined" |
35 |
|
|
EndIf |
36 |
|
|
BeginIfNot Defined test |
37 |
|
|
ForceLog "not defined" |
38 |
|
|
EndIf |
39 |
|
|
BeginDirectory / |
40 |
|
|
Allow all |
41 |
|
|
EndDirectory |