<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 'DocumentRoot must be a directory' display when Apache start in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426754#M205071</link>
    <description>I had installed "HP-UX Apache-based Web Server' with v11.00 in D220 machine. Smooth installation .&lt;BR /&gt;&lt;BR /&gt;When I start the Apache , it is ok. I can see the web site by &lt;A href="http://192.168.1.2" target="_blank"&gt;http://192.168.1.2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;So, I hope to change the location to my web which is   /data/web/lyt. However, it display "DocumentRoot must be a directory" . It is a directory obviously. There are a lot of files in /data/web/lyt. It is the first time that I install this version Apache. Do Anyone know why ? I had set the 755 with the file rights. I do not know why it say that it is not a directory.&lt;BR /&gt;&lt;BR /&gt;I had tried DocumentRoot /data/web/lyt&lt;BR /&gt;and "DocumentRoot /data/web/lyt" . Same problem .&lt;BR /&gt;ref:============================================&lt;BR /&gt;#  cd /opt/hpws/apache/bin &lt;BR /&gt;# ./apachectl start&lt;BR /&gt;Syntax error on line 304 of /opt/hpws/apache/conf/httpd.conf:&lt;BR /&gt;DocumentRoot must be a directory&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;# DocumentRoot "/opt/hpws/apache/htdocs"&lt;BR /&gt;DocumentRoot /data/web/lyt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 20 Nov 2004 10:56:35 GMT</pubDate>
    <dc:creator>Kenneth_61</dc:creator>
    <dc:date>2004-11-20T10:56:35Z</dc:date>
    <item>
      <title>'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426754#M205071</link>
      <description>I had installed "HP-UX Apache-based Web Server' with v11.00 in D220 machine. Smooth installation .&lt;BR /&gt;&lt;BR /&gt;When I start the Apache , it is ok. I can see the web site by &lt;A href="http://192.168.1.2" target="_blank"&gt;http://192.168.1.2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;So, I hope to change the location to my web which is   /data/web/lyt. However, it display "DocumentRoot must be a directory" . It is a directory obviously. There are a lot of files in /data/web/lyt. It is the first time that I install this version Apache. Do Anyone know why ? I had set the 755 with the file rights. I do not know why it say that it is not a directory.&lt;BR /&gt;&lt;BR /&gt;I had tried DocumentRoot /data/web/lyt&lt;BR /&gt;and "DocumentRoot /data/web/lyt" . Same problem .&lt;BR /&gt;ref:============================================&lt;BR /&gt;#  cd /opt/hpws/apache/bin &lt;BR /&gt;# ./apachectl start&lt;BR /&gt;Syntax error on line 304 of /opt/hpws/apache/conf/httpd.conf:&lt;BR /&gt;DocumentRoot must be a directory&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;# DocumentRoot "/opt/hpws/apache/htdocs"&lt;BR /&gt;DocumentRoot /data/web/lyt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Nov 2004 10:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426754#M205071</guid>
      <dc:creator>Kenneth_61</dc:creator>
      <dc:date>2004-11-20T10:56:35Z</dc:date>
    </item>
    <item>
      <title>Re:  'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426755#M205072</link>
      <description>I had tried &lt;BR /&gt;&lt;BR /&gt;DocumentRoot /data/web/lyt&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;DocumentRoot "/data/web/lyt" . Same problem .</description>
      <pubDate>Sat, 20 Nov 2004 10:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426755#M205072</guid>
      <dc:creator>Kenneth_61</dc:creator>
      <dc:date>2004-11-20T10:58:45Z</dc:date>
    </item>
    <item>
      <title>Re:  'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426756#M205073</link>
      <description>See attach httpd.conf</description>
      <pubDate>Sat, 20 Nov 2004 11:02:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426756#M205073</guid>
      <dc:creator>Kenneth_61</dc:creator>
      <dc:date>2004-11-20T11:02:04Z</dc:date>
    </item>
    <item>
      <title>Re:  'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426757#M205074</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you do a 'cd /data/web/lyt' as the owner of the httpd processes (for ex., www).&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sat, 20 Nov 2004 13:08:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426757#M205074</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-20T13:08:25Z</dc:date>
    </item>
    <item>
      <title>Re:  'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426758#M205075</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it sounds like /data/web/lyt isn't of type diretory or like Sri said check the path down whether it is accessable.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Nov 2004 15:17:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426758#M205075</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-11-20T15:17:06Z</dc:date>
    </item>
    <item>
      <title>Re:  'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426759#M205076</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;I have noticed something else. The lines are delimited by cr+lf. Did this happen while you transferred the file to itrc or does the original file on your machine have this too?&lt;BR /&gt;Check with vi to see if there are ^M at the end of the lines.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Nov 2004 15:24:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426759#M205076</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-11-20T15:24:06Z</dc:date>
    </item>
    <item>
      <title>Re:  'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426760#M205077</link>
      <description>More than likely the httpd.conf file was corrupted in upload.&lt;BR /&gt;&lt;BR /&gt;The error would be different if the http.conf file were on the apche server like it appears here.&lt;BR /&gt;&lt;BR /&gt;The DocumentRoot directory must be accessible to the user that owns the apache binaries.&lt;BR /&gt;&lt;BR /&gt;There could be a soft or hard link that is bothering apache as well, involving that directory.&lt;BR /&gt;&lt;BR /&gt;Just for grins try another dirctory, restart apache and see what it says.&lt;BR /&gt;&lt;BR /&gt;Note also,that apache will not work right if its scoreboard file is not local disk. All kinds of wild things will happen if you try and locate that file on nfs or samba shares.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 20 Nov 2004 19:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426760#M205077</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-20T19:27:39Z</dc:date>
    </item>
    <item>
      <title>Re:  'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426761#M205078</link>
      <description>Thanks for all. After reviewing all your reply, I find that it is due to the directory problem on /data/web/lyt. I can access this. But, the error  is fixed if I create /data/web/testing.  The /data/web/lyt is created by FTP FileZilla. I do not know why. &lt;BR /&gt;&lt;BR /&gt;q1. I am stupid on UNIX. Can anyone tell me what is the command to remove all the files and subdirectories in a path ? I Cannot do it by "rmdir /data/web/lyt"&lt;BR /&gt;&lt;BR /&gt;q2. Can you tell tell what is the file and lines which control the default open file rights. I do not want to be 777. I hope to create 755.&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Nov 2004 19:59:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426761#M205078</guid>
      <dc:creator>Kenneth_61</dc:creator>
      <dc:date>2004-11-20T19:59:14Z</dc:date>
    </item>
    <item>
      <title>Re:  'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426762#M205079</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Find the answers.&lt;BR /&gt;&lt;BR /&gt;1. I am stupid on UNIX. Can anyone tell me what is the command to remove all the files and subdirectories in a path ? I Cannot do it by "rmdir /data/web/lyt"&lt;BR /&gt;&lt;BR /&gt;A. 'rm -rf /data/web/lyt'. If there are files under the directory, you will have to remove them before you use 'rmdir'. However, I suggest you move the directory and delete it later. 'mv /data/web/lyt /data/web/lyt.old'. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;q2. Can you tell tell what is the file and lines which control the default open file rights. I do not want to be 777. I hope to create 755.&lt;BR /&gt;&lt;BR /&gt;A. It depends on what user you are using for. Usually it's 'www'. You can make it even 700 (Good practice) as long all the files are owned by www as that's  how httpd processes run and access the files. Otherwise, make it 755.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sat, 20 Nov 2004 20:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426762#M205079</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-20T20:33:10Z</dc:date>
    </item>
    <item>
      <title>Re:  'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426763#M205080</link>
      <description>www can own the binaries&lt;BR /&gt;apache can own the binaries.&lt;BR /&gt;&lt;BR /&gt;Depends on where you got apache.&lt;BR /&gt;&lt;BR /&gt;I have the depot version of apache prepared for hpux by HP.&lt;BR /&gt;&lt;BR /&gt;user is www&lt;BR /&gt;group is nobody&lt;BR /&gt;&lt;BR /&gt;Apache is shipped less secure in Linux or by download from the website.&lt;BR /&gt;&lt;BR /&gt;Try the commands Sri gave you to clear the directory or pick a new one.&lt;BR /&gt;&lt;BR /&gt;umask can set default permissions for a user. in /etc/profile or .profile&lt;BR /&gt;&lt;BR /&gt;Didnn't see that in Sri's answer. I must be sleepy.&lt;BR /&gt;&lt;BR /&gt;Good Luck.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 20 Nov 2004 23:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426763#M205080</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-20T23:33:28Z</dc:date>
    </item>
    <item>
      <title>Re:  'DocumentRoot must be a directory' display when Apache start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426764#M205081</link>
      <description>Be sure you use the version of apache available from hp. Friday, I installed the full apache suite on my workstation. After downloading the software depot, it took about 15 minutes to have apache up and running in place of the older version.&lt;BR /&gt;&lt;BR /&gt;Regarding the command rmdir: If you have trouble with a unix command, look up the man page. Near the bottom of a man page, you will be referred to other commands that have similar functionality, like rm. I think you were wanting rmdir to do what rm -R will do. However, rm -R can be a dangerous command if used carelessly.&lt;BR /&gt;&lt;BR /&gt;Sam McKnight&lt;BR /&gt;</description>
      <pubDate>Sun, 21 Nov 2004 20:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/documentroot-must-be-a-directory-display-when-apache-start/m-p/3426764#M205081</guid>
      <dc:creator>Sam McKnight</dc:creator>
      <dc:date>2004-11-21T20:38:56Z</dc:date>
    </item>
  </channel>
</rss>

