Htaccess File

CristianCantoro/placepuppy/master/.htaccess

# 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+(recw+)(.*) code.php?x=300/250$3

#Square Pop Up 250/250
RewriteRule ^(sw+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 ^(fw+ban)(.*) code.php?x=468/60$2

#Half Banner 234/60
RewriteRule ^(hw+ban)(.*) code.php?x=234/60$2

#Micro Bar 88/31
RewriteRule ^(mw+bar)(.*) code.php?x=88/31$2

#Button 1 120/90
RewriteRule ^(bw+1)(.*) code.php?x=120/90$2

#Button 2 120/60
RewriteRule ^(bw+2)(.*) code.php?x=120/60$2

#Vertical Banner 120/240
RewriteRule ^(verw+ban)(.*) code.php?x=120/240$2

#Square Button 125/125
RewriteRule ^(sw+but)(.*) code.php?x=125/125$2

#Leaderboard 728/90
RewriteRule ^(leaw+rd)(.*) code.php?x=728/90$2

#Wide Skyscraper 60 x 600
RewriteRule ^(ww+skw+r)(.*) code.php?x=60/600$2

#Skyscraper 120 x 600
RewriteRule ^(skw+r)(.*) code.php?x=120/600$2

#Half Page Ad 300 x 600
RewriteRule ^(hw+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
Exit mobile version