## %%%%%%% Movable Type generated this part; don't remove this line! %%%%%%%
# Disable fancy indexes, so mtview.php gets a chance...
Options -Indexes +SymLinksIfOwnerMatch
# The mod_rewrite solution is the preferred way to invoke
# dynamic pages, because of its flexibility.
# Add mtview.php to the list of DirectoryIndex options, listing it last,
# so it is invoked only if the common choices aren't present...
DirectoryIndex index.php index.html index.htm default.htm default.html default.asp index.asp /iptv/mtview_fs.php
RewriteEngine on
RewriteRule ^(tag|mtsearch)/(.+)/([0-9]+)$ /iptv/mtview_fs.php?path=/iptv/fastsearch&$1=$2&page=$3 [QSA,L]
## Vahid and Tom fixing AT&T tag - note THE_REQUEST puts weird %20HTTP/1.1 at end
RewriteCond %{THE_REQUEST} ^.*(tag|mtsearch)/(.+)\sHTTP\/1.*$
RewriteRule .* mtview_fs.php?path=/iptv/fastsearch&%1=%2 [QSA,L]
RewriteCond %{QUERY_STRING} ^page=[0-9]+$ [NC]
RewriteRule ^(.*)$ /mt/plugins/Pagination/pages.cgi?blog_id=28&lastn=10&idx=index.html&path=/iptv/$1 [L,QSA]
# don't serve mtview.php if the request is for a real directory
# (allows the DirectoryIndex lookup to function)
RewriteCond %{REQUEST_FILENAME} !-d
# don't serve mtview.php if the request is for a real file
# (allows the actual file to be served)
RewriteCond %{REQUEST_FILENAME} !-f
# anything else is handed to mtview.php for resolution (404 errors)
RewriteRule ^(.*)$ /iptv/mtview_fs.php?path=/iptv/fastsearch&blogs=28&query=web\ page\ isn't\ found\ use\ search [L,QSA]
# if mod_rewrite is unavailable, we forward any missing page
# or unresolved directory index requests to mtview
# if mtview.php can resolve the request, it returns a 200
# result code which prevents any 4xx error code from going
# to the server's access logs. However, an error will be
# reported in the error log file. If this is your only choice,
# and you want to suppress these messages, adding a "LogLevel crit"
# directive within your VirtualHost or root configuration for
# Apache will turn them off.
ErrorDocument 404 /iptv/mtview_fs.php
ErrorDocument 403 /iptv/mtview_fs.php
## ******* Movable Type generated this part; don't remove this line! *******
### AddType application/x-httpd-php .asp
AddHandler application/x-httpd-php .asp
AddHandler application/x-httpd-php .html