开发者社区> 问答> 正文

请问apache伪静态问题

[font=Tahoma, 'Microsoft Yahei', Simsun]最近因为这个 急的团团转,各种 知道 贴吧 问答求助 就是没人回, 几乎绝望了,抱着在这试试的态度,希望大神能帮帮忙 麻烦帮忙把 apache的伪静态 转为nginx的规则 不要自动转的 规则如下
为什么发上来显示乱码???
截图发送
# Comment the 2 lines below if the server returns 500 errors!
Options -Indexes
Options +FollowSymLinks

#Uncomment following lines if you want to use image caching!
#<IfModule mod_expires.c>
#  ExpiresActive On
#  ExpiresDefault A1209600
#  ExpiresByType text/html A1
#</IfModule>

# Uncomment following lines if Apache doesnt support MultiViews!
<IfModule mod_rewrite.c>
    RewriteEngine On
    
    # Uncomment the 2 lines below if you are using news.xiu.la
    # as the baseurl for the site and users access your site
    # via domain.com (THIS IS REQUIRED FOR JQUERY TO WORK)
    
    RewriteCond %{HTTP_HOST} ^xiu.la [NC]
    RewriteRule ^(.*)$ http://news.xiu.la/$1 [L,R=301]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* loader.php [L,QSA]
</IfModule>

# Edit below lines and set to
# ErrorDocument CODE /RELATIVE/error.php
# If the script is installed in the default document
# root then relative is null.
#ErrorDocument 401 /error.php
#ErrorDocument 403 /error.php
#ErrorDocument 404 /error.php


展开
收起
seor.cc 2015-06-26 22:05:39 7493 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
Apache Flink技术进阶 立即下载
Apache Spark: Cloud and On-Prem 立即下载
Hybrid Cloud and Apache Spark 立即下载

相关镜像