<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Apache serve blank page for static files in cifs mount</title>
	<atom:link href="http://blog.hostonnet.com/apache-serve-blank-page-for-static-files-in-cifs-mount/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.hostonnet.com/apache-serve-blank-page-for-static-files-in-cifs-mount</link>
	<description>Windows, Linux, Ubuntu, Web Hosting</description>
	<lastBuildDate>Thu, 15 Jul 2010 12:27:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://blog.hostonnet.com/apache-serve-blank-page-for-static-files-in-cifs-mount/comment-page-1#comment-29</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 12 Sep 2009 09:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hostonnet.com/?p=78#comment-29</guid>
		<description>You don’t have permission to access /test/ on this server.

This error may be due to permission.  Here is the mount command i use

&lt;pre lang=&quot;bash&quot;&gt;
/bin/mount -t cifs -o rw,user=hostonnet,password=188928989289,uid=48,gid=48,setuid=48,setgid=48,setuids,file_mode=0755,dir_mode=0755 //192.168.0.1/web /www/web
&lt;/pre&gt;

48 is id for user apache that runs the web server

&lt;pre lang=&quot;bash&quot;&gt;
[root@linux ~]# id apache
uid=48(apache) gid=48(apache) groups=48(apache)
[root@linux ~]#
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>You don’t have permission to access /test/ on this server.</p>
<p>This error may be due to permission.  Here is the mount command i use</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> cifs <span style="color: #660033;">-o</span> rw,<span style="color: #007800;">user</span>=hostonnet,<span style="color: #007800;">password</span>=<span style="color: #000000;">188928989289</span>,<span style="color: #007800;">uid</span>=<span style="color: #000000;">48</span>,<span style="color: #007800;">gid</span>=<span style="color: #000000;">48</span>,<span style="color: #007800;">setuid</span>=<span style="color: #000000;">48</span>,<span style="color: #007800;">setgid</span>=<span style="color: #000000;">48</span>,setuids,<span style="color: #007800;">file_mode</span>=0755,<span style="color: #007800;">dir_mode</span>=0755 <span style="color: #000000; font-weight: bold;">//</span>192.168.0.1<span style="color: #000000; font-weight: bold;">/</span>web <span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>web</pre></div></div>

<p>48 is id for user apache that runs the web server</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>linux ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># id apache</span>
<span style="color: #007800;">uid</span>=<span style="color: #000000;">48</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>apache<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">gid</span>=<span style="color: #000000;">48</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>apache<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">groups</span></span>=<span style="color: #000000;">48</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>apache<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>linux ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;">#</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Still have question</title>
		<link>http://blog.hostonnet.com/apache-serve-blank-page-for-static-files-in-cifs-mount/comment-page-1#comment-28</link>
		<dc:creator>Still have question</dc:creator>
		<pubDate>Wed, 09 Sep 2009 17:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hostonnet.com/?p=78#comment-28</guid>
		<description>I have set EnableSendfile off,but still can&#039;t visit the the web path
only got the following infomation:

Forbidden

You don&#039;t have permission to access /test/ on this server.

what&#039;s the matter with my configuration?</description>
		<content:encoded><![CDATA[<p>I have set EnableSendfile off,but still can&#8217;t visit the the web path<br />
only got the following infomation:</p>
<p>Forbidden</p>
<p>You don&#8217;t have permission to access /test/ on this server.</p>
<p>what&#8217;s the matter with my configuration?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thankful</title>
		<link>http://blog.hostonnet.com/apache-serve-blank-page-for-static-files-in-cifs-mount/comment-page-1#comment-10</link>
		<dc:creator>Thankful</dc:creator>
		<pubDate>Thu, 25 Jun 2009 01:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hostonnet.com/?p=78#comment-10</guid>
		<description>Wow - thanks!!!  I&#039;ve been searching the web for an hour trying to find a fix for this.  That one line fixed everything.</description>
		<content:encoded><![CDATA[<p>Wow &#8211; thanks!!!  I&#8217;ve been searching the web for an hour trying to find a fix for this.  That one line fixed everything.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
