# # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See for detailed information. # In particular, see # # for a discussion of each configuration directive. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so 'log/access_log' # with ServerRoot set to '/www' will be interpreted by the # server as '/www/log/access_log', where as '/log/access_log' will be # interpreted as '/log/access_log'. # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # Do not add a slash at the end of the directory path. If you point # ServerRoot at a non-local disk, be sure to point the LockFile directive # at a local disk. If you wish to share the same ServerRoot for multiple # httpd daemons, you will need to change at least LockFile and PidFile. # #ServerRoot "/usr/local/apache" # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.34.56.78:80 Listen 80 Listen 8000 Listen 8001 Listen 8002 Listen 8009 Listen 8010 # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/mod_foo.so # LoadModule authn_file_module modules/mod_authn_file.so LoadModule authn_dbm_module modules/mod_authn_dbm.so LoadModule authn_anon_module modules/mod_authn_anon.so LoadModule authn_dbd_module modules/mod_authn_dbd.so LoadModule authn_default_module modules/mod_authn_default.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule authz_dbm_module modules/mod_authz_dbm.so LoadModule authz_owner_module modules/mod_authz_owner.so LoadModule authz_default_module modules/mod_authz_default.so LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule auth_digest_module modules/mod_auth_digest.so LoadModule file_cache_module modules/mod_file_cache.so LoadModule cache_module modules/mod_cache.so #LoadModule disk_cache_module modules/mod_disk_cache.so #LoadModule mem_cache_module modules/mod_mem_cache.so LoadModule dbd_module modules/mod_dbd.so LoadModule dumpio_module modules/mod_dumpio.so LoadModule reqtimeout_module modules/mod_reqtimeout.so LoadModule ext_filter_module modules/mod_ext_filter.so LoadModule include_module modules/mod_include.so LoadModule filter_module modules/mod_filter.so LoadModule substitute_module modules/mod_substitute.so LoadModule log_config_module modules/mod_log_config.so LoadModule logio_module modules/mod_logio.so LoadModule env_module modules/mod_env.so LoadModule expires_module modules/mod_expires.so LoadModule headers_module modules/mod_headers.so LoadModule ident_module modules/mod_ident.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule version_module modules/mod_version.so LoadModule mime_module modules/mod_mime.so LoadModule dav_module modules/mod_dav.so LoadModule status_module modules/mod_status.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule asis_module modules/mod_asis.so LoadModule info_module modules/mod_info.so LoadModule cgid_module modules/mod_cgid.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule dir_module modules/mod_dir.so LoadModule imagemap_module modules/mod_imagemap.so LoadModule actions_module modules/mod_actions.so LoadModule speling_module modules/mod_speling.so LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule php5_module modules/libphp5.so LoadModule wsgi_module modules/mod_wsgi.so ExpiresActive Off ExpiresDefault "access plus 12 month" ExpiresByType text/html "access plus 12 months" ExpiresByType text/css "access plus 12 months" ExpiresByType image/gif "access plus 12 months" ExpiresByType image/jpeg "access plus 12 months" ExpiresByType image/jpg "access plus 12 months" ExpiresByType image/png "access plus 12 months" EXpiresByType application/x-shockwave-flash "access plus 12 months" EXpiresByType application/x-javascript "access plus 12 months" ExpiresByType video/x-flv "access plus 12 months" # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. #User daemon #Group daemon User httpd Group httpd # 'Main' server configuration # # The directives in this section set up the values used by the 'main' # server, which responds to any requests that aren't handled by a # definition. These values also provide defaults for # any containers you may define later in the file. # # All of these directives may appear inside containers, # in which case these default settings will be overridden for the # virtual host being defined. # # # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. admin@your-domain.com # ServerAdmin you@example.com # # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If your host doesn't have a registered DNS name, enter its IP address here. # ServerName localhost:80 # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/usr/local/apache/htdocs" # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # features. # Options FollowSymLinks AllowOverride All #Order deny,allow Order allow,deny Allow from all # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # #Order allow,deny #Allow from all # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # DirectoryIndex index.html index.php # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Order allow,deny Deny from all Satisfy All # # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # ErrorLog "logs/error_log" # # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a # container, they will be logged here. Contrariwise, if you *do* # define per- access logfiles, transactions will be # logged therein and *not* in this file. # CustomLog "logs/access_log" common # # If you prefer a logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # #CustomLog "logs/access_log" combined # # Redirect: Allows you to tell clients about documents that used to # exist in your server's namespace, but do not anymore. The client # will make a new request for the document at its new location. # Example: # Redirect permanent /foo http://www.example.com/bar # # Alias: Maps web paths into filesystem paths and is used to # access content that does not live under the DocumentRoot. # Example: # Alias /webpath /full/filesystem/path # # If you include a trailing / on /webpath then the server will # require it to be present in the URL. You will also likely # need to provide a section to allow access to # the filesystem path. # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the target directory are treated as applications and # run by the server when requested rather than as documents sent to the # client. The same rules about trailing "/" apply to ScriptAlias # directives as to Alias. # ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/" # # ScriptSock: On threaded servers, designate the path to the UNIX # socket used to communicate with the CGI daemon of mod_cgid. # #Scriptsock logs/cgisock # # "/usr/local/apache/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride All Options None Order allow,deny Allow from all # # DefaultType: the default MIME type the server will use for a document # if it cannot otherwise determine one, such as from filename extensions. # If your server contains mostly text or HTML documents, "text/plain" is # a good value. If most of your content is binary, such as applications # or images, you may want to use "application/octet-stream" instead to # keep browsers from trying to display binary files as though they are # text. # DefaultType text/plain # # TypesConfig points to the file containing the list of mappings from # filename extension to MIME-type. # TypesConfig conf/mime.types # # AddType allows you to add to or override the MIME configuration # file specified in TypesConfig for specific file types. # #AddType application/x-gzip .tgz # # AddEncoding allows you to have certain browsers uncompress # information on the fly. Note: Not all browsers support this. # #AddEncoding x-compress .Z #AddEncoding x-gzip .gz .tgz # # If the AddEncoding directives above are commented-out, then you # probably should define those extensions to indicate media types: # AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps # # AddHandler allows you to map certain file extensions to "handlers": # actions unrelated to filetype. These can be either built into the server # or added with the Action directive (see below) # # To use CGI scripts outside of ScriptAliased directories: # (You will also need to add "ExecCGI" to the "Options" directive.) # #AddHandler cgi-script .cgi # For type maps (negotiated resources): #AddHandler type-map var # # Filters allow you to process content before it is sent to the client. # # To parse .shtml files for server-side includes (SSI): # (You will also need to add "Includes" to the "Options" directive.) # #AddType text/html .shtml #AddOutputFilter INCLUDES .shtml # # The mod_mime_magic module allows the server to use various hints from the # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # #MIMEMagicFile conf/magic # # Customizable error responses come in three flavors: # 1) plain text 2) local redirects 3) external redirects # # Some examples: #ErrorDocument 500 "The server made a boo boo." #ErrorDocument 404 /missing.html #ErrorDocument 404 "/cgi-bin/missing_handler.pl" #ErrorDocument 402 http://www.example.com/subscription_info.html # # # MaxRanges: Maximum number of Ranges in a request before # returning the entire resource, or one of the special # values 'default', 'none' or 'unlimited'. # Default setting is to accept 200 Ranges. #MaxRanges unlimited # # EnableMMAP and EnableSendfile: On systems that support it, # memory-mapping or the sendfile syscall is used to deliver # files. This usually improves server performance, but must # be turned off when serving from networked-mounted # filesystems or if support for these functions is otherwise # broken on your system. # #EnableMMAP off #EnableSendfile off # Supplemental configuration # # The configuration files in the conf/extra/ directory can be # included to add extra features or to modify the default configuration of # the server, or you may simply copy their contents here and change as # necessary. # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf # Multi-language error messages #Include conf/extra/httpd-multilang-errordoc.conf # Fancy directory listings #Include conf/extra/httpd-autoindex.conf # Language settings #Include conf/extra/httpd-languages.conf # User home directories #Include conf/extra/httpd-userdir.conf # Real-time info on requests and configuration #Include conf/extra/httpd-info.conf # Virtual hosts #Include conf/extra/httpd-vhosts.conf # Local access to the Apache HTTP Server Manual #Include conf/extra/httpd-manual.conf # Distributed authoring and versioning (WebDAV) #Include conf/extra/httpd-dav.conf # Various default settings #Include conf/extra/httpd-default.conf # Secure (SSL/TLS) connections #Include conf/extra/httpd-ssl.conf # # Note: The following must must be present to support # starting without SSL on platforms with no /dev/random equivalent # but a statically compiled-in mod_ssl. # SSLRandomSeed startup builtin SSLRandomSeed connect builtin NameVirtualHost 192.168.0.99:80 DocumentRoot /home/lanjing/html ServerName 192.168.0.99 ErrorLog logs/ljyun.develop-error_log CustomLog logs/ljyun.develop-access_log common DocumentRoot /home/qrcode_develop/html ServerName 192.168.0.99 ErrorLog logs/ljyun.develop-error_log CustomLog logs/ljyun.develop-access_log common DocumentRoot /home/ljyun_develop/html ServerName ljyun.develop ErrorLog logs/ljyun.develop-error_log CustomLog logs/ljyun.develop-access_log common DocumentRoot /home/ljyun_test/html ServerName ljyun.test ErrorLog logs/ljyun.test-error_log CustomLog logs/ljyun.test-access_log common # # ServerName bb.ljlj.com # DocumentRoot /home/ljljcc/html # ErrorLog logs/oa-error_log # CustomLog logs/oa-access_log combined # ServerName tuping.lanmayi.cn DocumentRoot /home/lmy/html/tuping ErrorLog logs/tuping-error_log CustomLog logs/tuping-access_log combined ServerName tp.img.cn DocumentRoot /home/lmy ErrorLog logs/tp-img-error_log CustomLog logs/tp-img-access_log combined ServerName oa.ljlj.cc DocumentRoot /home/ljoa/html ErrorLog logs/ljoa-error_log CustomLog logs/ljoa-access_log combined ServerName new.ljlj.com DocumentRoot /home/ljwww/html ErrorLog logs/ljwww-error_log CustomLog logs/ljwww-access_log combined RewriteEngine on RewriteRule ^/ljnews/news_([0-9]+)/$ /ljnews/news_show.php?id=$1 RewriteRule ^/ljnews/lj_trends_([0-9]+)/$ /ljnews/lj_trends.php?page=$1 RewriteRule ^/ljnews/news_list_([0-9]+)/$ /ljnews/news_list.php?page=$1 RewriteRule ^/ljnews/market_list_([0-9]+)/$ /ljnews/market_list.php?page=$1 RewriteRule ^/ljnews/shop_list_([0-9]+)/$ /ljnews/shop_list.php?page=$1 RewriteRule ^/ljnewshop/$ /ljnewshop/index.php RewriteRule ^/ljnewshop/shop_index_([0-9]+)/$ /ljnewshop/shop_index.php?shopid=$1 RewriteRule ^/ljservice/$ /ljservice/index.php RewriteRule ^/ljservice/serviceshop_list/$ /ljservice/serviceshop_list.php RewriteRule ^/ljservice/servicepromotion_list_([0-9]+)/$ /ljservice/servicepromotion_list.php?page=$1 RewriteRule ^/ljservice/servicedesigner_list_([0-9]+)/$ /ljservice/servicedesigner_list.php?page=$1 RewriteRule ^/ljservice/servicecase_list_([0-9]+)/$ /ljservice/servicecase_list.php?page=$1 RewriteRule ^/ljdzs/$ /ljdzs/index.php RewriteRule ^/ljdzs/activList_([0-9]+)/$ /ljdzs/activList.php?id=$1 RewriteRule ^/ljdzs/storeList_([0-9]+)/$ /ljdzs/storeList.php?page=$1 RewriteRule ^/ljdzs/storesshow_([0-9]+)/$ /ljdzs/storesshow.php?id=$1 RewriteRule ^/ljdzs/storesnav/$ /ljdzs/storesnav.php RewriteRule ^/ljdzs/storeList_([0-9]+)_([0-9]+)/$ /ljdzs/storeList.php?id=$1&page=$2 RewriteRule ^/ljdecoration/$ /ljdecoration/index.php RewriteRule ^/ljdecoration/promotion_list_([0-9]+)/$ /ljdecoration/promotion_list.php?page=$1 RewriteRule ^/ljdecoration/class_nurse_([0-9]+)/$ /ljdecoration/class_nurse.php?page=$1 RewriteRule ^/ljdecoration/worker_list_([0-9]+)/$ /ljdecoration/worker_list.php?page=$1 RewriteRule ^/ljdecoration/now_case_([0-9]+)/$ /ljdecoration/now_case.php?page=$1 # RewriteRule ^/ljdecoration/contact/$ /ljdecoration/contact.php RewriteRule ^/ljdecoration/designer_list_([0-9]+)/$ /ljdecoration/designer_list.php?page=$1 RewriteRule ^/ljcustomer/$ /ljcustomer/index.php # RewriteRule ^/ljdzs/question/$ /ljdzs/question.php?sift=com # RewriteRule ^/ljdzs/answer/$ /ljdzs/answer.php?act=list RewriteRule ^/ljdzs/serviceshow/$ /ljdzs/serviceshow.php RewriteRule ^/ljdzs/aftersale/$ /ljdzs/aftersale.php RewriteRule ^/memberlogin/$ /memberlogin.php RewriteRule ^/ljhomenews/$ /ljhomenews/index.php RewriteRule ^/ljhomenews/hottalk_((0-9)+)$ /ljhomenews/hottalk.php?page=$1 RewriteRule ^/ljhomenews/houseKeep((0-9)+)$ /ljhomenews/houseKeep.php?page=$1 RewriteRule ^/ljhomenews/nurse((0-9)+)$ /ljhomenews/nurse.php?page=$1 ServerName mall.ljlj.cc AddDefaultCharset GB2312 DocumentRoot /home/ljmall/html SetEnvIf Request_URI "^/themes/.*$" dontlog SetEnvIf Request_URI "^/includes/.*$" dontlog # SetEnvIf Request_URI "^/index.php\?act.*$" dontlog SetEnvIf Request_URI "\.gif$" dontlog SetEnvIf Request_URI "\.jpg$" dontlog SetEnvIf Request_URI "\.xbm$" dontlog #ErrorLog "|/usr/sbin/rotatelogs /var/log/httpd/ljmall/ljmall-error-log-%Y%m%d 86400" #CustomLog "|/usr/sbin/rotatelogs /var/log/httpd/ljmall/ljmall-access-log-%Y%m%d 86400" combined env=!dontlog #hanshaobo add Vhost for api 2013-8-7 start ServerName mall.ljlj.test AddDefaultCharset GB2312 DocumentRoot /home/ljmall_test/html SetEnvIf Request_URI "^/themes/.*$" dontlog SetEnvIf Request_URI "^/includes/.*$" dontlog # SetEnvIf Request_URI "^/index.php\?act.*$" dontlog SetEnvIf Request_URI "\.gif$" dontlog SetEnvIf Request_URI "\.jpg$" dontlog SetEnvIf Request_URI "\.xbm$" dontlog #ErrorLog "|/usr/sbin/rotatelogs /var/log/httpd/ljmall/ljmall-error-log-%Y%m%d 86400" #CustomLog "|/usr/sbin/rotatelogs /var/log/httpd/ljmall/ljmall-access-log-%Y%m%d 86400" combined env=!dontlog #hanshaobo add Vhost for api 2013-8-7 end ServerName chat.ljlj.develop AddDefaultCharset GB2312 DocumentRoot /home/ljmall/html/html ErrorLog logs/ljmallim-error_log CustomLog logs/ljmallim-access_log combined ServerName ucenter.ljlj.develop DocumentRoot /home/ljucenter/html ErrorLog logs/ljucenter-error_log CustomLog logs/ljucenter-access_log combined ServerName ljmis_service.develop DocumentRoot /home/ljmis_develop/html ErrorLog logs/ljmis_service_develop-error_log CustomLog logs/ljmis_service_develop-access_log combined ServerName ljmis.develop DocumentRoot /home/ljmis_develop/html ErrorLog logs/ljmis_develop-error_log CustomLog logs/ljmis_develop-access_log combined # # ServerName www.ljmis.cc # DocumentRoot /home/ljmis/html # ErrorLog logs/ljmis-error_log # CustomLog logs/ljmis-access_log combined # # # ServerName www.ljyun.dev # DocumentRoot /home/ljyun/html # ErrorLog logs/ljyun-error_log # CustomLog logs/ljyun-access_log combined # # # ServerName www.ljcacti.com # DocumentRoot /home/cacti # ErrorLog logs/cacti-error_log # CustomLog logs/cacti-access_log combined # # # ServerName log.ljyun.com # DocumentRoot /home/httpsqs # ErrorLog logs/httpsqs-error_log # CustomLog logs/httpsqs-access_log combined # #liangxifeng add Vhost for api 2012-12-19 start # # ServerName db_api.loc # DocumentRoot /home/db_api/html # ErrorLog logs/db_api-error_log # CustomLog logs/db_api-access_log combined # # # ServerName business_api.loc # DocumentRoot /home/business_api/html # ErrorLog logs/business_api-error_log # CustomLog logs/business_api-access_log combined # # # ServerName open_db_api.loc # DocumentRoot /home/open_db_api/html # ErrorLog logs/open_db_api-error_log # CustomLog logs/open_db_api-access_log combined # # # ServerName open_business_api.loc # DocumentRoot /home/open_business_api/html # ErrorLog logs/open_business_api-error_log # CustomLog logs/open_business_api-access_log combined # ServerName code_lib.loc DocumentRoot /home/code_lib/html ErrorLog logs/code_lib_error_log CustomLog logs/code_lib_access_log combined #liangxifeng add Vhost for api 2012-12-19 end #hanshaobo add Vhost for api 2013-9-29 start # # ServerName business.api.develop # DocumentRoot /home/business_api_develop/html # ErrorLog logs/business_api_develop-error_log # CustomLog logs/business_api_develop-access_log combined # # # ServerName business.api.test # DocumentRoot /home/business_api_test/html # ErrorLog logs/business_api_test-error_log # CustomLog logs/business_api_test-access_log combined # # # ServerName db.api.develop # DocumentRoot /home/db_api_develop/html # ErrorLog logs/db_api_develop-error_log # CustomLog logs/db_api_test-access_log combined # # # ServerName db.api.test # DocumentRoot /home/db_api_test/html # ErrorLog logs/db_api_test-error_log # CustomLog logs/db_api_test-access_log combined # #hanshaobo add Vhost for api 2013-9-29 end #hanshaobo add Vhost for api 2013-12-07 start ServerName bll.api.develop DocumentRoot /home/business_api_develop/html ErrorLog logs/bll_api_develop-error_log CustomLog logs/bll_api_develop-access_log combined ServerName bll.api.test DocumentRoot /home/business_api_test/html ErrorLog logs/bll_api_test-error_log CustomLog logs/bll_api_test-access_log combined ServerName dal.api.develop DocumentRoot /home/db_api_develop/html ErrorLog logs/dal_api_develop-error_log CustomLog logs/dal_api_test-access_log combined ServerName dal.api.test DocumentRoot /home/db_api_test/html ErrorLog logs/dal_api_test-error_log CustomLog logs/dal_api_test-access_log combined #hanshaobo add Vhost for api 2013-12-07 end #hanshaobo add Vhost for api 2013-4-3 start ServerName wordpress.loc DocumentRoot /home/wordpress/html ErrorLog logs/wordpress_error_log CustomLog logs/wordpress_access_log combined ServerName admin.ljmall.develop DocumentRoot /home/new_ljmall_develop/html ErrorLog logs/admin_ljmall_develop_error_log CustomLog logs/admin_ljmall_develop_access_log combined ServerName admin.ljmall.test DocumentRoot /home/new_ljmall_test/html ErrorLog logs/admin_ljmall_test_error_log CustomLog logs/admin_ljmall_test_access_log combined ServerName topic.ljmall.develop DocumentRoot /home/new_ljmall_develop/html/topic ErrorLog logs/topic_ljmall_develop_error_log CustomLog logs/topic_ljmall_develop_access_log combined RewriteEngine on RewriteRule ^/ajax/(.*)$ http://new.ljmall.develop/index.php/ajax/$1 ServerName topic.ljmall.test DocumentRoot /home/new_ljmall_test/html/topic ErrorLog logs/topic_ljmall_test_error_log CustomLog logs/topic_ljmall_test_access_log combined #hanshaobo add Vhost for api 2013-4-3 end ServerName lanjing.develop DocumentRoot /home/lanjing/html ErrorLog logs/lanjing-error_log CustomLog logs/lanjing-access_log combined RewriteEngine on RewriteRule ^/ljnews/news_([0-9]+)/$ /ljnews/news_show.php?id=$1 RewriteRule ^/ljnews/lj_trends_([0-9]+)/$ /ljnews/lj_trends.php?page=$1 RewriteRule ^/ljnews/news_list_([0-9]+)/$ /ljnews/news_list.php?page=$1 RewriteRule ^/ljnews/market_list_([0-9]+)/$ /ljnews/market_list.php?page=$1 RewriteRule ^/ljnews/shop_list_([0-9]+)/$ /ljnews/shop_list.php?page=$1 RewriteRule ^/ljnewshop/$ /ljnewshop/index.php RewriteRule ^/ljnews/shop_list_([0-9]+)/$ /ljnews/shop_list.php?page=$1 RewriteRule ^/ljnewshop/$ /ljnewshop/index.php RewriteRule ^/ljnewshop/shop_([0-9]+)/$ /ljnewshop/shop_index.php?shopid=$1 RewriteRule ^/ljnewshop/cat_([0-9]+)_([0-9]+)/$ /ljnewshop/cat.php?classid=$1&page=$2 RewriteRule ^/ljnewshop/sale_([0-9]+)/$ /ljnewshop/sale.php?page=$1 RewriteRule ^/ljnewshop/pro_detail_([0-9]+)/$ /ljnewshop/pro_detail.php?proid=$1 RewriteRule ^/ljnewshop/shop_comm_list_([0-9]+)_([0-9]+)/$ /ljnewshop/shop_comm_list.php?shopid=$1&page=$2 RewriteRule ^/ljnewshop/shop_price_list_([0-9]+)_([0-9]+)/$ /ljnewshop/shop_price_list.php?shopid=$1&page=$2 RewriteRule ^/ljnewshop/shop_comm_list_([0-9]+)_([0-9]+)_([0-9]+)/$ /ljnewshop/shop_comm_list.php?shopid=$1&typeid=$2&page=$3 RewriteRule ^/ljnewshop/shop_price_list_([0-9]+)_([0-9]+)_([0-9]+)/$ /ljnewshop/shop_price_list.php?shopid=$1&typeid=$2&page=$3 RewriteRule ^/ljnewshop/shop_lz_price_list_([0-9]+)_([0-9]+)_([0-9]+)/$ /ljnewshop/shop_lz_price_list.php?shopid=$1&typeid=$2&page=$3 RewriteRule ^/ljnewshop/shop_lz_about_([0-9]+)/$ /ljnewshop/shop_lz_about.php?shopid=$1 RewriteRule ^/ljnewshop/shop_dzs_about_([0-9]+)/$ /ljnewshop/shop_dzs_about.php?shopid=$1 RewriteRule ^/ljnewshop/shop_about_([0-9]+)/$ /ljnewshop/shop_about.php?shopid=$1 RewriteRule ^/ljnewshop/shop_news_([0-9]+)/$ /ljnewshop/shop_news.php?shopid=$1 RewriteRule ^/ljnewshop/shop_show_([0-9]+)/$ /ljnewshop/shop_show.php?shopid=$1 RewriteRule ^/ljnewshop/sale_([0-9]+)/$ /ljnewshop/sale.php?page=$1 RewriteRule ^/ljnewshop/sale_detail_([0-9]+)/$ /ljnewshop/sale_detail.php?cid=$1 RewriteRule ^/ljnewshop/sell_list_([0-9]+)_([0-9]+)/$ /ljnewshop/sell_list.php?typeid=$1&page=$2 RewriteRule ^/ljnewshop/shopnews_detail_([0-9]+)_([0-9]+)/$ /ljnewshop/shopnews_detail.php?shopid=$1&newsid=$2 RewriteRule ^/ljnewshop/shop_lz_price_list_([0-9]+)_([0-9]+)_([0-9]+)/?smmbj=(.*)$ /ljnewshop/shop_lz_price_list.php?shopid=$1&typeid=$2&page=$3&smmbj=$4 RewriteRule ^/ljnewshop/shop_price_list_([0-9]+)_([0-9]+)_([0-9]+)/?smmbj=(.*)$ /ljnewshop/shop_price_list.php?shopid=$1&typeid=$2&page=$3&smmbj=$4 RewriteRule ^/ljservice/$ /ljservice/index.php RewriteRule ^/ljservice/serviceshop_list/$ /ljservice/serviceshop_list.php RewriteRule ^/ljservice/servicepromotion_list_([0-9]+)/$ /ljservice/servicepromotion_list.php?page=$1 RewriteRule ^/ljservice/serviceshop_show_([0-9]+)/$ /ljservice/serviceshop_show.php?id=$1 RewriteRule ^/ljservice/servicedesigner_list_([0-9]+)/$ /ljservice/servicedesigner_list.php?page=$1 RewriteRule ^/ljservice/servicecase_list_([0-9]+)/$ /ljservice/servicecase_list.php?page=$1 RewriteRule ^/ljservice/serviceshop_show_([0-9]+)/$ /ljservice/serviceshop_show.php?id=$1 RewriteRule ^/ljservice/serviceshop_show_([0-9]+)/$ /ljservice/serviceshop_show.php?id=$1 RewriteRule ^/ljservice/service_caseshow_([0-9]+)/$ /ljservice/service_caseshow.php?eid=$1 RewriteRule ^/ljservice/servicedesigner_show_([0-9]+)/$ /ljservice/servicedesigner_show.php?id=$1 RewriteRule ^/ljservice/service_introshow_([0-9]+)_([0-9]+)/$ /ljservice/service_introshow.php?id=$1&type=$2 RewriteRule ^/ljservice/service_designerlist_([0-9]+)_([0-9]+)/$ /ljservice/service_designerlist.php?id=$1&page=$2 RewriteRule ^/ljservice/service_caselist_([0-9]+)_([0-9]+)/$ /ljservice/service_caselist.php?id=$1&page=$2 RewriteRule ^/ljdzs/$ /ljdzs/index.php RewriteRule ^/ljdzs/activList_([0-9]+)/$ /ljdzs/activList.php?id=$1 RewriteRule ^/ljdzs/activitieslist_([0-9]+)/$ /ljdzs/activitieslist.php?id=$1 RewriteRule ^/ljdzs/storeList_([0-9]+)/$ /ljdzs/storeList.php?page=$1 RewriteRule ^/ljdzs/storeList_f([0-9]+)_([0-9]+)/$ /ljdzs/storeList.php?fid=$1&page=$2 RewriteRule ^/ljdzs/storesshow_([0-9]+)/$ /ljdzs/storesshow.php?id=$1 RewriteRule ^/ljdzs/storeList_([0-9]+)_([0-9]+)/$ /ljdzs/storeList.php?id=$1&page=$2 #20120726 RewriteRule ^/ljlz/storeList_([0-9]+)/$ /ljlz/index.php?page=$1 RewriteRule ^/ljlz/storeList/?key=(.*)$ /ljlz/index.php?key=$1 RewriteRule ^/ljdzs/plain_([0-9]+)/$ /ljdzs/plain.php?page=$1 RewriteRule ^/ljdzs/plain_([0-9]+)_([0-9]+)/$ /ljdzs/plain.php?id=$1&page=$2 RewriteRule ^/ljdecoration/$ /ljdecoration/index.php RewriteRule ^/ljdecoration/promotion_list_([0-9]+)/$ /ljdecoration/promotion_list.php?page=$1 RewriteRule ^/ljdecoration/completed_case_([0-9]+)/$ /ljdecoration/completed_case.php?page=$1 RewriteRule ^/ljdecoration/centre_newslist_([0-9]+)/$ /ljdecoration/centre_newslist.php?page=$1 RewriteRule ^/ljdecoration/class_nurse_([0-9]+)/$ /ljdecoration/class_nurse.php?page=$1 RewriteRule ^/ljdecoration/worker_list_([0-9]+)/$ /ljdecoration/worker_list.php?page=$1 RewriteRule ^/ljdecoration/worker_show_([0-9]+)/$ /ljdecoration/worker_show.php?id=$1 RewriteRule ^/ljdecoration/now_case_([0-9]+)/$ /ljdecoration/now_case.php?page=$1 RewriteRule ^/ljdecoration/now_caseshow_([0-9]+)/$ /ljdecoration/now_caseshow.php?id=$1 RewriteRule ^/ljdecoration/designer_list_([0-9]+)/$ /ljdecoration/designer_list.php?page=$1 RewriteRule ^/ljdecoration/designer_show_([0-9]+)/$ /ljdecoration/designer_show.php?id=$1 RewriteRule ^/ljdecoration/class_check_([0-9]+)/$ /ljdecoration/class_check.php?page=$1 RewriteRule ^/ljdecoration/class_choose_([0-9]+)/$ /ljdecoration/class_choose.php?page=$1 RewriteRule ^/ljdecoration/shops_list_([0-9]+)/$ /ljdecoration/shops_list.php?page=$1 RewriteRule ^/ljdecoration/BaseMaterial_list_([0-9]+)/$ /ljdecoration/BaseMaterial_list.php?page=$1 RewriteRule ^/ljdecoration/process_([0-9]+)/$ /ljdecoration/process.php?page=$1 RewriteRule ^/ljdecoration/village_list_([0-9]+)/$ /ljdecoration/village_list.php?page=$1 RewriteRule ^/ljdecoration/designer_show_([0-9]+)/$ /ljdecoration/designer_show.php?id=$1 RewriteRule ^/ljdecoration/completed_caseshow_([0-9]+)/$ /ljdecoration/completed_caseshow.php?id=$1 RewriteRule ^/ljcustomer/$ /ljcustomer/index.php RewriteRule ^/ljcustomer/aboutLaw_([0-9]+)/$ /ljcustomer/aboutLaw.php?page=$1 RewriteRule ^/ljcustomer/answershow_([0-9]+)_([0-9]+)/$ /ljcustomer/answershow.php?id=$1&page=$2 RewriteRule ^/ljcustomer/answer_(.*)_([0-9]+)/$ /ljcustomer/answer.php?act=$1&page=$2 RewriteRule ^/ljdzs/question/$ /ljdzs/question.php?sift=com RewriteRule ^/ljdzs/serviceshow/$ /ljdzs/serviceshow.php RewriteRule ^/ljdzs/aftersale/$ /ljdzs/aftersale.php RewriteRule ^/ljdzs/aboutLaw_([0-9]+)/$ /ljdzs/aboutLaw.php?page=$1 RewriteRule ^/memberlogin/$ /memberlogin.php RewriteRule ^/ljhomenews/$ /ljhomenews/index.php RewriteRule ^/ljhomenews/hottalk_([0-9]+)/$ /ljhomenews/hottalk.php?page=$1 RewriteRule ^/ljhomenews/exhibition_([0-9]+)/$ /ljhomenews/exhibition.php?page=$1 RewriteRule ^/ljhomenews/furniture_([0-9]+)/$ /ljhomenews/furniture.php?page=$1 RewriteRule ^/ljhomenews/material_([0-9]+)/$ /ljhomenews/material.php?page=$1 RewriteRule ^/ljhomenews/houseKeep_([0-9]+)/$ /ljhomenews/houseKeep.php?page=$1 RewriteRule ^/ljhomenews/nurse_([0-9]+)/$ /ljhomenews/nurse.php?page=$1 RewriteRule ^/ljhomenews/product_([0-9]+)/$ /ljhomenews/product.php?page=$1 RewriteRule ^/ljhomenews/engineering_([0-9]+)/$ /ljhomenews/engineering.php?page=$1 RewriteRule ^/ljhomenews/case_list_([0-9]+)/$ /ljhomenews/case_list.php?page=$1 RewriteRule ^/ljhomenews/case_show_([0-9]+)/$ /ljhomenews/case_show.php?id=$1 RewriteRule ^/footerlink/footerlink/$ /footerlink/footerlink.php?act=friend RewriteRule ^/footerlink/footerlink_([0-9]+)/$ /footerlink/footerlink.php?id=$1 RewriteRule ^/tuan/team_([0-9]+)/$ /tuan/team.php?id=$1 RewriteRule ^/ljcustomer/question_(.*)/$ /ljcustomer/question.php?sift=$1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/topic_(.+)/$ /bbs/portal.php?mod=topic&topic=$1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/article_([0-9]+)_([0-9]+)/$ /bbs/portal.php?mod=view&aid=$1&page=$2 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/forum_([0-9]+)_([0-9]+)/$ /bbs/forum.php?mod=forumdisplay&fid=$1&page=$2 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/thread_([0-9]+)_([0-9]+)_([0-9]+)/$ /bbs/forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/group_([0-9]+)_([0-9]+)/$ /bbs/forum.php?mod=group&fid=$1&page=$2 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/space_(username|uid)_(.+)/$ /bbs/home.php?mod=space&$1=$2 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/([a-z]+)_(.+)/$ /bbs/$1.php?rewrite=$2 RewriteRule ^/ljbrandshop/shop_show_([0-9]+)/?$ /ljbrandshop/shop_show.php?id=$1 RewriteRule ^/ljbrandshop/shop_show_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)/?$ /ljbrandshop/shop_show.php?id=$1&typeid=$2&tid=$3&page=$4 RewriteRule ^/ljbrandshop/shop_show_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)/?smmbj=(.*)$ /ljbrandshop/shop_show.php?id=$1&typeid=$2&tid=$3&page=$4&smmbj=$5 #RewriteRule ^/brandshop/list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)/?$ /ljbrandshop/list.php?type=$1&cate_id=$2&page=$3&order=$4 RewriteRule ^/brandshop/list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)/?$ /ljbrandshop/list.php?type=$1&cate_id=$2&tid=$3&page=$4&order=$5 #hanshaobo add Vhost for api 2013-8-7 start ServerName www.lanjing.test DocumentRoot /home/lanjing_test/html ErrorLog logs/lanjing_test-error_log CustomLog logs/lanjing_test-access_log combined RewriteEngine on RewriteRule ^/ljnews/news_([0-9]+)/$ /ljnews/news_show.php?id=$1 RewriteRule ^/ljnews/lj_trends_([0-9]+)/$ /ljnews/lj_trends.php?page=$1 RewriteRule ^/ljnews/news_list_([0-9]+)/$ /ljnews/news_list.php?page=$1 RewriteRule ^/ljnews/market_list_([0-9]+)/$ /ljnews/market_list.php?page=$1 RewriteRule ^/ljnews/shop_list_([0-9]+)/$ /ljnews/shop_list.php?page=$1 RewriteRule ^/ljnewshop/$ /ljnewshop/index.php RewriteRule ^/ljnewshop/shop_([0-9]+)/$ /ljnewshop/shop_index.php?shopid=$1 RewriteRule ^/ljnewshop/cat_([0-9]+)_([0-9]+)/$ /ljnewshop/cat.php?classid=$1&page=$2 RewriteRule ^/ljnewshop/sale_([0-9]+)/$ /ljnewshop/sale.php?page=$1 RewriteRule ^/ljnewshop/pro_detail_([0-9]+)/$ /ljnewshop/pro_detail.php?proid=$1 RewriteRule ^/ljnewshop/shop_comm_list_([0-9]+)_([0-9]+)/$ /ljnewshop/shop_comm_list.php?shopid=$1&page=$2 RewriteRule ^/ljnewshop/shop_price_list_([0-9]+)_([0-9]+)/$ /ljnewshop/shop_price_list.php?shopid=$1&page=$2 RewriteRule ^/ljnewshop/shop_comm_list_([0-9]+)_([0-9]+)_([0-9]+)/$ /ljnewshop/shop_comm_list.php?shopid=$1&typeid=$2&page=$3 RewriteRule ^/ljnewshop/shop_price_list_([0-9]+)_([0-9]+)_([0-9]+)/$ /ljnewshop/shop_price_list.php?shopid=$1&typeid=$2&page=$3 RewriteRule ^/ljnewshop/shop_lz_price_list_([0-9]+)_([0-9]+)_([0-9]+)/$ /ljnewshop/shop_lz_price_list.php?shopid=$1&typeid=$2&page=$3 RewriteRule ^/ljnewshop/shop_lz_about_([0-9]+)/$ /ljnewshop/shop_lz_about.php?shopid=$1 RewriteRule ^/ljnewshop/shop_dzs_about_([0-9]+)/$ /ljnewshop/shop_dzs_about.php?shopid=$1 RewriteRule ^/ljnewshop/shop_about_([0-9]+)/$ /ljnewshop/shop_about.php?shopid=$1 RewriteRule ^/ljnewshop/shop_news_([0-9]+)/$ /ljnewshop/shop_news.php?shopid=$1 RewriteRule ^/ljnewshop/shop_show_([0-9]+)/$ /ljnewshop/shop_show.php?shopid=$1 RewriteRule ^/ljnewshop/sale_([0-9]+)/$ /ljnewshop/sale.php?page=$1 RewriteRule ^/ljnewshop/sale_detail_([0-9]+)/$ /ljnewshop/sale_detail.php?cid=$1 RewriteRule ^/ljnewshop/sell_list_([0-9]+)_([0-9]+)/$ /ljnewshop/sell_list.php?typeid=$1&page=$2 RewriteRule ^/ljnewshop/shopnews_detail_([0-9]+)_([0-9]+)/$ /ljnewshop/shopnews_detail.php?shopid=$1&newsid=$2 RewriteRule ^/ljnewshop/shop_lz_price_list_([0-9]+)_([0-9]+)_([0-9]+)/?smmbj=(.*)$ /ljnewshop/shop_lz_price_list.php?shopid=$1&typeid=$2&page=$3&smmbj=$4 RewriteRule ^/ljnewshop/shop_price_list_([0-9]+)_([0-9]+)_([0-9]+)/?smmbj=(.*)$ /ljnewshop/shop_price_list.php?shopid=$1&typeid=$2&page=$3&smmbj=$4 RewriteRule ^/ljservice/$ /ljservice/index.php RewriteRule ^/ljservice/serviceshop_list/$ /ljservice/serviceshop_list.php RewriteRule ^/ljservice/servicepromotion_list_([0-9]+)/$ /ljservice/servicepromotion_list.php?page=$1 RewriteRule ^/ljservice/serviceshop_show_([0-9]+)/$ /ljservice/serviceshop_show.php?id=$1 RewriteRule ^/ljservice/servicedesigner_list_([0-9]+)/$ /ljservice/servicedesigner_list.php?page=$1 RewriteRule ^/ljservice/servicecase_list_([0-9]+)/$ /ljservice/servicecase_list.php?page=$1 RewriteRule ^/ljservice/serviceshop_show_([0-9]+)/$ /ljservice/serviceshop_show.php?id=$1 RewriteRule ^/ljservice/serviceshop_show_([0-9]+)/$ /ljservice/serviceshop_show.php?id=$1 RewriteRule ^/ljservice/service_caseshow_([0-9]+)/$ /ljservice/service_caseshow.php?eid=$1 RewriteRule ^/ljservice/servicedesigner_show_([0-9]+)/$ /ljservice/servicedesigner_show.php?id=$1 RewriteRule ^/ljservice/service_introshow_([0-9]+)_([0-9]+)/$ /ljservice/service_introshow.php?id=$1&type=$2 RewriteRule ^/ljservice/service_designerlist_([0-9]+)_([0-9]+)/$ /ljservice/service_designerlist.php?id=$1&page=$2 RewriteRule ^/ljservice/service_caselist_([0-9]+)_([0-9]+)/$ /ljservice/service_caselist.php?id=$1&page=$2 RewriteRule ^/ljdzs/$ /ljdzs/index.php RewriteRule ^/ljdzs/activList_([0-9]+)/$ /ljdzs/activList.php?id=$1 RewriteRule ^/ljdzs/activitieslist_([0-9]+)/$ /ljdzs/activitieslist.php?id=$1 RewriteRule ^/ljdzs/storeList_([0-9]+)/$ /ljdzs/storeList.php?page=$1 RewriteRule ^/ljdzs/storeList_f([0-9]+)_([0-9]+)/$ /ljdzs/storeList.php?fid=$1&page=$2 RewriteRule ^/ljdzs/storesshow_([0-9]+)/$ /ljdzs/storesshow.php?id=$1 RewriteRule ^/ljdzs/storeList_([0-9]+)_([0-9]+)/$ /ljdzs/storeList.php?id=$1&page=$2 #20120726 RewriteRule ^/ljlz/storeList_([0-9]+)/$ /ljlz/index.php?page=$1 RewriteRule ^/ljlz/storeList/?key=(.*)$ /ljlz/index.php?key=$1 RewriteRule ^/ljdzs/plain_([0-9]+)/$ /ljdzs/plain.php?page=$1 RewriteRule ^/ljdzs/plain_([0-9]+)_([0-9]+)/$ /ljdzs/plain.php?id=$1&page=$2 RewriteRule ^/ljdecoration/$ /ljdecoration/index.php RewriteRule ^/ljdecoration/promotion_list_([0-9]+)/$ /ljdecoration/promotion_list.php?page=$1 RewriteRule ^/ljdecoration/completed_case_([0-9]+)/$ /ljdecoration/completed_case.php?page=$1 RewriteRule ^/ljdecoration/centre_newslist_([0-9]+)/$ /ljdecoration/centre_newslist.php?page=$1 RewriteRule ^/ljdecoration/class_nurse_([0-9]+)/$ /ljdecoration/class_nurse.php?page=$1 RewriteRule ^/ljdecoration/worker_list_([0-9]+)/$ /ljdecoration/worker_list.php?page=$1 RewriteRule ^/ljdecoration/worker_show_([0-9]+)/$ /ljdecoration/worker_show.php?id=$1 RewriteRule ^/ljdecoration/now_case_([0-9]+)/$ /ljdecoration/now_case.php?page=$1 RewriteRule ^/ljdecoration/now_caseshow_([0-9]+)/$ /ljdecoration/now_caseshow.php?id=$1 RewriteRule ^/ljdecoration/designer_list_([0-9]+)/$ /ljdecoration/designer_list.php?page=$1 RewriteRule ^/ljdecoration/designer_show_([0-9]+)/$ /ljdecoration/designer_show.php?id=$1 RewriteRule ^/ljdecoration/class_check_([0-9]+)/$ /ljdecoration/class_check.php?page=$1 RewriteRule ^/ljdecoration/class_choose_([0-9]+)/$ /ljdecoration/class_choose.php?page=$1 RewriteRule ^/ljdecoration/shops_list_([0-9]+)/$ /ljdecoration/shops_list.php?page=$1 RewriteRule ^/ljdecoration/BaseMaterial_list_([0-9]+)/$ /ljdecoration/BaseMaterial_list.php?page=$1 RewriteRule ^/ljdecoration/process_([0-9]+)/$ /ljdecoration/process.php?page=$1 RewriteRule ^/ljdecoration/village_list_([0-9]+)/$ /ljdecoration/village_list.php?page=$1 RewriteRule ^/ljdecoration/designer_show_([0-9]+)/$ /ljdecoration/designer_show.php?id=$1 RewriteRule ^/ljdecoration/completed_caseshow_([0-9]+)/$ /ljdecoration/completed_caseshow.php?id=$1 RewriteRule ^/ljcustomer/$ /ljcustomer/index.php RewriteRule ^/ljcustomer/aboutLaw_([0-9]+)/$ /ljcustomer/aboutLaw.php?page=$1 RewriteRule ^/ljcustomer/answershow_([0-9]+)_([0-9]+)/$ /ljcustomer/answershow.php?id=$1&page=$2 RewriteRule ^/ljcustomer/answer_(.*)_([0-9]+)/$ /ljcustomer/answer.php?act=$1&page=$2 RewriteRule ^/ljdzs/question/$ /ljdzs/question.php?sift=com RewriteRule ^/ljdzs/serviceshow/$ /ljdzs/serviceshow.php RewriteRule ^/ljdzs/aftersale/$ /ljdzs/aftersale.php RewriteRule ^/ljdzs/aboutLaw_([0-9]+)/$ /ljdzs/aboutLaw.php?page=$1 RewriteRule ^/memberlogin/$ /memberlogin.php RewriteRule ^/ljhomenews/$ /ljhomenews/index.php RewriteRule ^/ljhomenews/hottalk_([0-9]+)/$ /ljhomenews/hottalk.php?page=$1 RewriteRule ^/ljhomenews/exhibition_([0-9]+)/$ /ljhomenews/exhibition.php?page=$1 RewriteRule ^/ljhomenews/furniture_([0-9]+)/$ /ljhomenews/furniture.php?page=$1 RewriteRule ^/ljhomenews/material_([0-9]+)/$ /ljhomenews/material.php?page=$1 RewriteRule ^/ljhomenews/houseKeep_([0-9]+)/$ /ljhomenews/houseKeep.php?page=$1 RewriteRule ^/ljhomenews/nurse_([0-9]+)/$ /ljhomenews/nurse.php?page=$1 RewriteRule ^/ljhomenews/product_([0-9]+)/$ /ljhomenews/product.php?page=$1 RewriteRule ^/ljhomenews/engineering_([0-9]+)/$ /ljhomenews/engineering.php?page=$1 RewriteRule ^/ljhomenews/case_list_([0-9]+)/$ /ljhomenews/case_list.php?page=$1 RewriteRule ^/ljhomenews/case_show_([0-9]+)/$ /ljhomenews/case_show.php?id=$1 RewriteRule ^/footerlink/footerlink/$ /footerlink/footerlink.php?act=friend RewriteRule ^/footerlink/footerlink_([0-9]+)/$ /footerlink/footerlink.php?id=$1 RewriteRule ^/tuan/team_([0-9]+)/$ /tuan/team.php?id=$1 RewriteRule ^/ljcustomer/question_(.*)/$ /ljcustomer/question.php?sift=$1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/topic_(.+)/$ /bbs/portal.php?mod=topic&topic=$1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/article_([0-9]+)_([0-9]+)/$ /bbs/portal.php?mod=view&aid=$1&page=$2 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/forum_([0-9]+)_([0-9]+)/$ /bbs/forum.php?mod=forumdisplay&fid=$1&page=$2 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/thread_([0-9]+)_([0-9]+)_([0-9]+)/$ /bbs/forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/group_([0-9]+)_([0-9]+)/$ /bbs/forum.php?mod=group&fid=$1&page=$2 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/space_(username|uid)_(.+)/$ /bbs/home.php?mod=space&$1=$2 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^/bbs/([a-z]+)_(.+)/$ /bbs/$1.php?rewrite=$2 RewriteRule ^/ljbrandshop/shop_show_([0-9]+)/?$ /ljbrandshop/shop_show.php?id=$1 RewriteRule ^/ljbrandshop/shop_show_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)/?$ /ljbrandshop/shop_show.php?id=$1&typeid=$2&tid=$3&page=$4 RewriteRule ^/ljbrandshop/shop_show_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)/?smmbj=(.*)$ /ljbrandshop/shop_show.php?id=$1&typeid=$2&tid=$3&page=$4&smmbj=$5 #RewriteRule ^/brandshop/list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)/?$ /ljbrandshop/list.php?type=$1&cate_id=$2&page=$3&order=$4 RewriteRule ^/brandshop/list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)/?$ /ljbrandshop/list.php?type=$1&cate_id=$2&tid=$3&page=$4&order=$5 #hanshaobo add Vhost for api 2013-8-7 end #hanshaobo add Vhost for api 2013-9-4 start ServerName lanmayi.develop DocumentRoot /home/lmy_develop/html ErrorLog logs/lmy_develop_error_log CustomLog logs/lmy_develop_access_log combined AddDefaultCharset GB2312 RewriteEngine on #RewriteBase / #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d RewriteRule /brand/index.html /brand/index.php [PT] RewriteRule /mall/index.html /mall/index.php [PT] RewriteRule /discount/index.html /discount/index.php [PT] RewriteRule /ask/index.html /ask/index.php [PT] RewriteRule /community/index.html /community/index.php [PT] RewriteRule /members/index.html /members/index.php [PT] RewriteRule /price/index.html /price/index.php [PT] #RewriteRule /mall_l_([0-9]+)/ /mall/category_list_bar_old.php?classid=$1 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)/ /mall/category_list_bar_old.php?classid=$1&page=$2 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)/ /mall/category_list_bar_old.php?classid=$1&page=$2&brandid=$3 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)_w([0-9]+)/ /mall/category_list_bar_old.php?classid=$1&page=$2&brandid=$3&viewsorts=$4 [PT] RewriteRule /mall_l_c([0-9]+)_b([0-9]+)_p([0-9]+)/ /mall/category_list_bar_old.php?classid=$1&brandid=$2&page=$3 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)_v([0-9]+)/ /mall/category_list_bar_old.php?classid=$1&page=$2&brandid=$3&viewsort=$4 [PT] RewriteRule /mall_l_([0-9]+)/ /mall/category_list_bar.php?classid=$1 [PT] RewriteRule /mall_l_([0-9]+)_l([0-9]+)/ /mall/category_list_bar.php?classid=$1&list=$2 [PT] RewriteRule /mall_l_c([0-9]+)_l([0-9]+)_p([0-9]+)/ /mall/category_list_bar.php?classid=$1&list=$2&page=$3 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)_l([0-9]+)/ /mall/category_list_bar.php?classid=$1&page=$2&brandid=$3&list=$4 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)_w([0-9]+)_l([0-9]+)/ /mall/category_list_bar.php?classid=$1&page=$2&brandid=$3&viewsorts=$4&list=$5 [PT] RewriteRule /mall_l_c([0-9]+)_b([0-9]+)_l([0-9]+)_p([0-9]+)/ /mall/category_list_bar.php?classid=$1&brandid=$2&list=$3&page=$4 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)_v([0-9]+)_l([0-9]+)/ /mall/category_list_bar.php?classid=$1&page=$2&brandid=$3&viewsort=$4&list=$5 [PT] # RewriteRule /product_([0-9]+)/$ /mall/product.php?proid=$1 [L,NC] # RewriteRule /product_([0-9]+)$ http://lanmayi.develop/product_$1/ [R=301,NC] #RewriteRule /mall/product_([0-9]+).html /mall/product.php?proid=$1 [PT] RewriteRule /mall/product_([0-9]+).html http://lanmayi.develop/product_$1/ [R=301,NC] RewriteRule /mall_p_([0-9]+)/ /mall/product2.php?proid=$1 [PT] RewriteRule /mall_t_([0-9]+)/ /mall/category_list_bar_t.php?brandid=$1 [PT] RewriteRule /mall_t_b([0-9]+)_p([0-9]+)/ /mall/category_list_bar_t.php?brandid=$1&page=$2 [PT] RewriteRule /mall_t_b([0-9]+)_p([0-9]+)_v([0-9]+)/ /mall/category_list_bar_t.php?brandid=$1&page=$2&viewsorts=$3 [PT] RewriteRule /mall_l_b/ /mall/category_list_big.php [PT] RewriteRule /mall_l_m([0-9]+)_p([0-9]+)/ /mall/shop_list_mall.php?type=$1&page=$2 [PT] RewriteRule /mall_l_m([0-9]+)/ /mall/shop_list_mall.php?type=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/index.html /shopframe/index.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/([0-9]+).html /shopframe/release.php?name=$1&shopid=$2 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/product.html /shopframe/product.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/about.html /shopframe/about.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/info.html /shopframe/info.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/shopshow.html /shopframe/shopshow.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/that.html /shopframe/that.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/guestbook.html /shopframe/guestbook.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/info_([0-9]+).html /shopframe/info.php?id=$1&page=$2 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/product_([0-9]+).html /shopframe/product.php?id=$1&page=$2 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/guestbook_([0-9]+).html /shopframe/guestbook.php?id=$1&page=$2 [PT] RewriteRule /brand_s_([0-9]+)/ /brand/brand_small.php?cid=$1 [PT] RewriteRule /brand_s_c([0-9]+)_p([0-9]+)/ /brand/brand_small.php?cid=$1&pageno=$2 [PT] RewriteRule /brand_l_([0-9]+)/ /brand/brand_list.php?cid=$1 [PT] RewriteRule /brand_l_c([0-9]+)_p([0-9]+)/ /brand/brand_list.php?cid=$1&pageno=$2 [PT] RewriteRule /brand_([0-9]+)/ /brand/brand_datashow.php?id=$1 [PT] RewriteRule /comment_([0-9]+)/ /comment/?id=$1 [PT] RewriteRule /comment_l_([0-9]+)/ /comment/comment_list.php?id=$1 [PT] RewriteRule /comment_l_i([0-9]+)_p([0-9]+)/ /comment/comment_list.php?id=$1&pageno=$2 [PT] RewriteRule /comment_r_d([0-9]+)_b([0-9]+)/ /comment/release.php?bid=$1&bn=$2 [PT] RewriteRule /ask_l_d([0-9]+)_s([0-2]+)_p([0-9]+)/ /ask/category_list_msall.php?d=$1&s=$2&pageno=$3 [PT] RewriteRule /ask_b_d([0-9]+)_s([0-2]+)_p([0-9]+)/ /ask/category_list_msall_bar.php?d=$1&s=$2&pageno=$3 [PT] RewriteRule /ask_([0-9]+)/ /ask/data_show1.php?id=$1 [PT] RewriteRule /ask_r_([0-9]+)/ /ask/release.php?t=$1 [PT] RewriteRule /ask_re_([0-9]+)/ /ask/release.php?rid=$1 [PT] RewriteRule /ask_big/ /ask/category_list_big.php [PT] RewriteRule /community_c_([0-9]+)/ /community/category_list.php?cid=$1 [PT] RewriteRule /community_c_c([0-9]+)_p([0-9]+)/ /community/category_list.php?cid=$1&pageno=$2 [PT] RewriteRule /community_l_([0-9]+)/ /community/list.php?cid=$1 [PT] RewriteRule /community_l_c([0-9]+)_p([0-9]+)/ /community/list.php?cid=$1&pageno=$2 [PT] RewriteRule /community_([0-9]+)/ /community/data_show2.php?id=$1 [PT] RewriteRule /community_r_b([a-z]+)_d([0-9]+)_u([0-9]+)/ /community/release.php?tb=$1&td=$2&user=$3 [PT] RewriteRule /community_t_([0-9]+)/ /community/Tui.php?id=$1 [PT] RewriteRule /community_r_a([a-z]+)_t([0-9]+)/ /community/release.php?action=$1&td=$2 [PT] RewriteRule /community_d_a([a-z]+)_i([0-9]+)_u([0-9]+)/ /community/data.php?team=$1&team_id=$2&user_id=$3 [PT] RewriteRule /discount_list/ /discount/discount_list.php [PT] RewriteRule /discount_list_p([0-9]+)/ /discount/discount_list.php?page=$1 [PT] RewriteRule /discount_list_([0-9]+)/ /discount/discount_list.php?type=$1 [PT] RewriteRule /discount_list_([0-9]+)_p([0-9]+)/ /discount/discount_list.php?type=$1&page=$2 [PT] RewriteRule /discount_list_c([0-9]+)/ /discount/discount_list.php?city=$1 [PT] RewriteRule /discount_list_c([0-9]+)_p([0-9]+)/ /discount/discount_list.php?city=$1&page=$2 [PT] RewriteRule /market_list/ /discount/market_list.php [PT] RewriteRule /market_list_p([0-9]+)/ /discount/market_list.php?page=$1 [PT] RewriteRule /discount_([0-9]+)/ /discount/discount_detail.php?strid=$1 [PT] RewriteRule /market_([0-9]+)/ /discount/market.php?mid=$1 [PT] RewriteRule /market_([0-9]+)_p([0-9]+)/ /discount/market.php?mid=$1&page=$2 [PT] #团购 RewriteRule /tuan/([0-9]+).html /tuan/product.php?id=$1 [PT] #作品展示首页 RewriteRule /syds_zpzs/ /syds/zpzs.php [PT] #分组作品列表 RewriteRule /syds_zyz/ /syds/zyz.php [PT] RewriteRule /syds_zyz_p([0-9]+)/ /syds/zyz.php?pageno=$1 [PT] RewriteRule /syds_yyz/ /syds/yyz.php [PT] RewriteRule /syds_yyz_p([0-9]+)/ /syds/yyz.php?pageno=$1 [PT] RewriteRule /syds_tyz/ /syds/tyz.php [PT] RewriteRule /syds_tyz_p([0-9]+)/ /syds/tyz.php?pageno=$1 [PT] RewriteRule /syds_lzp/ /syds/lzp.php [PT] RewriteRule /syds_lzp_p([0-9]+)/ /syds/lzp.php?pageno=$1 [PT] #作者作品列表 RewriteRule /syds_a_zy/ /syds/auth_zy.php [PT] RewriteRule /syds_a_zy_p([0-9]+)/ /syds/auth_zy.php?pageno=$1 [PT] RewriteRule /syds_a_yy/ /syds/auth_yy.php [PT] RewriteRule /syds_a_yy_p([0-9]+)/ /syds/auth_yy.php?pageno=$1 [PT] RewriteRule /syds_a_ty/ /syds/auth_ty.php [PT] RewriteRule /syds_a_ty_p([0-9]+)/ /syds/auth_ty.php?pageno=$1 [PT] RewriteRule /syds_a_lzp/ /syds/auth_lzp.php [PT] RewriteRule /syds_a_lzp_p([0-9]+)/ /syds/auth_lzp.php?pageno=$1 [PT] #作品详细 RewriteRule /syds_z([0-9]+)_t([0-9]+)/ /syds/view.php?aid=$1&pid=$2 [PT] #活动报道列表 RewriteRule /syds_info/ /syds/photoinfo_list.php [PT] RewriteRule /syds_info_p([0-9]+)/ /syds/photoinfo_list.php?pageno=$1 [PT] #活动报道详细 RewriteRule /syds_x([0-9]+)/ /syds/photo_info.php?pid=$1 [PT] #作者详细 RewriteRule /syds_auth_([0-9]+)/ /syds/auth.php?aid=$1 [PT] RewriteRule /tuping_flag_([0-9]+)/ /tuping/tuping_list_flag.php?pagenum=$1 [PT] RewriteRule /tuping_tag_p([0-9]+)_t([0-9]+)/ /tuping/tuping_list_tag.php?pagenum=$1&tag=$2 [PT] RewriteRule /tuping_type_p([0-9]+)_t([0-9]+)/ /tuping/tuping_list_type.php?pagenum=$1&type_id=$2 [PT] RewriteRule /tuping_only_([0-9]+)/ /tuping/tuping_pic_0.php?mid=$1 [PT] RewriteRule /tuping_only_([0-9]+)$ http://lanmayi.develop/tuping_only_$1/ [R=301,NC] RewriteRule /tuping_more_([0-9]+)/ /tuping/tuping_pic_1.php?mid=$1 [PT] RewriteRule /tuping_more_([0-9]+)$ http://lanmayi.develop/tuping_more_$1/ [R=301,NC] RewriteRule /tuping_tags/ /tuping/tuping_tag.php [PT] #jason 09.09.17 -exhibition RewriteRule /exhibition_news_([0-9]+)/ /exhibition/exhiinfo.php?eid=$1 [PT] RewriteRule /exhibition_news_list_p([0-9]+)/ /exhibition/exhilist.php?page=$1 [PT] RewriteRule /exhibition_contact/ /exhibition/contact.php [PT] RewriteRule /exhibition_old_list_p([0-9]+)/ /exhibition/companylist.php?t=1&page=$1 [PT] RewriteRule /exhibition_new_list_p([0-9]+)/ /exhibition/companylist.php?t=0&page=$1 [PT] RewriteRule /exhibition_([0-9]+)/ /exhibition/company.php?cid=$1 [PT] RewriteRule /exhibition_comment/ /exhibition/comment.php [PT] RewriteRule /exhibition_comment_p([0-9]+)/ /exhibition/comment.php?page=$1 [PT] RewriteRule /sitemap_product_s([0-9]+)/ /sitemap_product.php?sid=$1 [PT] RewriteRule /sitemap_product_s([0-9]+)_p([0-9]+)/ /sitemap_product.php?sid=$1&page=$2 [PT] RewriteRule /sitemap_product_l([0-9]+)/ /sitemap_product.php?bid=$1 [PT] RewriteRule /sitemap_product_l([0-9]+)_p([0-9]+)/ /sitemap_product.php?bid=$1&page=$2 [PT] RewriteRule /sitemap_discount_s([0-9]+)/ /sitemap_discount.php?sid=$1 [PT] RewriteRule /sitemap_discount_s([0-9]+)_p([0-9]+)/ /sitemap_discount.php?sid=$1&page=$2 [PT] RewriteRule /sitemap_discount_l([0-9]+)/ /sitemap_discount.php?bid=$1 [PT] RewriteRule /sitemap_discount_l([0-9]+)_p([0-9]+)/ /sitemap_discount.php?bid=$1&page=$2 [PT] #只看不买 2013-10-11 RewriteRule /zkbm/snap_view_sort.html /zkbm/snap_view_sort.php [PT] RewriteRule /zkbm/(index\.html)?$ /zkbm/snap_view_home.php RewriteRule /zkbm/list_(\d*)/$ /zkbm/snap_view_list.php?cate_id=$1 RewriteRule /zkbm/product_(\d*)/$ /zkbm/snap_view_detail.php?goods_id=$1 RewriteRule /zkbm/list/$ /zkbm/snap_view_list.php RewriteRule /zkbm/product_([0-9]+)/$ http://lanmayi.develop/zkbm/product_$1/ [R=301,NC] #RewriteCond %{HTTP_REFERER} !^http://(www\.)?lanmayi\.cn/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://(new\.)?lanmayi\.cn/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://(www\.)?ljlj\.cc/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://(www\.)?lanjing-lijia\.com/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://(shops\.)?ljlj\.cc/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://(shops\.)?lanjing-lijia\.com/.*$ [NC] #RewriteRule \.(jpg|jpeg|gif|png|bmp|rar|zip|exe)$ http://www.lanmayi.cn/index.html [R=301,L] #ErrorLog logs/www.lanmayi.cn-error_log #CustomLog logs/www.lanmayi.cn-access_log common SetEnvIf Request_URI "\.gif$" dontlog SetEnvIf Request_URI "\.jpg$" dontlog SetEnvIf Request_URI "\.png$" dontlog SetEnvIf Request_URI "\.bmp$" dontlog SetEnvIf Request_URI "\.swf$" dontlog SetEnvIf Request_URI "\.js$" dontlog SetEnvIf Request_URI "\.css$" dontlog SetEnvIf Request_URI "\.ico$" dontlog ServerName lanmayi.test DocumentRoot /home/lmy_test/html ErrorLog logs/lmy_test_error_log CustomLog logs/lmy_test_access_log combined AddDefaultCharset GB2312 RewriteEngine on #RewriteBase / #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d RewriteRule /brand/index.html /brand/index.php [PT] RewriteRule /mall/index.html /mall/index.php [PT] RewriteRule /discount/index.html /discount/index.php [PT] RewriteRule /ask/index.html /ask/index.php [PT] RewriteRule /community/index.html /community/index.php [PT] RewriteRule /members/index.html /members/index.php [PT] RewriteRule /price/index.html /price/index.php [PT] #RewriteRule /mall_l_([0-9]+)/ /mall/category_list_bar_old.php?classid=$1 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)/ /mall/category_list_bar_old.php?classid=$1&page=$2 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)/ /mall/category_list_bar_old.php?classid=$1&page=$2&brandid=$3 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)_w([0-9]+)/ /mall/category_list_bar_old.php?classid=$1&page=$2&brandid=$3&viewsorts=$4 [PT] RewriteRule /mall_l_c([0-9]+)_b([0-9]+)_p([0-9]+)/ /mall/category_list_bar_old.php?classid=$1&brandid=$2&page=$3 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)_v([0-9]+)/ /mall/category_list_bar_old.php?classid=$1&page=$2&brandid=$3&viewsort=$4 [PT] RewriteRule /mall_l_([0-9]+)/ /mall/category_list_bar.php?classid=$1 [PT] RewriteRule /mall_l_([0-9]+)_l([0-9]+)/ /mall/category_list_bar.php?classid=$1&list=$2 [PT] RewriteRule /mall_l_c([0-9]+)_l([0-9]+)_p([0-9]+)/ /mall/category_list_bar.php?classid=$1&list=$2&page=$3 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)_l([0-9]+)/ /mall/category_list_bar.php?classid=$1&page=$2&brandid=$3&list=$4 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)_w([0-9]+)_l([0-9]+)/ /mall/category_list_bar.php?classid=$1&page=$2&brandid=$3&viewsorts=$4&list=$5 [PT] RewriteRule /mall_l_c([0-9]+)_b([0-9]+)_l([0-9]+)_p([0-9]+)/ /mall/category_list_bar.php?classid=$1&brandid=$2&list=$3&page=$4 [PT] RewriteRule /mall_l_c([0-9]+)_p([0-9]+)_b([0-9]+)_v([0-9]+)_l([0-9]+)/ /mall/category_list_bar.php?classid=$1&page=$2&brandid=$3&viewsort=$4&list=$5 [PT] # RewriteRule /product_([0-9]+)/$ /mall/product.php?proid=$1 [L,NC] # RewriteRule /product_([0-9]+)$ http://lanmayi.test/product_$1/ [R=301,NC] #RewriteRule /mall/product_([0-9]+).html /mall/product.php?proid=$1 [PT] RewriteRule /mall/product_([0-9]+).html http://lanmayi.test/product_$1/ [R=301,NC] RewriteRule /mall_p_([0-9]+)/ /mall/product2.php?proid=$1 [PT] RewriteRule /mall_t_([0-9]+)/ /mall/category_list_bar_t.php?brandid=$1 [PT] RewriteRule /mall_t_b([0-9]+)_p([0-9]+)/ /mall/category_list_bar_t.php?brandid=$1&page=$2 [PT] RewriteRule /mall_t_b([0-9]+)_p([0-9]+)_v([0-9]+)/ /mall/category_list_bar_t.php?brandid=$1&page=$2&viewsorts=$3 [PT] RewriteRule /mall_l_b/ /mall/category_list_big.php [PT] RewriteRule /mall_l_m([0-9]+)_p([0-9]+)/ /mall/shop_list_mall.php?type=$1&page=$2 [PT] RewriteRule /mall_l_m([0-9]+)/ /mall/shop_list_mall.php?type=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/index.html /shopframe/index.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/([0-9]+).html /shopframe/release.php?name=$1&shopid=$2 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/product.html /shopframe/product.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/about.html /shopframe/about.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/info.html /shopframe/info.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/shopshow.html /shopframe/shopshow.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/that.html /shopframe/that.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/guestbook.html /shopframe/guestbook.php?id=$1 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/info_([0-9]+).html /shopframe/info.php?id=$1&page=$2 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/product_([0-9]+).html /shopframe/product.php?id=$1&page=$2 [PT] RewriteRule /shop_([a-z0-9A-Z]+)/guestbook_([0-9]+).html /shopframe/guestbook.php?id=$1&page=$2 [PT] RewriteRule /brand_s_([0-9]+)/ /brand/brand_small.php?cid=$1 [PT] RewriteRule /brand_s_c([0-9]+)_p([0-9]+)/ /brand/brand_small.php?cid=$1&pageno=$2 [PT] RewriteRule /brand_l_([0-9]+)/ /brand/brand_list.php?cid=$1 [PT] RewriteRule /brand_l_c([0-9]+)_p([0-9]+)/ /brand/brand_list.php?cid=$1&pageno=$2 [PT] RewriteRule /brand_([0-9]+)/ /brand/brand_datashow.php?id=$1 [PT] RewriteRule /comment_([0-9]+)/ /comment/?id=$1 [PT] RewriteRule /comment_l_([0-9]+)/ /comment/comment_list.php?id=$1 [PT] RewriteRule /comment_l_i([0-9]+)_p([0-9]+)/ /comment/comment_list.php?id=$1&pageno=$2 [PT] RewriteRule /comment_r_d([0-9]+)_b([0-9]+)/ /comment/release.php?bid=$1&bn=$2 [PT] RewriteRule /ask_l_d([0-9]+)_s([0-2]+)_p([0-9]+)/ /ask/category_list_msall.php?d=$1&s=$2&pageno=$3 [PT] RewriteRule /ask_b_d([0-9]+)_s([0-2]+)_p([0-9]+)/ /ask/category_list_msall_bar.php?d=$1&s=$2&pageno=$3 [PT] RewriteRule /ask_([0-9]+)/ /ask/data_show1.php?id=$1 [PT] RewriteRule /ask_r_([0-9]+)/ /ask/release.php?t=$1 [PT] RewriteRule /ask_re_([0-9]+)/ /ask/release.php?rid=$1 [PT] RewriteRule /ask_big/ /ask/category_list_big.php [PT] RewriteRule /community_c_([0-9]+)/ /community/category_list.php?cid=$1 [PT] RewriteRule /community_c_c([0-9]+)_p([0-9]+)/ /community/category_list.php?cid=$1&pageno=$2 [PT] RewriteRule /community_l_([0-9]+)/ /community/list.php?cid=$1 [PT] RewriteRule /community_l_c([0-9]+)_p([0-9]+)/ /community/list.php?cid=$1&pageno=$2 [PT] RewriteRule /community_([0-9]+)/ /community/data_show2.php?id=$1 [PT] RewriteRule /community_r_b([a-z]+)_d([0-9]+)_u([0-9]+)/ /community/release.php?tb=$1&td=$2&user=$3 [PT] RewriteRule /community_t_([0-9]+)/ /community/Tui.php?id=$1 [PT] RewriteRule /community_r_a([a-z]+)_t([0-9]+)/ /community/release.php?action=$1&td=$2 [PT] RewriteRule /community_d_a([a-z]+)_i([0-9]+)_u([0-9]+)/ /community/data.php?team=$1&team_id=$2&user_id=$3 [PT] RewriteRule /discount_list/ /discount/discount_list.php [PT] RewriteRule /discount_list_p([0-9]+)/ /discount/discount_list.php?page=$1 [PT] RewriteRule /discount_list_([0-9]+)/ /discount/discount_list.php?type=$1 [PT] RewriteRule /discount_list_([0-9]+)_p([0-9]+)/ /discount/discount_list.php?type=$1&page=$2 [PT] RewriteRule /discount_list_c([0-9]+)/ /discount/discount_list.php?city=$1 [PT] RewriteRule /discount_list_c([0-9]+)_p([0-9]+)/ /discount/discount_list.php?city=$1&page=$2 [PT] RewriteRule /market_list/ /discount/market_list.php [PT] RewriteRule /market_list_p([0-9]+)/ /discount/market_list.php?page=$1 [PT] RewriteRule /discount_([0-9]+)/ /discount/discount_detail.php?strid=$1 [PT] RewriteRule /market_([0-9]+)/ /discount/market.php?mid=$1 [PT] RewriteRule /market_([0-9]+)_p([0-9]+)/ /discount/market.php?mid=$1&page=$2 [PT] #团购 RewriteRule /tuan/([0-9]+).html /tuan/product.php?id=$1 [PT] #作品展示首页 RewriteRule /syds_zpzs/ /syds/zpzs.php [PT] #分组作品列表 RewriteRule /syds_zyz/ /syds/zyz.php [PT] RewriteRule /syds_zyz_p([0-9]+)/ /syds/zyz.php?pageno=$1 [PT] RewriteRule /syds_yyz/ /syds/yyz.php [PT] RewriteRule /syds_yyz_p([0-9]+)/ /syds/yyz.php?pageno=$1 [PT] RewriteRule /syds_tyz/ /syds/tyz.php [PT] RewriteRule /syds_tyz_p([0-9]+)/ /syds/tyz.php?pageno=$1 [PT] RewriteRule /syds_lzp/ /syds/lzp.php [PT] RewriteRule /syds_lzp_p([0-9]+)/ /syds/lzp.php?pageno=$1 [PT] #作者作品列表 RewriteRule /syds_a_zy/ /syds/auth_zy.php [PT] RewriteRule /syds_a_zy_p([0-9]+)/ /syds/auth_zy.php?pageno=$1 [PT] RewriteRule /syds_a_yy/ /syds/auth_yy.php [PT] RewriteRule /syds_a_yy_p([0-9]+)/ /syds/auth_yy.php?pageno=$1 [PT] RewriteRule /syds_a_ty/ /syds/auth_ty.php [PT] RewriteRule /syds_a_ty_p([0-9]+)/ /syds/auth_ty.php?pageno=$1 [PT] RewriteRule /syds_a_lzp/ /syds/auth_lzp.php [PT] RewriteRule /syds_a_lzp_p([0-9]+)/ /syds/auth_lzp.php?pageno=$1 [PT] #作品详细 RewriteRule /syds_z([0-9]+)_t([0-9]+)/ /syds/view.php?aid=$1&pid=$2 [PT] #活动报道列表 RewriteRule /syds_info/ /syds/photoinfo_list.php [PT] RewriteRule /syds_info_p([0-9]+)/ /syds/photoinfo_list.php?pageno=$1 [PT] #活动报道详细 RewriteRule /syds_x([0-9]+)/ /syds/photo_info.php?pid=$1 [PT] #作者详细 RewriteRule /syds_auth_([0-9]+)/ /syds/auth.php?aid=$1 [PT] RewriteRule /tuping_flag_([0-9]+)/ /tuping/tuping_list_flag.php?pagenum=$1 [PT] RewriteRule /tuping_tag_p([0-9]+)_t([0-9]+)/ /tuping/tuping_list_tag.php?pagenum=$1&tag=$2 [PT] RewriteRule /tuping_type_p([0-9]+)_t([0-9]+)/ /tuping/tuping_list_type.php?pagenum=$1&type_id=$2 [PT] RewriteRule /tuping_only_([0-9]+)/ /tuping/tuping_pic_0.php?mid=$1 [PT] RewriteRule /tuping_only_([0-9]+)$ http://lanmayi.test/tuping_only_$1/ [R=301,NC] RewriteRule /tuping_more_([0-9]+)/ /tuping/tuping_pic_1.php?mid=$1 [PT] RewriteRule /tuping_more_([0-9]+)$ http://lanmayi.test/tuping_more_$1/ [R=301,NC] RewriteRule /tuping_tags/ /tuping/tuping_tag.php [PT] #jason 09.09.17 -exhibition RewriteRule /exhibition_news_([0-9]+)/ /exhibition/exhiinfo.php?eid=$1 [PT] RewriteRule /exhibition_news_list_p([0-9]+)/ /exhibition/exhilist.php?page=$1 [PT] RewriteRule /exhibition_contact/ /exhibition/contact.php [PT] RewriteRule /exhibition_old_list_p([0-9]+)/ /exhibition/companylist.php?t=1&page=$1 [PT] RewriteRule /exhibition_new_list_p([0-9]+)/ /exhibition/companylist.php?t=0&page=$1 [PT] RewriteRule /exhibition_([0-9]+)/ /exhibition/company.php?cid=$1 [PT] RewriteRule /exhibition_comment/ /exhibition/comment.php [PT] RewriteRule /exhibition_comment_p([0-9]+)/ /exhibition/comment.php?page=$1 [PT] RewriteRule /sitemap_product_s([0-9]+)/ /sitemap_product.php?sid=$1 [PT] RewriteRule /sitemap_product_s([0-9]+)_p([0-9]+)/ /sitemap_product.php?sid=$1&page=$2 [PT] RewriteRule /sitemap_product_l([0-9]+)/ /sitemap_product.php?bid=$1 [PT] RewriteRule /sitemap_product_l([0-9]+)_p([0-9]+)/ /sitemap_product.php?bid=$1&page=$2 [PT] RewriteRule /sitemap_discount_s([0-9]+)/ /sitemap_discount.php?sid=$1 [PT] RewriteRule /sitemap_discount_s([0-9]+)_p([0-9]+)/ /sitemap_discount.php?sid=$1&page=$2 [PT] RewriteRule /sitemap_discount_l([0-9]+)/ /sitemap_discount.php?bid=$1 [PT] RewriteRule /sitemap_discount_l([0-9]+)_p([0-9]+)/ /sitemap_discount.php?bid=$1&page=$2 [PT] #只看不买 2013-10-11 RewriteRule /zkbm/snap_view_sort.html /zkbm/snap_view_sort.php [PT] RewriteRule /zkbm/(index\.html)?$ /zkbm/snap_view_home.php RewriteRule /zkbm/list_(\d*)/$ /zkbm/snap_view_list.php?cate_id=$1 RewriteRule /zkbm/product_(\d*)/$ /zkbm/snap_view_detail.php?goods_id=$1 RewriteRule /zkbm/list/$ /zkbm/snap_view_list.php RewriteRule /zkbm/product_([0-9]+)/$ http://lanmayi.develop/zkbm/product_$1/ [R=301,NC] #RewriteCond %{HTTP_REFERER} !^http://(www\.)?lanmayi\.cn/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://(new\.)?lanmayi\.cn/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://(www\.)?ljlj\.cc/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://(www\.)?lanjing-lijia\.com/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://(shops\.)?ljlj\.cc/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://(shops\.)?lanjing-lijia\.com/.*$ [NC] #RewriteRule \.(jpg|jpeg|gif|png|bmp|rar|zip|exe)$ http://www.lanmayi.cn/index.html [R=301,L] #ErrorLog logs/www.lanmayi.cn-error_log #CustomLog logs/www.lanmayi.cn-access_log common SetEnvIf Request_URI "\.gif$" dontlog SetEnvIf Request_URI "\.jpg$" dontlog SetEnvIf Request_URI "\.png$" dontlog SetEnvIf Request_URI "\.bmp$" dontlog SetEnvIf Request_URI "\.swf$" dontlog SetEnvIf Request_URI "\.js$" dontlog SetEnvIf Request_URI "\.css$" dontlog SetEnvIf Request_URI "\.ico$" dontlog ServerName front.ci.ljyun.develop DocumentRoot /home/front_develop/ci_ljyun ErrorLog logs/front_ci_ljyun_develop_error_log CustomLog logs/front_ci_ljyun_develop_access_log combined ServerName front.ci.ljlj.develop DocumentRoot /home/front_develop/ci_ljlj ErrorLog logs/front_ci_ljlj_develop_error_log CustomLog logs/front_ci_ljlj_develop_access_log combined ServerName front.ci.dining.develop DocumentRoot /home/front_develop/ci_dining ErrorLog logs/front_ci_dining_develop_error_log CustomLog logs/front_ci_dining_develop_access_log combined ServerName front.smarty.develop DocumentRoot /home/front_develop/smarty ErrorLog logs/front_smarty_develop_error_log CustomLog logs/front_smarty_develop_access_log combined ServerName front.ci.ljlj.test DocumentRoot /home/front_test/ci_ljlj ErrorLog logs/front_ci_ljlj_test_error_log CustomLog logs/front_ci_ljlj_test_access_log combined ServerName front.ci.ljyun.test DocumentRoot /home/front_test/ci_ljyun ErrorLog logs/front_ci_ljyun_test_error_log CustomLog logs/front_ci_ljyun_test_access_log combined ServerName front.smarty.test DocumentRoot /home/front_test/smarty ErrorLog logs/front_smarty_test_error_log CustomLog logs/front_smarty_test_access_log combined ServerName mediawiki.cc DocumentRoot /home/mediawiki/html ErrorLog logs/mediawiki_error_log CustomLog logs/mediawiki_access_log combined ServerName review.loc DocumentRoot "/home/codereview/htdocs" # Error handlers ErrorDocument 500 /errordocs/500.html WSGIPassAuthorization On WSGIScriptAlias "/" "/home/codereview/htdocs/reviewboard.wsgi/" AllowOverride All Options -Indexes +FollowSymLinks Allow from all # Prevent the server from processing or allowing the rendering of # certain file types. SetHandler None Options None AddType text/plain .html .htm .shtml .php .php3 .php4 .php5 .phps .asp AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht .jsp .sh .rb php_flag engine off # Alias static media requests to filesystem Alias /media "/home/codereview/htdocs/media" Alias /static "/home/codereview/htdocs/static" Alias /errordocs "/home/codereview/htdocs/errordocs" Alias /favicon.ico "/home/codereview/htdocs/static/rb/images/favicon.png" ServerName dining.develop DocumentRoot /home/dining_develop/html ErrorLog logs/dining_error_log CustomLog logs/dining_access_log combined ServerName qrcode.develop DocumentRoot /home/qrcode_develop/html ErrorLog logs/qrcode_error_log CustomLog logs/qrcode_access_log combined ServerName dining.sale.develop DocumentRoot /home/dining_sale_develop/html ErrorLog logs/dining_sale_error_log CustomLog logs/dining_sale_access_log combined ServerName img.ljmall.develop #DocumentRoot /home/image/ljlj DocumentRoot /img ErrorLog logs/img-ljlj_error_log CustomLog logs/img-ljlj_access_log combined ServerName duizhang.develop DocumentRoot /home/ljmis_develop/html/seller ErrorLog logs/duizhang-ljlj_error_log CustomLog logs/duizhang-ljlj_access_log combined ServerName members.develop DocumentRoot /home/members/html ErrorLog logs/duizhang-members_error_log CustomLog logs/duizhang-members_access_log combined ServerName info.ljmall.develop DocumentRoot /home/ljmall_ci_info/html ErrorLog logs/ljmall_ci_info_error_log CustomLog logs/ljmall_ci_info_access_log combined DocumentRoot /home/app_decorate_dal_develop/html ErrorLog logs/8001_error_log CustomLog logs/8001_access_log combined ServerName webadmin.lanmayi.develop DocumentRoot /home/lmyadmin_develop/html ErrorLog logs/lanmayi_error_log CustomLog logs/lanmayi_access_log combined DocumentRoot /home/app_decorate_bll_develop/html ErrorLog logs/8002_error_log CustomLog logs/8002_access_log combined ServerName info.lanjing.develop DocumentRoot /home/lanjing_ci_info/html ErrorLog logs/lanjing_ci_info_error_log CustomLog logs/lanjing_ci_info_access_log combined DocumentRoot /home/new_ljmall_develop/html/ ErrorLog logs/admin_ljmall_develop_error_log CustomLog logs/admin_ljmall_develop_access_log combined DocumentRoot /home/bjshfd_develop/ ServerName bjshfd.develop ErrorLog logs/bjshfd_develop_error_log CustomLog logs/bjshfd_develop_access_log combined DocumentRoot /home/products_ljlj_develop/html ServerName products.ljlj.develop ErrorLog logs/products_ljlj_develop_error_log CustomLog logs/products_ljlj_develop_access_log combined DocumentRoot /home/dokuwiki ServerName ljwiki.develop ErrorLog logs/dokuwiki_error_log CustomLog logs/dokuwiki_access_log combined DocumentRoot /home/yuanxingtu ServerName yxt.develop ErrorLog logs/yxt_error_log CustomLog logs/yxt_access_log combined DocumentRoot /img ErrorLog logs/img-ljlj_error_log CustomLog logs/img-ljlj_access_log combined