标题:
[求助]
伪静态的问题
[打印本页]
作者:
arnold
时间:
2013-9-27 12:04
标题:
伪静态的问题
本帖最后由 arnold 于 2013-9-27 12:31 编辑
安装了最新版本的wdcp,第一次用这个。先装个maccms(苹果电影程序)试试。网站使用伪静态,只有首页的静态页面可以打得开,伪静态的页面都出问题。
网站服务器使用的是apache,在网站根目录添加了.htaccess文件,不行,使用wdcp的伪静态功能添加了伪静态,也是不行。
wdcp自带的伪静态编写为:
<IfModule mod_rewrite.c>
# 将 RewriteEngine 模式打开
RewriteEngine On
# 修改以下语句中的 /maccms 为你的网站目录地址,如果程序放在根目录中,请将 /maccms 修改为 /
RewriteBase /
# Rewrite 系统规则请勿修改
RewriteRule ^map.html$ map.php$1
RewriteRule ^artmap.html$ artmap.php$1
RewriteRule ^(.*)list-(.+?)\.html$ $1vodlist/index.php\?$2\.html
RewriteRule ^(.*)vod-(.+?)\.html$ $1vod/index.php\?$2\.html
RewriteRule ^(.*)play-(.+?)\.html$ $1vodplay/index.php\?$2\.html
RewriteRule ^(.*)down-(.+?)\.html$ $1voddown/index.php\?$2\.html
RewriteRule ^(.*)top-(.+?)\.html$ $1vodtopic/index.php\?$2\.html
RewriteRule ^(.*)vodtopicindex/(.+?)\.html$ $1vodtopicindex/index.php\?$2\.html
RewriteRule ^(.*)artlist-(.+?)\.html$ $1artlist/index.php\?$2\.html
RewriteRule ^(.*)art-(.+?)\.html$ $1art/index.php\?$2\.html
RewriteRule ^(.*)arttop-(.+?)\.html$ $1arttopic/index.php\?$2\.html
RewriteRule ^(.*)arttopicindex/(.+?)\.html$ $1arttopicindex/index.php\?$2\.html
</IfModule>
复制代码
并保存为:maccms_apache.conf
打开伪静态页面,页面打不开,提示:
系统提示:
Msg: fopen(/www/web/flk_cc/public_html/upload/cache/1378990478vodlist_21.inc) [function.fopen]: failed to open stream: Permission denied
File: /www/web/flk_cc/public_html/inc/function.php
Line: 1220
复制代码
在Kloxo平台上都是没问题的。
PS:网站后台采集电影也出问题,采集电影时提示:
系统提示:
Msg: fopen(../upload/maccjbreakpoint.html) [function.fopen]: failed to open stream: Permission denied
File: /admin_conn.php
Line: 97
复制代码
求解决!
作者:
admin
时间:
2013-9-27 15:17
后台,编辑站点时,把限制目录去掉试试
作者:
arnold
时间:
2013-9-27 16:30
本帖最后由 arnold 于 2013-9-27 16:32 编辑
后台,编辑站点时,把限制目录去掉试试
admin 发表于 2013-9-27 15:17
我试试看,还有两个问题就是,
一,重启之后,80端口打不开,网站访问不了。网上看了N种方法,就是打不开80端口。
二,我昨晚安装的时候,可能是改了登录超市这个选项,后来登录wdcp超时,找遍资料,都是说修改时间。可是任你怎么改时间,都是登录超时,只能重装wdcp解决。
现在80端口打不开,无法照你说的:后台,编辑站点时,把限制目录去掉试试
欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/)
Powered by Discuz! 7.2