最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Win2003中IIS+PHP+MYSQL+N点主机面板 搭建Typecho网站图文教程
时间:2014-07-23 编辑:简简单单 来源:一聚教程网
代码如下 | 复制代码 |
3389x.rar # 用于修改远程端口 zkeysphp.rar #用于直接在IIS下安装PHP+MYSQL+PHPMYADMIN(前提:IIS先装好。) ServU6.4.rar #FTP软件 ISAPI_Rewrite_Full.rar #IIS环境下支持的httpd.ini伪静态插件 SQL2000+sp4.rar #支持asp.net的mssql数据库和SP4补丁 N196.msi #N点主机管理面板软件 |
代码如下 | 复制代码 |
以上软件打包下载:http://pan.baidu.com/share/link?shareid=101259&uk=2316326898 |
代码如下 | 复制代码 |
6.1,服务器IP地址:填写你的VPS IP地址; 6.2,FTP服务软件:Serv-U 6.4 6.3,默认文档:添加个 default.asp 6.4,Serv-U/G6 安装路径:D:Serv-U(就是刚才你安装时候的路径) 6.5,MSSQL 管理员密码:就是你自己设置的sa密码 6.6,MYSQL 数据存放路径:D:ZkeysSoftMySqlMySQL Server 5.1data (zkeys你安装的是D盘吗) 6.7,MYSQL 管理员密码:就是你自己设置的root数据库密码 |
6,输入你绑定的域名,现在开始安装TYPECHO吧!
TYPECHO httpd.ini 伪静态
IIS 下的 httpd.ini
不完美,可参考修改。
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# 中文tag解决
RewriteRule /tag/(.*) /index.php?tag=$1
# sitemapxml
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]
# 内容页
RewriteRule /(.*).html /index.php/$1.html [L]
# 评论
RewriteRule /(.*)/comment /index.php/$1/comment [L]
# 分类页
RewriteRule /category/(.*) /index.php/category/$1 [L]
# 分页
RewriteRule /page/(.*) /index.php/page/$1 [L]
# 搜索页
RewriteRule /search/(.*) /index.php/search/$1 [L]
# feed
RewriteRule /feed/(.*) /index.php/feed/$1 [L]
# 日期归档
RewriteRule /2(.*) /index.php/2$1 [L]
# 上传图片等
RewriteRule /action(.*) /index.php/action$1 [L]
另一个:
[ISAPI_Rewrite]
RewriteRule ^/admin(.*) /admin/$1 [L]
RewriteRule ^(.*)(html|htm)$ /index.php/$1$2 [L]
RewriteRule ^([^.]+)$ /index.php/$1 [L]
第一条 重定向后台地址
第二条 将带html htm 后缀的重写
第三条 排除带"."的 其余的全部重写
而下面这个好像是WP的,只做参考用
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# Rules to ensure that normal content gets through
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]
# For file-based wordpress content (i.e. theme), admin, etc.
RewriteRule /wp-(.*) /wp-$1 [L]
# For normal wordpress content, via index.php
RewriteRule ^/$ /index.php [L]
RewriteRule /(.*) /index.php/$1 [L]
注:记得到后台永久链接设置里,启用地址重写功能。
相关文章
- win11内核隔离和内存完整性介绍 10-31
- win10全屏缩放设置教程 10-31
- win10系统备份出错解决教程 10-31
- win10打开软件每次都要询问解决教程 10-31
- win10更新驱动后设备出现异常解决教程 10-31
- win10一直提示找到可能不需要的应用解决教程 10-31