<?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>Arvixe美国主机指南 &#187; arvixe url规范</title>
	<atom:link href="https://arvixe.org.cn/tag/arvixe-url%e8%a7%84%e8%8c%83/feed/" rel="self" type="application/rss+xml" />
	<link>https://arvixe.org.cn</link>
	<description>Arvixe优惠码资讯及Arvixe主机购买使用教程</description>
	<lastBuildDate>Wed, 11 Nov 2015 06:50:43 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.8.41</generator>
	<item>
		<title>浅谈Arvixe主机规范化URL地址方法</title>
		<link>https://arvixe.org.cn/arvixe-guifang-url/</link>
		<comments>https://arvixe.org.cn/arvixe-guifang-url/#comments</comments>
		<pubDate>Thu, 18 Jul 2013 10:16:55 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Arive使用说明]]></category>
		<category><![CDATA[Arvixe]]></category>
		<category><![CDATA[arvixe url规范]]></category>

		<guid isPermaLink="false">http://arvixe.org.cn/?p=189</guid>
		<description><![CDATA[Arvixe主机其提供Linux和Windows两种系统的主机，尤以Windows操作系统主机出名，当我们使用Arvixe主机搭建网站，安装源程序后，会遇到内页URL地址冗余的情况，下面和大家说说如何重写ASP空间的URL地址。 例如：没有重写时URL地址为：http://yourdomain.com/index.php/pages/1.html URL重写后地址为：http://yourdomain.com/pages/1.html 那么为了达到这个目的，需要修改web.config文件内容。 修改后Web.config文件配置如下代码所示： &#60;?xml version=”1.0″ encoding=”UTF-8″?&#62; &#60;configuration&#62; &#60;system.webServer&#62; &#60;directoryBrowse enabled=”false” /&#62; &#60;defaultDocument&#62; &#60;files&#62; &#60;clear /&#62; &#60;add value=”index.php” /&#62; &#60;add value=”default.php” /&#62; &#60;add value=”default.html” /&#62; &#60;add value=”index.html” /&#62; &#60;/files&#62; &#60;/defaultDocument&#62; &#60;rewrite&#62; &#60;rules&#62; &#60;rule name=”index.php” &#62; &#60;match url=”^(.*)$” ignoreCase=”true” /&#62; &#8230; <a href="https://arvixe.org.cn/arvixe-guifang-url/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><span style="color: #0000ff;"><a title="arvixe官网" href="http://r2url.com/www.arvixe.com"><span style="color: #0000ff;">Arvixe</span></a></span>主机其提供Linux和Windows两种系统的主机，尤以Windows操作系统主机出名，当我们使用Arvixe主机搭建网站，安装源程序后，会遇到内页URL地址冗余的情况，下面和大家说说如何重写ASP空间的URL地址。</p>
<p>例如：没有重写时URL地址为：http://yourdomain.com/index.php/pages/1.html</p>
<p>URL重写后地址为：http://yourdomain.com/pages/1.html</p>
<p>那么为了达到这个目的，需要修改web.config文件内容。</p>
<p>修改后Web.config文件配置如下代码所示：</p>
<p>&lt;?xml version=”1.0″ encoding=”UTF-8″?&gt;<br />
&lt;configuration&gt;<br />
&lt;system.webServer&gt;<br />
&lt;directoryBrowse enabled=”false” /&gt;<br />
&lt;defaultDocument&gt;<br />
&lt;files&gt;<br />
&lt;clear /&gt;<br />
&lt;add value=”index.php” /&gt;<br />
&lt;add value=”default.php” /&gt;<br />
&lt;add value=”default.html” /&gt;<br />
&lt;add value=”index.html” /&gt;<br />
&lt;/files&gt;<br />
&lt;/defaultDocument&gt;<br />
&lt;rewrite&gt;<br />
&lt;rules&gt;<br />
&lt;rule name=”index.php” &gt;<br />
&lt;match url=”^(.*)$” ignoreCase=”true” /&gt;<br />
&lt;conditions&gt;<br />
&lt;add input=”{HTTP_HOST}”    pattern=”^(.*)$” /&gt;<br />
&lt;add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” /&gt;<br />
&lt;add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” /&gt;<br />
&lt;/conditions&gt;<br />
&lt;action type=”Rewrite” url=”index.php/{R:1}” /&gt;<br />
&lt;/rule&gt;<br />
&lt;/rules&gt;<br />
&lt;/rewrite&gt;<br />
&lt;/system.webServer&gt;<br />
&lt;/configuration&gt;</p>
<p>如果操作过程有错误，请详细检查代码是否有错，或者移步美国主机侦探论坛相关版块发帖求助。</p>
]]></content:encoded>
			<wfw:commentRss>https://arvixe.org.cn/arvixe-guifang-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->