<br><br><div><span class="gmail_quote">On 26/11/2007, <b class="gmail_sendername">Lonni J Friedman</b> &lt;<a href="mailto:netllama@gmail.com">netllama@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 11/26/07, Patrick du Boucher &lt;<a href="mailto:patrick.duboucher@gmail.com">patrick.duboucher@gmail.com</a>&gt; wrote:<br>&gt; &gt;&gt; I&#39;ve tried adding empty index.html files to /var/www/html/ but nothing<br>&gt; &gt;&gt; (test
<br>&gt; &gt;&gt; page is still loaded).<br>&gt; &gt;<br>&gt; &gt; That sounds like expected behavior. Rather than using an empty file,<br>&gt; &gt; how about putting one with unique content?<br>&gt; &gt;<br>&gt;<br>&gt; Okay so I&#39;ve added, some basic html, to no avail. I&#39;m still getting some
<br>&gt; &quot;You don&#39;t have permission to access /index.html on this server.&quot; errors<br><br>Have you checked the apache error log?&nbsp;&nbsp;That should be the first place<br>to look for information on why something is failing.
</blockquote><div><br>Yes indeed, not very descriptive, but at least it confirms it&#39;s a permissions issue.<br><br>[Mon Nov 26 19:31:51 2007] [error] [client &lt;x&gt;.&lt;x&gt;.&lt;x&gt;.52] (13)Permission denied: access to /index.html denied
<br>[Mon Nov 26 19:31:53 2007] [error] [client &lt;x&gt;.&lt;x&gt;.&lt;x&gt;.52] (13)Permission denied: access to /index.html denied<br><br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Also, what are the permissions for every directory &amp; file leading to<br>your index.html file?</blockquote><div><br>path is /var/www/html/index.html... here are the perms.<br><br>drwxr-xr-x&nbsp;&nbsp; 25 root root&nbsp; 4096 Nov&nbsp; 8 17:03 var
<br>drwxr-xr-x&nbsp;&nbsp; 8 root&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp; 4096 Oct 22 10:34 www<br>drwxr-xr-x&nbsp;&nbsp; 2 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root 4096 Nov 26 13:48 html<br>-rwxrwxr-x&nbsp; 1 root root 36 Nov 26 13:48 /var/www/html/index.html<br><br>all seems okay....<br><br>contents of&nbsp; 
index.html&nbsp; is&nbsp; <br>&lt;html&gt;<br>&lt;body&gt;<br>toto<br>&lt;/body&gt;<br>&lt;/html&gt;<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; &gt;&gt; I&#39;ve tried changing the DocumentRoot path in /etc/httpd/conf.d to<br>&gt; &gt;&gt; &quot;/var/pagoda&quot; (and adding index.html there)<br>&gt; &gt;<br>&gt; &gt; I&#39;ve never seen any distro that keeps its 
httpd.conf in<br>&gt; &gt; /etc/httpd/conf.d .&nbsp;&nbsp;You likely want /etc/httpd/conf/httpd.conf<br>&gt; &gt;<br>&gt;<br>&gt; /etc/httpd/conf/httpd.conf<br>&gt;<br>&gt; Indeed, my mistake. That is where the conf file is kept.<br>
&gt; DocumentRoot &quot;/var/pagoda&quot;<br><br>I don&#39;t really understand why you&#39;re trying to create a new docroot<br>when Redhat provides you with a perfectly functioning one.&nbsp;&nbsp;If you<br>can&#39;t get the default docroot working, then I think you have little
<br>chance of getting a new, alternate docroot to work.&nbsp;&nbsp;Please focus on<br>getting the standard, expected functionality working before going off<br>into the weeds with custom configurations.</blockquote><div><br>Point taken! indeed this is what i will focus on!
<br>I&#39;ve changed the Docroot back....<br><br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; Lonni J Friedman-2 wrote:<br>
&gt; &gt;<br>&gt; &gt; On 11/23/07, Patrick du Boucher &lt;<a href="mailto:patrick.duboucher@gmail.com">patrick.duboucher@gmail.com</a>&gt; wrote:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; What I am looking for is super simple..... and yet I appear to be super
<br>&gt; &gt;&gt; stuck!<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; On a red-hat (to which I am new-ish) system, I want to publish a folder<br>&gt; &gt;&gt; /var/pagoda to a web-browser. Nothing fancy.... purely for file access
<br>&gt; &gt;&gt; and<br>&gt; &gt;&gt; browsing.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Something similar to the &quot;Index of /pub&quot; type websites is perfect.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I have already a httpd service running.....
<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; The &quot;Red Hat Enterprise Linux Test Page&quot; is displayed when the machine&#39;s<br>&gt; &gt;&gt; ip<br>&gt; &gt;&gt; adress is entered in a browser.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;
<br>&gt; &gt;&gt; sounds great.....<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; and this is where the problems start.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I&#39;ve tried adding empty index.html files to /var/www/html/ but nothing
<br>&gt; &gt;&gt; (test<br>&gt; &gt;&gt; page is still loaded).<br>&gt; &gt;<br>&gt; &gt; That sounds like expected behavior. Rather than using an empty file,<br>&gt; &gt; how about putting one with unique content?<br>&gt; &gt;
<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I&#39;ve tried changing the DocumentRoot path in /etc/httpd/conf.d to<br>&gt; &gt;&gt; &quot;/var/pagoda&quot; (and adding index.html there)<br>&gt; &gt;<br>&gt; &gt; I&#39;ve never seen any distro that keeps its 
httpd.conf in<br>&gt; &gt; /etc/httpd/conf.d .&nbsp;&nbsp;You likely want /etc/httpd/conf/httpd.conf<br>&gt; &gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; but now http://&lt;ip.address&gt;/index.html now gives me<br>&gt; &gt;&gt; ---------------
<br>&gt; &gt;&gt; Forbidden<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; You don&#39;t have permission to access /index.html on this server.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Additionally, a 403 Forbidden error was encountered while trying to use
<br>&gt; &gt;&gt; an<br>&gt; &gt;&gt; ErrorDocument to handle the request.<br>&gt; &gt;&gt; ----------------<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; so before I try to mess with file permissions and configurations..... I<br>&gt; &gt;&gt; was
<br>&gt; &gt;&gt; hoping some enlightened soul my shed some wisdom!!!<br><br><br>--<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>L. Friedman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:netllama@gmail.com">
netllama@gmail.com</a><br>LlamaLand&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://netllama.linux-sxs.org">https://netllama.linux-sxs.org</a><br>_______________________________________________<br>Linux-users mailing list ( <a href="mailto:Linux-users@linux-sxs.org">
Linux-users@linux-sxs.org</a> )<br>Unsub/Password/Etc:<br><a href="http://mail.linux-sxs.org/mailman/listinfo/linux-users">http://mail.linux-sxs.org/mailman/listinfo/linux-users</a><br><br>Need to chat further on this subject? Check out #linux-users on 
<a href="http://irc.linux-sxs.org">irc.linux-sxs.org</a> !<br></blockquote></div><br>