-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.htaccess
129 lines (88 loc) · 2.88 KB
/
.htaccess
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0
# enable PHP error logging
php_flag log_errors on
php_value error_log ../logs/php_errors.log
# prevent access to PHP error log
<Files PHP_errors.log>
Order allow,deny
Deny from all
Satisfy All
</Files>
RewriteEngine On
RewriteRule ^doc(\.html)?(.*) doc.html$2
RewriteRule ^attribution(\.html)?(.*) attribution.html$2
RewriteRule ^error(\.php) error.php
Redirect /github https://github.com/CristianCantoro/placepuppy
RewriteRule ^([\d].*) code.php?x=$1
#Standard Ad Sizes http://www.iab.net/iab_products_and_industry_services/1421/1443/1452
#Medium Rectangle 300/250
RewriteRule ^(me)\w+(rec\w+)(.*) code.php?x=300/250$3
#Square Pop Up 250/250
RewriteRule ^(s\w+pop)(.*) code.php?x=250/250$2
#Vertical Rectangle 240/400
RewriteRule ^(ver)\w+(rec)(.*) code.php?x=240/400$3
#Large Rectangle 336/280
RewriteRule ^(large|lrg)(rec)(.*) code.php?x=336/280$3
#Rectangle 180/150
RewriteRule ^(rec)(.*) code.php?x=180/150$2
#Pop Under 720/300
RewriteRule ^(pop)(.*) code.php?x=720/300$2
#Full Banner 468/60
RewriteRule ^(f\w+ban)(.*) code.php?x=468/60$2
#Half Banner 234/60
RewriteRule ^(h\w+ban)(.*) code.php?x=234/60$2
#Micro Bar 88/31
RewriteRule ^(m\w+bar)(.*) code.php?x=88/31$2
#Button 1 120/90
RewriteRule ^(b\w+1)(.*) code.php?x=120/90$2
#Button 2 120/60
RewriteRule ^(b\w+2)(.*) code.php?x=120/60$2
#Vertical Banner 120/240
RewriteRule ^(ver\w+ban)(.*) code.php?x=120/240$2
#Square Button 125/125
RewriteRule ^(s\w+but)(.*) code.php?x=125/125$2
#Leaderboard 728/90
RewriteRule ^(lea\w+rd)(.*) code.php?x=728/90$2
#Wide Skyscraper 60 x 600
RewriteRule ^(w\w+sk\w+r)(.*) code.php?x=60/600$2
#Skyscraper 120 x 600
RewriteRule ^(sk\w+r)(.*) code.php?x=120/600$2
#Half Page Ad 300 x 600
RewriteRule ^(h\w+g)(.*) code.php?x=300/600$2
#Display Standards - http://en.wikipedia.org/wiki/File:Vector_Video_Standards2.svg
#CGA 320/200
RewriteRule ^(cga)(.*) code.php?x=320/200$2
#QVGA 320/240
RewriteRule ^(qvga)(.*) code.php?x=320/240$2
#VGA 640/480
RewriteRule ^(vga)(.*) code.php?x=640/480$2
#WVGA 800/480
RewriteRule ^(wvga)(.*) code.php?x=800/480$2
#SVGA 1024/600
RewriteRule ^(svga)(.*) code.php?x=1024/600$2
#WSVGA 1024/600
RewriteRule ^(wsvga)(.*) code.php?x=1024/600
#XGA 1024/768
RewriteRule ^(xga)(.*) code.php?x=1024/768$2
#WXGA 1280/800
RewriteRule ^(wxga)(.*) code.php?x=1280/800$2
#WSXGA 1440/900
RewriteRule ^(wsxga)(.*) code.php?x=1440/900$2
#WUXGA 1920/1200
RewriteRule ^(wuxga)(.*) code.php?x=1920/1200$2
#WQXGA 2560/1600
RewriteRule ^(wqxga)(.*) code.php?x=2560/1600$2
#Video Standards
#NTSC 720/480
RewriteRule ^(ntsc)(.*) code.php?x=720/480$2
#PAL 768/576
RewriteRule ^(pal)(.*) code.php?x=768/576$2
#HD720 1280/720
RewriteRule ^(hd720)(.*) code.php?x=1280/720$2
#HD1080 1920/1080
RewriteRule ^(hd1080)(.*) code.php?x=1920/1080$2