Heim  >  Artikel  >  Backend-Entwicklung  >  Joomla使用Apache重写模式的方法,joomlaapache_PHP教程

Joomla使用Apache重写模式的方法,joomlaapache_PHP教程

WBOY
WBOYOriginal
2016-07-12 08:53:37656Durchsuche

Joomla使用Apache重写模式的方法,joomlaapache

本文实例讲述了Joomla使用Apache重写模式的方法。分享给大家供大家参考,具体如下:

开启“使用Apache的重写模式:mod_rewrite”你要先做两件事,否则你的网站将不能正常使用。

将Joomla安装目录下的htaccess.txt文件重命名为.htaccess

方法1:如何你使用windows系统,那么安装notepad++,然后用他打开htaccess.txt,另存为.htaccess。

方法2:开始 - 运行 - 输入"cmd" ,打开命令行工具,输入命令"edit",点击File,打开htaccess.txt文件,另存为.htaccess。

确定你的Apache开启了mod_rewrite功能

方法:打开Apache的配置文件“httpd.conf”,查找mod_rewrite.so,将这行代码前的“#”去掉,保存文档,重启Apache

更多关于joomla相关内容感兴趣的读者可查看本站专题:《Yii框架入门及常用技巧总结》、《php优秀开发框架总结》、《smarty模板入门基础教程》、《ThinkPHP常用方法总结》、《php面向对象程序设计入门教程》、《php字符串(string)用法总结》、《php+mysql数据库操作入门教程》及《php常见数据库操作技巧汇总》

希望本文所述对大家基于joomla程序设计有所帮助。

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/1123817.htmlTechArticleJoomla使用Apache重写模式的方法,joomlaapache 本文实例讲述了Joomla使用Apache重写模式的方法。分享给大家供大家参考,具体如下: 开启“使用...
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn