分享

写回答

发帖

[提问] GD的空间好像不支持joomla静态化

回答|共 16 个

shrisme

发表于 2009-4-20 17:48:12 | 显示全部楼层

原帖由 pinbo2008 于 2009-4-2 06:48 PM 发表

我已经完全实现静态 www.linong.org 搞了好长时间才解决的


请问你是怎么实现的呀,有没有教程可以参考一下?

add.c

发表于 2009-4-21 10:43:19 | 显示全部楼层

回复 11# 的帖子

GoDaddy下安装joomla实现静态化
参考:http://bbs.idcspy.com/thread-40859-1-1.html

fanqi1234

发表于 2009-4-21 12:31:03 | 显示全部楼层

原帖由 add.c 于 2009-1-13 07:43 发表
linux空间不支持静态化


到底支持不支持啊?

add.c

发表于 2009-4-21 13:04:50 | 显示全部楼层

回复 13# 的帖子

已经修正。GoDaddy linux可以生成静态页面

youngboy2003

发表于 2009-4-22 00:23:12 | 显示全部楼层

joomla在godaddy上的htaccess文件是这样写的,希望你不必再走弯路了,以前也是我找了很久才找到的:

##
# @version $Id: htaccess.txt 9975 2008-01-30 17:02:11Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##

#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
##  Can be commented out if causes errors, see notes above.
#Options +FollowSymLinks
#
#  mod_rewrite in use
RewriteEngine On

#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)
RewriteBase /

########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
RAKSmart

kokomi

发表于 2009-10-7 23:03:04 | 显示全部楼层

为啥楼上的RewriteCond %{REQUEST_URI} !^/index.php,不写文件夹名称呢?

slionbj

发表于 2011-8-11 14:35:01 | 显示全部楼层

推荐使用 sh404SEF,用起来省事、方便
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则