-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.htaccess
22 lines (22 loc) · 2.31 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#RewriteEngine on
#RewriteBase /upc/
#RewriteRule ^view/([0-9]{7,14})\.(htm|html|php)$ index.php?act=view&upc=$1
#RewriteRule ^view/([0-9]{7,14})\.([0-9]*[\.]?[0-9])\.(htm|html|php)$ index.php?act=view&upc=$1&resize=$2
#RewriteRule ^viewupca/([0-9]{11,12})\.(gif|png|xbm|wbmp)$ index.php?act=upca&upc=$1&imgtype=$2
#RewriteRule ^viewupca/([0-9]{11,12})\.([0-9]*[\.]?[0-9])\.(gif|png|xbm|wbmp)$ index.php?act=upca&upc=$1&resize=$2&imgtype=$3
#RewriteRule ^viewupce/([0-9]{7,8})\.(gif|png|xbm|wbmp)$ index.php?act=upce&upc=$1&imgtype=$2
#RewriteRule ^viewupce/([0-9]{7,8})\.([0-9]*[\.]?[0-9])\.(gif|png|xbm|wbmp)$ index.php?act=upce&upc=$1&resize=$2&imgtype=$3
#RewriteRule ^viewean8/([0-9]{7,8})\.(gif|png|xbm|wbmp)$ index.php?act=ean8&upc=$1&imgtype=$2
#RewriteRule ^viewean8/([0-9]{7,8})\.([0-9]*[\.]?[0-9])\.(gif|png|xbm|wbmp)$ index.php?act=ean8&upc=$1&resize=$2&imgtype=$3
#RewriteRule ^viewean13/([0-9]{12,13})\.(gif|png|xbm|wbmp)$ index.php?act=ean13&upc=$1&imgtype=$2
#RewriteRule ^viewean13/([0-9]{12,13})\.([0-9]*[\.]?[0-9])\.(gif|png|xbm|wbmp)$ index.php?act=ean13&upc=$1&resize=$2&imgtype=$3
#RewriteRule ^viewitf14/([0-9]+)\.(gif|png|xbm|wbmp)$ index.php?act=itf14&upc=$1&imgtype=$2
#RewriteRule ^viewitf14/([0-9]+)\.([0-9]*[\.]?[0-9])\.(gif|png|xbm|wbmp)$ index.php?act=itf14&upc=$1&resize=$2&imgtype=$3
#RewriteRule ^viewitf/([0-9]+)\.(gif|png|xbm|wbmp)$ index.php?act=itf&upc=$1&imgtype=$2
#RewriteRule ^viewitf/([0-9]+)\.([0-9]*[\.]?[0-9])\.(gif|png|xbm|wbmp)$ index.php?act=itf&upc=$1&resize=$2&imgtype=$3
#RewriteRule ^viewcode39/([0-9a-zA-Z\-\.\$\/\+%\ ]+)\.(gif|png|xbm|wbmp)$ index.php?act=code39&upc=$1&imgtype=$2
#RewriteRule ^viewcode39/([0-9a-zA-Z\-\.\$\/\+%\ ]+)\.([0-9]*[\.]?[0-9])\.(gif|png|xbm|wbmp)$ index.php?act=code39&upc=$1&resize=$2&imgtype=$3
#RewriteRule ^viewcode93/([0-9a-zA-Z\-\.\$\/\+%\ ]+)\.(gif|png|xbm|wbmp)$ index.php?act=code93&upc=$1&imgtype=$2
#RewriteRule ^viewcode93/([0-9a-zA-Z\-\.\$\/\+%\ ]+)\.([0-9]*[\.]?[0-9])\.(gif|png|xbm|wbmp)$ index.php?act=code93&upc=$1&resize=$2&imgtype=$3
#RewriteRule ^viewbarcode/([0-9]{7,14})\.(gif|png|xbm|wbmp)$ index.php?act=barcode&upc=$1&imgtype=$2
#RewriteRule ^viewbarcode/([0-9]{7,14})\.([0-9]*[\.]?[0-9])\.(gif|png|xbm|wbmp)$ index.php?act=barcode&upc=$1&resize=$2&imgtype=$3