Subversion Repositories Tewi

Rev

Rev 176 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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