小编DM.*_*DM.的帖子

WAMP的Apache mod_rewrite问题 - 显示错误404未找到 - 带有SEF URL的Joomla 1.5.14

我是Joomla和WAMP环境的新手.我正在使用WAMP环境:

  • 使用SP2赢取Srv 2003 R2(Std Ed)以及所有最新更新
  • Apache 2.2.9
  • PHP 5.2.6
  • Joomla 1.5.14

我想用Joomla SEF URL启用mod_rewrite但它不能一起工作.

  • 如果我将"SEF URL"和"将后缀添加到URL"设置为是,则可以.
    结果:/index.php/page.html

  • 如果我将'mod_rewrite'和'添加后缀添加到URL'设置为是,它不会给出任何错误(不确定它是否按照它假设的方式工作).
    结果:/index.php?option=com_content&view=article&id=3&Itemid=5

  • 如果我将"SEF URL"和"mod_rewrite"设置为"是",则会给出"404 Not Found"错误.
    结果:未找到| /pagename在此服务器上找不到请求的URL

  • 如果我设置'SEF URL'+'mod_rewrite'+'将后缀添加到URL'为是,而不是它给我"404 Not Found"错误.
    结果:未找到| /pagename.html在此服务器上找不到请求的URL

我使用Joomla提供的默认.htaccess代码如下:

 

##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On


########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the …

apache mod-rewrite wamp joomla1.5 joomla-sef-urls

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

apache ×1

joomla-sef-urls ×1

joomla1.5 ×1

mod-rewrite ×1

wamp ×1