分享

写回答

发帖

[提问] 大漠,大象,进来求助...

GoDaddy GoDaddy 759 人阅读 | 0 人回复

发表于 2008-4-5 15:32:00 | 显示全部楼层 |阅读模式

在GO..装好OSC了,怎么伪静态所有的页面啊?
能详细说一下.htaccess 这个文件怎么配置吗?
OSC程序里面有带.htaccess,但是不知道怎么启用,
里面的代码好像也不伪静态的。偶只要伪静态,不要什么防盗,错误功能的!
请教俩问管理员了,如果其它朋友装过用过的,也麻烦帮忙一下了。先3Q了!!



付上:.htaccess 的文本
------------------------------------------------------------------
# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
  <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0
  </IfDefine>
</IfModule>

# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter
#
# AcceptPathInfo On

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
#
#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
#  php_value register_globals 1
#</IfModule>
您需要登录后才可以回帖 登录 | 注册

本版积分规则