<?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 Re: apache virtual hosts question in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/apache-virtual-hosts-question/m-p/3032927#M5854</link>
    <description>&lt;BR /&gt;&lt;VIRTUALHOST 66.92.143.197=""&gt;&lt;BR /&gt;    ServerAdmin sprotter@investmenttool.com&lt;BR /&gt;    DocumentRoot /home/webusers/loweslaw/htdocs&lt;BR /&gt;    ServerName loweslaw.com&lt;BR /&gt;    ScriptAlias /cgi-bin/ "/home/webusers/loweslaw/cgi-bin/"&lt;BR /&gt;    ErrorLog logs/loweslaw.com.error_log&lt;BR /&gt;    CustomLog logs/loweslaw.com.access_log common&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thats a working Virtual Host entry, note that error logs and access log is redirected to the location of my choice.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Fri, 25 Jul 2003 02:10:29 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-07-25T02:10:29Z</dc:date>
    <item>
      <title>apache virtual hosts question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-virtual-hosts-question/m-p/3032925#M5852</link>
      <description>Version: apache 2.0.46&lt;BR /&gt;System: Linux&lt;BR /&gt;&lt;BR /&gt;I have a vitual host&lt;BR /&gt;&lt;BR /&gt;&lt;VITUALHOST x.x.x.x=""&gt;&lt;BR /&gt;    Documentroot /home&lt;BR /&gt;    ServerName &lt;A href="http://www.myname.edu" target="_blank"&gt;www.myname.edu&lt;/A&gt;&lt;BR /&gt;    ErrorLog /var/log/default.log&lt;BR /&gt;    CustomLog /var/log/error.log&lt;BR /&gt;&lt;BR /&gt;    &lt;DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt;        # other directives&lt;BR /&gt;&lt;BR /&gt;    &lt;/DIRECTORY&gt;&lt;BR /&gt;&lt;/VITUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;I want httpd to log requests and errors from "/home/*/*/public_html" to&lt;BR /&gt;different files&lt;BR /&gt;&lt;BR /&gt;Can I do this by creating another virtual host ??&lt;BR /&gt;The server name has to be the same so whatever I tried doesn't work.&lt;BR /&gt; I am using the NameVirtualHost directive.&lt;BR /&gt;&lt;BR /&gt;Any other way to do it ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sriram&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 19:50:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-virtual-hosts-question/m-p/3032925#M5852</guid>
      <dc:creator>Sriram Rajan</dc:creator>
      <dc:date>2003-07-24T19:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: apache virtual hosts question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-virtual-hosts-question/m-p/3032926#M5853</link>
      <description>From what I can tell in the documentation, there's nothing stopping you from doing:&lt;BR /&gt;&lt;BR /&gt;&lt;DIRECTORY&gt; &lt;BR /&gt;# other directives&lt;BR /&gt;CustomLog /var/log/home-access.log &lt;BR /&gt;&lt;/DIRECTORY&gt;</description>
      <pubDate>Thu, 24 Jul 2003 22:10:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-virtual-hosts-question/m-p/3032926#M5853</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-07-24T22:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: apache virtual hosts question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-virtual-hosts-question/m-p/3032927#M5854</link>
      <description>&lt;BR /&gt;&lt;VIRTUALHOST 66.92.143.197=""&gt;&lt;BR /&gt;    ServerAdmin sprotter@investmenttool.com&lt;BR /&gt;    DocumentRoot /home/webusers/loweslaw/htdocs&lt;BR /&gt;    ServerName loweslaw.com&lt;BR /&gt;    ScriptAlias /cgi-bin/ "/home/webusers/loweslaw/cgi-bin/"&lt;BR /&gt;    ErrorLog logs/loweslaw.com.error_log&lt;BR /&gt;    CustomLog logs/loweslaw.com.access_log common&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thats a working Virtual Host entry, note that error logs and access log is redirected to the location of my choice.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 25 Jul 2003 02:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-virtual-hosts-question/m-p/3032927#M5854</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-25T02:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: apache virtual hosts question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-virtual-hosts-question/m-p/3032928#M5855</link>
      <description>if i understand correctly you would like to enable the users web-sites from the public_html directory in their home folders .&lt;BR /&gt;so .. you cannot do that by virtual host decleration . what you need to do is that :&lt;BR /&gt;&lt;BR /&gt;1. creat the folder public_html in your user home folder&lt;BR /&gt;&lt;BR /&gt;2. comment out the line :  UserDir disable&lt;BR /&gt;   in your /etc/httpd/conf/httpd.conf&lt;BR /&gt;3. uncomment (enable )the following line : UserDir public_html  in your /etc/httpd/conf/httpd.conf file&lt;BR /&gt;&lt;BR /&gt;4. change the permmision of the home folder that contain the public_html to 711&lt;BR /&gt;&lt;BR /&gt;5. change the permmision for the public_html and the docs in it to 755&lt;BR /&gt;&lt;BR /&gt;6. restart your httpd service and have fun.</description>
      <pubDate>Sun, 27 Jul 2003 07:24:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-virtual-hosts-question/m-p/3032928#M5855</guid>
      <dc:creator>Avinoam</dc:creator>
      <dc:date>2003-07-27T07:24:18Z</dc:date>
    </item>
  </channel>
</rss>

