<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; WordPress apache</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/wordpress-apache/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Wed, 01 Apr 2026 08:27:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>linux下WordPress apache伪静态规则设置</title>
		<link>https://www.osyunwei.com/archives/2034.html</link>
		<comments>https://www.osyunwei.com/archives/2034.html#comments</comments>
		<pubDate>Wed, 01 Feb 2012 15:24:20 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apache伪静态]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress apache]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=2034</guid>
		<description><![CDATA[1、首先确定Apache是否加载了Mod_rewrite 模块 方法: 检查 /etc/httpd/conf/httpd.conf 中是否存在以下两段代码 (具体路径可能会有所不同，但形式基本是一样的): (一)LoadModule rewrite_module libexec/mod_rewrite.so (二)AddModule mod_rewrite.c 2、检查Apache是否开启.htaccess支持 vi  /etc/httpd/conf/httpd.conf   AllowOverride All   #如果后面参数为None需要修改为All（大概在338行） 3、在文件/etc/httpd/conf/httpd.conf相应的主机目录配置中加入如下代码（此时须注意，如果网站是通过虚拟主机来定义，请务必加到虚拟主机配置中去，否则可能无法使用。） 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 例如： vi /etc/httpd/conf/httpd.conf  #编辑 &#60;Directory "/var/www/html"&#62;     Options Includes ExecCGI FollowSymLinks     AllowOverride All     Order allow,deny     Allow from all &#60;IfModule mod_rewrite.c&#62;     RewriteEngine On     RewriteBase /     RewriteRule ^index\.php$ - [L] [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/2034.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/2034.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
