|
列出文章
|
頁: [1]
|
2
|
支援 / 使用與操作 / Re: 修改成简洁网址后出错了
|
於: 三月 28, 2006, 08:37:23 下午
|
webserver 是Zeus的 难道就不行了吗?
只要 web server 有支援: 1.重導向 401 403 404 錯誤到 error.php 2.讓 web server 能認得簡潔網址模式專用的程式,就是 LT 安裝目錄下那些沒有 .php 副檔名的程式 zeus 應該都有支援,但是語法該如何寫,得請你自行查一查 zeus 的文件了。我們絕大多數人都是用 apache 的。 lss 请问认得是什么概念。。。
|
|
|
6
|
支援 / 使用與操作 / Re: 修改成简洁网址后出错了
|
於: 三月 18, 2006, 05:34:30 下午
|
系统是liunx的
安装目录是www.temeters.com/blog
<Files .htaccess> deny from all </Files>
<Files config.properties.php> deny from all </Files>
Options -Indexes Options +FollowSymLinks
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /plog/
# Permalink to the blog entry (i.e. /plog/1_userfoo/archive/3_title-foo-bar.html) RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]+)_[^.]+\.html$ index.php?op=ViewArticle&blogId=$1&articleId=$2 [L,NC]
# Monthly archive (i.e. /plog/1_userfoo/archive/200401.html) RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]{6})\.html$ index.php?blogId=$1&Date=$2 [L,NC]
# Daily archive (i.e. /plog/1_blogfoo/archive/20040101.html) RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]{8})\.html$ index.php?blogId=$1&Date=$2 [L,NC]
# Album (i.e. /plog/88_userfoo/albums/34_title-foo-bar.html) RewriteRule ^([0-9]+)_[^/]+/albums/([0-9]+)_[^.]+\.html$ index.php?op=ViewAlbum&blogId=$1&albumId=$2 [L,NC]
# Albums (i.e. /plog/88_userfoo/albums/) RewriteRule ^([0-9]+)_[^/]+/albums/$ index.php?op=ViewAlbum&blogId=$1&albumId=0 [L,NC]
# Category view (i.e. /plog/88_userfoo/categories/4_cat-foobar.html) RewriteRule ^([0-9]+)_[^/]+/categories/([0-9]+)_[^.]+\.html$ index.php?blogId=$1&postCategoryId=$2 [L,NC]
# Category-Feeds (i.e. /plog/3_userfoo/feeds/categories/2_category/atom) RewriteRule ^([0-9]+)_[^/]+/feeds/categories/([0-9]+)_[^.]+/(.*)$ rss.php?blogId=$1&categoryId=$2&profile=$3 [L,NC]
# Feeds (i.e. /plog/3_userfoo/feeds/atom) RewriteRule ^([0-9]+)_[^/]+/feeds/(.*)$ rss.php?blogId=$1&profile=$2 [L,NC]
# Trackbacks (i.e. /plog/3_userfoo/trackbacks/34_title-foo-bar.html) RewriteRule ^([0-9]+)_[^/]+/trackbacks/([0-9]+)_[^.]+\.html$ index.php?op=Trackbacks&blogId=$1&articleId=$2 [L,NC]
# Comment form (i.e. /plog/88_userfoo/comment/34_title-foo-bar.html) RewriteRule ^([0-9]+)_[^/]+/comment/([0-9]+)_[^.]+\.html$ index.php?op=Comment&blogId=$1&articleId=$2 [L,NC]
# Resources (i.e. /plog/88_userfoo/resources/this-is-a-resource-name.pdf.html) RewriteRule ^([0-9]+)_[^/]+/resources/([^.]+)\.([^.]+)\.html$ index.php?op=ViewResource&blogId=$1&resource=$2.$3 [L,NC]
# Download a resource (i.e. /plog/88_userfoo/get/this-is-a-resource-name.pdf) RewriteRule ^([0-9]+)_[^/]+/get/(.+)$ resserver.php?blogId=$1&resource=$2 [L,NC]
# Static Pages (i.e /plog/3_userfoo/demosites) RewriteRule ^([0-9]+)_[^/]+/(.+)$ index.php?op=Template&blogId=$1&show=$2 [NC]
# A non-default blog (i.e. /plog/88_userfoo) RewriteRule ^([0-9]+)(_[^/]+)?$ index.php?blogId=$1 [L,NC]
# Daily archive (i.e. /plog/1_userfoo/archive/20040101.html) RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]{8})\.html$ index.php?blogId=$1&Date=$2 [L,NC]
</IfModule>
<Files post> ForceType application/x-httpd-php </Files>
<Files archives> ForceType application/x-httpd-php </Files>
<Files static> ForceType application/x-httpd-php </Files>
<Files rss> ForceType application/x-httpd-php </Files>
<Files category> ForceType application/x-httpd-php </Files>
<Files trackbacks> ForceType application/x-httpd-php </Files>
<Files comment> ForceType application/x-httpd-php </Files>
<Files resource> ForceType application/x-httpd-php </Files>
<Files get> ForceType application/x-httpd-php </Files>
<Files album> ForceType application/x-httpd-php </Files>
<Files blog> ForceType application/x-httpd-php </Files>
<Files user> ForceType application/x-httpd-php </Files>
ErrorDocument 401 /plog/error.php ErrorDocument 403 /plog/error.php ErrorDocument 404 /plog/error.php
DirectoryIndex summary.php
帮我看看有问题吗?
|
|
|
9
|
開發 / 外掛程式 / Re: 插件最近回复和最近引用文字显示的问题,附图
|
於: 三月 09, 2006, 10:44:46 上午
|
应该显示”:“的地方居然显示了“?G ” ,请问一下 在哪里可以改掉这个问题 谢谢
在修改模版時,請將檔案存成UTF8/without BOM,就可以了。 James 谢谢, 但事实上我并没有修改过模板啊!我现在想知道和“?G ”有关系的是哪个文件。。我找不到,是插件文件还是PANEL
|
|
|
|
|
|