summaryrefslogtreecommitdiff
path: root/public_html/.htaccess
blob: 9d13a7111ea681248acadb1878141e4cb532520f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Options FollowSymlinks

RewriteEngine On

RewriteRule ^docs$		/docs/		[R,L]

# refactoring of content without the need for redirect files
RewriteRule ^docs-efl-debug			/contrib/efl-debug.md			[R,L]
RewriteRule ^debugging/enlightenment_debugging	/contrib/enlightenment_debug.md	[R,L]
RewriteRule ^debugging/remote_debugging		/develop/remote_debugging		[R,L]
RewriteRule ^debugging/apps_efl_debugging	/develop/apps_efl_debugging		[R,L]
RewriteRule ^debugging/report_bugs		/contrib/report_bug.md			[R,L]
RewriteRule ^contribute				/contrib/start				[R,L]
RewriteRule ^contact/arcanist	/contrib/patching	[R,L]

RewriteRule ^docs/efl/ecore_idlers			/develop/efl/ecore_idlers			[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilters		/develop/efl/advanced/eflgfxfilters		[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/colors	/develop/efl/advanced/eflgfxfilter/colors	[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/curve	/develop/efl/advanced/eflgfxfilter/curve	[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/blend	/develop/efl/advanced/eflgfxfilter/blend	[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/buffer	/develop/efl/advanced/eflgfxfilter/buffer	[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/fill	/develop/efl/advanced/eflgfxfilter/fill		[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/mask	/develop/efl/advanced/eflgfxfilter/mask		[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/blur	/develop/efl/advanced/eflgfxfilter/blur		[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/fillmodes	/develop/efl/advanced/eflgfxfilter/fillmodes	[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/padding	/develop/efl/advanced/eflgfxfilter/padding	[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/grow	/develop/efl/advanced/eflgfxfilter/grow		[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/displace	/develop/efl/advanced/eflgfxfilter/displace	[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/state	/develop/efl/advanced/eflgfxfilter/state	[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/bump	/develop/efl/advanced/eflgfxfilter/bump		[R,L]
RewriteRule ^docs/efl/advanced/eflgfxfilter/transform	/develop/efl/advanced/eflgfxfilter/transform	[R,L]
RewriteRule ^docs/efl/advanced/dnd			/develop/efl/advanced/dnd			[R,L]
RewriteRule ^docs/efl/advanced/start			/develop/efl/advanced/start			[R,L]
RewriteRule ^docs/efl/mainloop				/develop/efl/mainloop				[R,L]
RewriteRule ^docs/efl/start				/develop/efl/start				[R,L]

RewriteRule ^docs-efl-start		/docs/distros/start		[R,L]
RewriteRule ^distros/yocto-start	/docs/distros/yocto-start	[R,L]
RewriteRule ^distros/freebsd-start	/docs/distros/freebsd-start	[R,L]
RewriteRule ^distros/osx-start		/docs/distros/osx-start		[R,L]
RewriteRule ^distros/opensuse-start	/docs/distros/opensuse-start	[R,L]
RewriteRule ^distros/ubuntu-start	/docs/distros/ubuntu-start	[R,L]
RewriteRule ^distros/archlinux-start	/docs/distros/archlinux-start	[R,L]
RewriteRule ^distros/debian-start	/docs/distros/debian-start	[R,L]
RewriteRule ^distros/fedora-start	/docs/distros/fedora-start	[R,L]

RewriteRule ^docs/efl/auto/reference 	/develop/api/			[R,L]

RewriteRule ^docs/efl/auto/(.*)$ 	/develop/api/$1			[R,L]

RewriteRule ^api/javascript/(.*)$ 	/develop/legacy/api/javascript/$1	[R,L]
RewriteRule ^api/javascript		/develop/legacy/api/javascript/start	[R,L]

RewriteRule ^samples/elm_min_size_control	/develop/legacy/samples/elm_min_size_control	[R,L]
RewriteRule ^tutorials/(.*)$ 		/develop/legacy/tutorials/$1		[R,L]
RewriteRule ^program_guide/(.*)$ 	/develop/legacy/program_guide/$1	[R,L]

RewriteRule ^themes/(.*)$		/docs/themes/$1		[R,L]
#end refactoring rules

RewriteCond %{HTTP_HOST} =enlightenment.org [NC]
RewriteRule (.*) https://www.enlightenment.org/$1 [R=301,L]

RewriteCond %{REQUEST_URI} ^/p.php
RewriteRule .* https://www.enlightenment.org [R=301,L]

RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1 [QSA,L]
RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1 [QSA,L]
RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2 [QSA,L]
RewriteRule ^$                        doku.php  [L]
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{REQUEST_FILENAME}       !-d
RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
RewriteRule ^index.php$               doku.php

AddType application/webm  webm
AddType video/webm        webm
AddType application/ogg   ogv
AddType video/ogg         ogv
AddType application/mp4   mp4
AddType video/mp4         mp4

php_flag session.use_cookies on

php_value post_max_size 32M
php_value upload_max_filesize 32M