您好,欢迎光临! 推荐您使用Chrome浏览器访问本站。

检测Apache是否支持mod_rewrite

844 views
检测Apache是否支持mod_rewrite通过php提供的phpinfo()函数查看环境配置,通过Ctrl+F查找到“Loaded Modules”,其中列出了所有apache2handler已经开启的模块,如果里面包括“mod_rewrite”,则已经支持,不再需要继续设置。 如果没有开启“mod_rewrite”,则打开目录 您的apache安装目录“/apache/conf/” 下的 httpd.conf 文件,通过Ctrl+F查找到“LoadModule rewrite_module”,将前面的”#”号删除即可。如果没有查找到,则到“LoadModule” 区域,在最后一行加入“LoadModule rewrite_module modules/mod_rewrite.so”(必选独占一行),然后重启apache服务器即可。 apache......

Magento去掉URL的index.php

815 views
Magento去掉URL的index.php其实很简单,只需在后台开启url重写即可。 system->configuration->general->web->search engines optimization->设置use web server rewrites为yes 系统->配置->常规->web->搜索引擎优化->使用网络服务器重写,选择“是”。 如果出现404等错误,清空缓存。 system->configuration -> cache management / flush Magento cache 如果重写失败,请检查apache配置是否开启Mod_Rewrite,开启方法请看Apache Mod_Rewrite URL重写 伪静态化 参看: http://www.yebihai.com/magento/226.html

配置Magento REST和OAuth设置

1,144 views
配置Magento REST和OAuth设置In my last article, I wrote about the REST and oAuth to explain the terms that are used in Magento admin area for Magento REST configuration. This article will show the steps necessary in order to be able to consume REST services provided by Magento: Creating oAuth Consumer Creating and configuring Admin roles Assigning configured Admin REST Role to admin user Configuring resource attributes and access permissions If you didn’t read my previous article about Magento REST and oAuth, I s......

用XML-RPC协议读写WordPress上的文章

1,002 views
用XML-RPC协议读写WordPress上的文章WordPress提供了XML-RPC接口使得第三方的博客写作软件(如windows live writer等)可以与之通信来发布和修改博客。我们也可以在网站上使用这个接口做一些工作,例如:在网站首页显示最新的博客、在博客之外的页面上发表博客文章、把博客与其他内容管理系统结合,等等。   一、开启XML-RPC支持 XML-RPC协议默认是未开启的,需要到WordPress管理后台的“设置–>撰写”里的“远程发布”给XML-RPC打上勾。其说明文字为:启用 WordPress,Movable Type,MetaWeblog和Blogger 的 XML-RPC发布协议。 二、获取接口的信息 我们查看博客首页......

发布我的第二款WordPress 免费主题 :microfrostprosim-1.0(微霜博客免费主题)

1,234 views
发布我的第二款WordPress 免费主题 :microfrostprosim-1.0(微霜博客免费主题)发布我的第二款WordPress 免费主题 :microfrostprosim-1.0。 这款主题很久就已经写好,后面忙其他事,给忘记在某个角落了,今天把它翻出来分享给大家。 要显示浏览统计需安装WP-PostViews插件。 预览如下: 点击这里下载microfrostprosim-1.0