<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Wed Jun 19, 2013 9:49 am by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Wed Jun 19, 2013 9:49 am</pubDate>
  <lastBuildDate>Wed Jun 19, 2013 9:49 am</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>RE: Re: RE: Setting up a web server</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=1875#1875</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=515'&gt;skecs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon May 16, 2005 9:17 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Just a quick one - Apache files have moved to /etc/apache2 and the conf files have been restructured slightly. The setting you are looking for looks like this (in default-server.conf):&lt;br /&gt;
&lt;br /&gt;
# UserDir: The name of the directory that is appended onto a user's home&lt;br /&gt;
# directory if a ~user request is received.&lt;br /&gt;
#&lt;br /&gt;
# To disable it, simply remove userdir from the list of modules in APACHE_MODULES &lt;br /&gt;
# in /etc/sysconfig/apache2.&lt;br /&gt;
....... some junk in here ........&lt;br /&gt;
UserDir public_html</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=1875#1875</comments>
                                        <author>skecs</author>
                                        <pubDate>Mon May 16, 2005 9:17 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=1875#1875</guid>
                                      </item>
                                      <item>
                                        <title>Re: RE: Setting up a web server</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=1844#1844</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=-1'&gt;Anonymous&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun May 15, 2005 6:05 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      </description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=1844#1844</comments>
                                        <author>Anonymous</author>
                                        <pubDate>Sun May 15, 2005 6:05 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=1844#1844</guid>
                                      </item>
                                      <item>
                                        <title>RE: Setting up a web server</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=1013#1013</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Apr 26, 2005 12:05 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Possibly. the location and number of Apache config files is a moveable feast, based on distro, Apache version, prevailing wind and other factors. The good news is that wherever they are, they are always kept together in one directory, so it will be in one of the files in /etc/httpd/conf/.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=1013#1013</comments>
                                        <author>nelz</author>
                                        <pubDate>Tue Apr 26, 2005 12:05 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=1013#1013</guid>
                                      </item>
                                      <item>
                                        <title>RE: Setting up a web server</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=1012#1012</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=-1'&gt;Anonymous&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Apr 26, 2005 11:24 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks nelz.&lt;br /&gt;
I couldn't find the config file where you said but I think I found it at /etc/httpd/conf/httpd2.conf. There is a setting for DocumentRoot which I can change.&lt;br /&gt;
However, I couldn't find any reference in the file to &amp;lt;Directory&amp;gt;. Is this perhaps in a different file?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=1012#1012</comments>
                                        <author>Anonymous</author>
                                        <pubDate>Tue Apr 26, 2005 11:24 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=1012#1012</guid>
                                      </item>
                                      <item>
                                        <title>RE: Setting up a web server</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=856#856</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Apr 22, 2005 10:26 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Change the DocumentRoot setting in Apache's config file - usually /etc/apache2/httpd.conf.&lt;br /&gt;
&lt;br /&gt;
You will also need to change the &amp;lt;Directory&amp;gt; settings to suit. The file is well commented.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=856#856</comments>
                                        <author>nelz</author>
                                        <pubDate>Fri Apr 22, 2005 10:26 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=856#856</guid>
                                      </item>
                                      <item>
                                        <title>Setting up a web server</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=854#854</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=154'&gt;mikejd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Apr 22, 2005 9:49 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I am setting up an old machine to use as a web server internally on my office network. This is for design purposes before uploading sites to a webhost. I am using MDK9.0 and Apache/php and have it running OK.&lt;br /&gt;
&lt;br /&gt;
I can open the web server using 192.168.0.3:80 which opens the file at /var/www/html/index.shtml. I have replaced this file with my own index.html which is fine.&lt;br /&gt;
&lt;br /&gt;
Question : I would like to keep the files for the web sites on /home and would like to know how to reference them. I have tried, temporarily, accessing a content management system at /home/mike/tmp/cinj152/index.php as a link but get a 404 error. What am I doing wrong?&lt;br /&gt;
&lt;br /&gt;
Any advice welcome. TIA&lt;br /&gt;
&lt;br /&gt;
Mike Davies</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=854#854</comments>
                                        <author>mikejd</author>
                                        <pubDate>Fri Apr 22, 2005 9:49 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=854#854</guid>
                                      </item></channel></rss>