浏览模式: 标准 | 列表 Tag: 西部数码网站管理助手

西部数码网站管理助手中伪静态组件自定义设置

西部数码网站管理助手中,如果网站是php程序的,可以设置伪静态组件,常用的国产php系统的伪静态规则都已经在下拉列表中了。但是比如WordPress就没有,所以需要自行设置伪静态组件。

添加php网站的时候,在下拉菜单中选择对应规则,如果没有找到对应的,选择自定义,保存配置后进入站点的others目录下,修改httpd.conf中的规则即可。

WordPress的httpd.conf内容如下:

  • [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]

或者是第二种如下:

  • [ISAPI_Rewrite]
  • # 3600 = 1 hour
  • CacheClockRate 3600
  • RepeatLimit 32
  • # Protect httpd.ini and httpd.parse.errors files
  • # from accessing through HTTP
  • # wordpress 伪静态规则
  • # For tag(中文标签以及标签翻页的规则)
  • RewriteRule /tag/(.*)/page/(\d+)$ /index\.php\?tag=$1&paged=$2
  • RewriteRule /tag/(.+)$ /index\.php\?tag=$1
  • # For category(中文分类以及分类翻页的规则)
  • RewriteRule /category/(.*)/page/(\d+)$ /index\.php\?category_name=$1&paged=$2
  • RewriteRule /category/(.*) /index\.php\?category_name=$1
  • # For sitemapxml
  • RewriteRule /sitemap.xml /sitemap.xml [L]
  • RewriteRule /sitemap.html /sitemap.html [L]
  • RewriteRule /sitemap_baidu.xml /sitemap_baidu.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]

Tags: 西部数码网站管理助手, 伪静态组件, 自定义, 设置

西部数码网站管理助手Serv-U默认密码

手头部分Windows 2003服务器安装了西部数码网站管理助手进行网站的管理,Serv-U的版本是6.4,默认管理密码却没有给出,通过猜测证实Serv-U默认密码是:root3306

 

Tags: 西部数码网站管理助手

数据库出错:

MySQL Query Error
Mysql error description: Duplicate entry '0' for key 'uid'
Mysql error number: 1062
Date: 2024-06-03 @ 06:00
Script: http://blog.is36.com/index.php/module/action/param1/tagslist/page/3/user/%E6%AD%A3%E5%86%B0/wap/archives/488/archives/463/comments/archives/488/category/technology_all/links/archives/487/date/202302/user/%E6%AD%A3%E5%86%B0/links/?action=article&item=%E8%A5%BF%E9%83%A8%E6%95%B0%E7%A0%81%E7%BD%91%E7%AB%99%E7%AE%A1%E7%90%86%E5%8A%A9%E6%89%8B