分页: 49/196 第一页 上页 44 45 46 47 48 49 50 51 52 53 下页 最后页 [ 显示模式: 摘要 | 列表 ]
Apr 21
# if the requested file exists, return it immediately
if (-f $request_filename) {
break;
}

rewrite “^/(.*)-p-(.*).html$” /index.php?main_page=product_info&products_id=$2&% last;
rewrite “^/(.*)-c-(.*).html$” /index.php?main_page=index&cPath=$2&% last;
rewrite “^/(.*)-m-([0-9]+).html$” /index\.php?main_page=index&manufacturers_id=$2&% last;
rewrite “^/(.*)-pi-([0-9]+).html$” /index\.php?main_page=popup_image&pID=$2&% last;
rewrite “^/(.*)-pr-([0-9]+).html$” /index\.php?main_page=product_reviews&products_id=$2&% last;
rewrite “^/(.*)-pri-([0-9]+).html$” /index\.php?main_page=product_reviews_info&products_id=$2&% last;
# For wordpress on zencart by Jeff
rewrite “^/wp/(.*).html$” /index.php?main_page=wordpress&page_id=$1&% last;

# For eazy pages
rewrite “^/(.*)-ezp-([0-9]+).html$” /index\.php?main_page=page&id=$2&% last;

# For Open Operations Info Manager
rewrite “^(.*)-i-([0-9]+).html” /index.php?main_page=info_manager&pages_id=$2&% last;

# For dreamscape¡¯s News & Articles Manager
rewrite “^news/?” /index.php?main_page=news&% last;
rewrite “^news/rss.xml” /index.php?main_page=news_rss&% last;
rewrite “^news/archive/?” /index.php?main_page=news_archive&% last;
rewrite “^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html” /index.php?main_page=news&date=$1-$2-$3&% last;
rewrite “^news/archive/([0-9]{4})-([0-9]{2}).html” /index.php?main_page=news_archive&date=$1-$2&% last;
rewrite “^news/(.*)-a-([0-9]+)-comments.html” /index.php?main_page=news_comments&article_id=$2&% last;
rewrite “^news/(.*)-a-([0-9]+).html” /index.php?main_page=news_article&article_id=$2&% last;

# All other pages
# Don‘t rewrite real files or directories
rewrite “^(.*).html” /index.php?main_page=$1&% last;
Tags: , ,
Apr 21
url.rewrite-if-not-file = (
"^/news$" => "index.php?main_page=news",
"^/page\.html\?chapter=(.*)&id=(.*)$"=>"/index.php?main_page=page&id=$2&chapter=$1",
"^/page\.html\?id=(.*)$"=>"/index.php?main_page=page&id=$1",
"^/(.*)-ezp-(.*)\.html(\?(.*))*$"=>"/index.php?main_page=page&id=$2",
"^/page_(.*)\.html$"=>"/index.php?main_page=page_$1",
"^/(.*)-p-(.*)\.html(\?(.*))?$" => "/index.php?main_page=product_info&products_id=$2&$4",
"^/(.*)-a-(.*)\.html(\?(.*))?$" => "index.php?main_page=news_article&article_id=$2&$4",
"^/(.*)-c-(.*)\.html(\?(.*))?$" => "/index.php?main_page=index&cPath=$2&$4",
"^/(.*)-pi-([0-9]+)\.html(\?(.*))?$" => "/index.php?main_page=popup_image&pID=$2&$4",
"^/(.*)-m-([0-9]+)\.html(\?(.*))?$" => "/index.php?main_page=index&manufacturers_id=$2&$4",
"^/(.*)-pr-([0-9]+)\.html(\?(.*))?$" => "/index.php?main_page=product_reviews&product_id=$2&$4",
"^/(.*)-pri-([0-9]+)\.html(\?(.*))?$" => "/index.php?main_page=product_reviews_info&product_id=$2&$4",
"^/login\.html(\?(.*))?$" => "/index.php?main_page=login&$2",
"^/shopping_cart\.html(\?(.*))?$" => "/index.php?main_page=shopping_cart&$2",
"^/checkout_shipping\.html(\?(.*))?$" => "/index.php?main_page=checkout_shipping&$2",
"^/privacy\.html(\?(.*))?$" => "/index.php?main_page=privacy&$2",
"^/shippinginfo\.html(\?(.*))?$" => "/index.php?main_page=shippinginfo&$2",
"^/conditions\.html(\?(.*))?$" => "/index.php?main_page=conditions&$2",
"^/contact_us\.html(\?(.*))?$" => "/index.php?main_page=contact_us&$2",
"^/site_map\.html(\?(.*))?$" => "/index.php?main_page=site_map&$2",
"^/gv_faq\.html(\?(.*))?$" => "/index.php?main_page=gv_faq&$2",
"^/discount_coupon\.html(\?(.*))?$" => "/index.php?main_page=discount_coupon&$2",
"^/unsubscribe\.html(\?(.*))?$" => "/index.php?main_page=unsubscribe&$2",
"^/products_new\.html(\?(.*))?$" => "/index.php?main_page=products_new&$2",
"^/products_all\.html(\?(.*))?$" => "/index.php?main_page=products_all&$2",
"^/advanced_search\.html(\?(.*))?$" => "/index.php?main_page=advanced_search&$2",
"^/advanced_search_result\.html(\?(.*))?$" => "/index.php?main_page=advanced_search_result&$2",
"^/password_forgotten\.html(\?(.*))?$" => "/index.php?main_page=password_forgotten&$2",
"^/info_shopping_cart\.html(\?(.*))?$" => "/index.php?main_page=info_shopping_cart&$2",
"^/popup_search_help\.html(\?(.*))?$" => "/index.php?main_page=popup_search_help&$2",
"^/popup_shipping_estimator\.html(\?(.*))?$" => "/index.php?main_page=popup_shipping_estimator&$2",
"^/product_reviews_write\.html(\?(.*))?$" => "/index.php?main_page=product_reviews_write&$2",
"^/product_reviews\.html(\?(.*))?$" => "/index.php?main_page=product_reviews&$2",
"^/product_reviews\?product_id=(.*)$" => "/index.php?main_page=product_reviews_info&products_id=$1&reviews_id=31",
"^/tell_a_friend\.html(\?(.*))?$" => "/index.php?main_page=tell_a_friend&$2",
"^/create_account\.html(\?(.*))?$" => "/index.php?main_page=create_account&$2",
"^/create_account_success\.html(\?(.*))?$" => "/index.php?main_page=create_account_success&$2",
"^/account\.html(\?(.*))?$" => "/index.php?main_page=account&$2",
"^/logoff\.html(\?(.*))?$" => "/index.php?main_page=logoff&$2",
"^/account_edit\.html(\?(.*))?$" => "/index.php?main_page=account_edit&$2",
"^/address_book\.html(\?(.*))?$" => "/index.php?main_page=address_book&$2",
"^/address_book_process\.html(\?(.*))?$" => "/index.php?main_page=address_book_process&$2",
"^/account_password\.html(\?(.*))?$" => "/index.php?main_page=account_password&$2",
"^/account_newsletters\.html(\?(.*))?$" => "/index.php?main_page=account_newsletters&$2",
"^/reviews\.html(\?(.*))?$" => "/index.php?main_page=reviews&$2",
"^/news\/archive\/(.*)\.html$" => "/index.php?main_page=news_archive&date=$1",
"^(.*)\.html(\?(.*))?$"=>"/index.php?main_page=$1&$4"
)
Tags: ,
Apr 20
[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

RewriteRule ^(.*)/index.html$                $1/index\.php          [I]                      
RewriteRule ^(.*)/category$                  $1/index\.php          [I]
RewriteRule ^(.*)/feed-c([0-9]+).xml$        $1/feed\.php\?cat=$2    [I]
RewriteRule ^(.*)/feed-b([0-9]+).xml$        $1/feed\.php\?brand=$2 [I]
RewriteRule ^(.*)/feed.xml$                  $1/feed\.php           [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$    $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$                            $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6                          [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$                                $1/category\.php\?id=$2&brand=$3&page=$4&sort=$5&order=$6                                          [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$                                        $1/category\.php\?id=$2&brand=$3&page=$4                                                           [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$                                            $1/category\.php\?id=$2&brand=$3                                                                   [I]
RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$                                 $1/category\.php\?id=$2                              [I]
RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$                                  $1/goods\.php\?id=$2                                 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$                   $1/article_cat\.php\?id=$2&page=$3                   [I]
RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$                            $1/article_cat\.php\?id=$2                           [I]
RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$                                $1/article\.php\?id=$2                               [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html   $1/brand\.php\?id=$2&cat=$3&page=$4&sort=$5&order=$6 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html                $1/brand\.php\?id=$2&cat=$3&page=$4                  [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html                         $1/brand\.php\?id=$2&cat=$3                          [I]
RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html                                   $1/brand\.php\?id=$2                                 [I]
RewriteRule ^(.*)/tag-(.*)\.html                                             $1/search\.php\?keywords=$2                          [I]
RewriteRule ^(.*)/snatch-([0-9]+)\.html$                                     $1/snatch\.php\?id=$2                                [I]
RewriteRule ^(.*)/group_buy-([0-9]+)\.html$                                  $1/group_buy\.php\?act=view&id=$2                    [I]
RewriteRule ^(.*)/auction-([0-9]+)\.html$                                    $1/auction\.php\?act=view&id=$2                      [I]
Apr 18
[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32
RewriteBase /
RewriteRule ^(.*)-p-(.*).html(\?)?(.*)? /index\.php\?main_page=product_info&products_id=$2&$4 [L]
RewriteRule ^(.*)-c-(.*).html(\?)?(.*)? /index\.php\?main_page=index&cPath=$2&$4 [L]
RewriteRule ^(.*)-m-([0-9]+).html(\?)?(.*)? /index\.php\?main_page=index&manufacturers_id=$2&$4 [L]
RewriteRule ^(.*)-pi-([0-9]+).html(\?)?(.*)? /index\.php\?main_page=popup_image&pID=$2&$4 [L]
RewriteRule ^(.*)-pr-([0-9]+).html(\?)?(.*)? /index\.php\?main_page=product_reviews&products_id=$2&$4 [L]
RewriteRule ^(.*)-pri-([0-9]+).html(\?)?(.*)? /index\.php\?main_page=product_reviews_info&products_id=$2&$4 [L]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html(\?)?(.*)? /index\.php\?main_page=info_manager&pages_id=$2&$4
# For dreamscape''s News & Articles Manager
RewriteRule ^news/?$ index\.php\?main_page=news& [L]
RewriteRule ^news/rss.xml /index\.php\?main_page=news_rss& [L]
RewriteRule ^news/archive/? /index\.php\?main_page=news_archive& [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html(\?)?(.*)? /index\.php\?main_page=news&date=$1-$2-$3&$5 [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html(\?)?(.*)? /index\.php\?main_page=news_archive&date=$1-$2&$4 [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html(\?)?(.*)? /index\.php\?main_page=news_comments&article_id=$2&$4 [L]
RewriteRule ^news/(.*)-a-([0-9]+).html(\?)?(.*)? /index\.php\?main_page=news_article&article_id=$2&$4 [L]
# All other pages
# Don''t rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(\w*).html\?(.*) /index\.php\?main_page=$1&$2 [L]
#RewriteRule ^/(.*).html(\?)? /index\.php\?main_page=$1&$3 [L]
RewriteRule ^/(\w*).html /index\.php\?main_page=$1&$3 [L]
Tags: , ,
Apr 17
一个人在孤独的时候

走到人群拥挤的街头

是在抗议过分的自由

还是荒谬的地球

一个人在创痛的时候

按着难以痊愈的伤口

究竟应该拚命奋斗

还是默默的溜走

只有你会理解我的忧

让我紧紧握住你的手

我们曾经一样的流浪

一样幻想美好时光

一样的感到流水年长

我们虽不在同一个地方

没有相同的主张

可是你知道我的迷惘
Tags:
分页: 49/196 第一页 上页 44 45 46 47 48 49 50 51 52 53 下页 最后页 [ 显示模式: 摘要 | 列表 ]