<?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: Howto: Lighttpd web server setting up virtual hosting</title> <atom:link href="http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Nassou</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-173737</link> <dc:creator>Nassou</dc:creator> <pubDate>Wed, 07 Sep 2011 02:10:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-173737</guid> <description>Is probably the biggest handicap for lighttpd, guys it&#039;s not possible to set error log for each vhost like apache,nginx etc.
So this conditionnal will not work :
$HTTP[&quot;host&quot;] =~ &quot;(^&#124;\.)nixcraft\.com$&quot; {
&gt;&gt;&gt;&gt; server.errorlog = &quot;/var/log/lighttpd/nixcraft/error.log&quot;
}
You have one lighttpd running, so one error.log, so says one of the developers of lighty
&gt;  http://redmine.lighttpd.net/issues/665#note-15
The only method is to track the errors by hand on the script or other, example : http://redmine.lighttpd.net/issues/665#note-24
I will repeat what was said above, lighttpd is designed like that, let&#039;s wait for a patch or other, who knows ?
Nassou.</description> <content:encoded><![CDATA[<p>Is probably the biggest handicap for lighttpd, guys it&#8217;s not possible to set error log for each vhost like apache,nginx etc.</p><p>So this conditionnal will not work :</p><p>$HTTP["host"] =~ &#8220;(^|\.)nixcraft\.com$&#8221; {<br
/> &gt;&gt;&gt;&gt; server.errorlog = &#8220;/var/log/lighttpd/nixcraft/error.log&#8221;<br
/> }</p><p>You have one lighttpd running, so one error.log, so says one of the developers of lighty<br
/> &gt; <a
href="http://redmine.lighttpd.net/issues/665#note-15" rel="nofollow">http://redmine.lighttpd.net/issues/665#note-15</a></p><p>The only method is to track the errors by hand on the script or other, example : <a
href="http://redmine.lighttpd.net/issues/665#note-24" rel="nofollow">http://redmine.lighttpd.net/issues/665#note-24</a></p><p>I will repeat what was said above, lighttpd is designed like that, let&#8217;s wait for a patch or other, who knows ?</p><p>Nassou.</p> ]]></content:encoded> </item> <item><title>By: Marc</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-173387</link> <dc:creator>Marc</dc:creator> <pubDate>Thu, 18 Aug 2011 11:11:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-173387</guid> <description>In the first step you create a directory for logs:
# mkdir /var/log/lighttpd/nixcraft.com
but later you create a file server.errorlog = &quot;/var/log/lighttpd/nixcraft/error.log&quot;
Did you mean server.errorlog = &quot;/var/log/lighttpd/nixcraft.com/error.log    ?</description> <content:encoded><![CDATA[<p>In the first step you create a directory for logs:</p><p># mkdir /var/log/lighttpd/nixcraft.com</p><p>but later you create a file server.errorlog = &#8220;/var/log/lighttpd/nixcraft/error.log&#8221;</p><p>Did you mean server.errorlog = &#8220;/var/log/lighttpd/nixcraft.com/error.log    ?</p> ]]></content:encoded> </item> <item><title>By: satimis</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-170622</link> <dc:creator>satimis</dc:creator> <pubDate>Thu, 14 Apr 2011 13:51:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-170622</guid> <description>Hi,
Re:
# chown lighttpd:ftpuser1 /home/lighttpd/nixcraft.com/http
# chown lighttpd:ftpuser2 /home/lighttpd/theos.in/http
Please shed me some light on the groups &quot;ftpuser1&quot; and &quot;ftpuser2&quot;.  What they are?  Thanks.
Neither I have user &quot;lighttpd&quot;.  Whether run &quot;addusr&quot; to add it?
B.R.
satimis</description> <content:encoded><![CDATA[<p>Hi,</p><p>Re:<br
/> # chown lighttpd:ftpuser1 /home/lighttpd/nixcraft.com/http<br
/> # chown lighttpd:ftpuser2 /home/lighttpd/theos.in/http</p><p>Please shed me some light on the groups &#8220;ftpuser1&#8243; and &#8220;ftpuser2&#8243;.  What they are?  Thanks.</p><p>Neither I have user &#8220;lighttpd&#8221;.  Whether run &#8220;addusr&#8221; to add it?</p><p>B.R.<br
/> satimis</p> ]]></content:encoded> </item> <item><title>By: ankit</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-170367</link> <dc:creator>ankit</dc:creator> <pubDate>Tue, 29 Mar 2011 11:44:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-170367</guid> <description>hi,
I am facing the problem in linking the cgi script to the HTML page . whenever i try to open it in the web browser a 404 error appears.
cgi.assign                 = ( &quot;.cgi&quot; =&gt; &quot;http://ip-address/mnt/apps/web/cgi-bin/&quot; )
$SERVER[&quot;socket&quot;] == &quot;:80&quot; {
}
My cgi bin has a .cgi file in it.</description> <content:encoded><![CDATA[<p>hi,<br
/> I am facing the problem in linking the cgi script to the HTML page . whenever i try to open it in the web browser a 404 error appears.<br
/> cgi.assign                 = ( &#8220;.cgi&#8221; =&gt; &#8220;http://ip-address/mnt/apps/web/cgi-bin/&#8221; )</p><p>$SERVER["socket"] == &#8220;:80&#8243; {<br
/> }<br
/> My cgi bin has a .cgi file in it.</p> ]]></content:encoded> </item> <item><title>By: Deo</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-168115</link> <dc:creator>Deo</dc:creator> <pubDate>Fri, 07 Jan 2011 03:17:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-168115</guid> <description>thanks for the inputs. this works for me.
http://localhost:8081/
$SERVER[&quot;socket&quot;] == &quot;:8081&quot; {
server.document-root = &quot;/var/www/app_name/&quot;
server.errorlog = &quot;/var/log/lighttpd/app_name/error.log&quot;
}</description> <content:encoded><![CDATA[<p>thanks for the inputs. this works for me.</p><p><a
href="http://localhost:8081/" rel="nofollow">http://localhost:8081/</a></p><p>$SERVER["socket"] == &#8220;:8081&#8243; {<br
/> server.document-root = &#8220;/var/www/app_name/&#8221;<br
/> server.errorlog = &#8220;/var/log/lighttpd/app_name/error.log&#8221;<br
/> }</p> ]]></content:encoded> </item> <item><title>By: DanielS</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-152884</link> <dc:creator>DanielS</dc:creator> <pubDate>Wed, 13 Jan 2010 07:37:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-152884</guid> <description>I just wanted to say thanks, this post helped me get all of my virtual host&#039;s back up and running in no time! I had been using ispconfig3 prior and decided why have extra bloat when I can do it myself with just a little work, and this proved to be much better then what I had before! It&#039;s noticably faster and I can&#039;t thank you enough!
Also I noticed that user lighttpd wasn&#039;t created however www-data worked fine, is this a problem to be using this user:group instead of lighttpd:lighttpd security wise or other?
Thanks again!</description> <content:encoded><![CDATA[<p>I just wanted to say thanks, this post helped me get all of my virtual host&#8217;s back up and running in no time! I had been using ispconfig3 prior and decided why have extra bloat when I can do it myself with just a little work, and this proved to be much better then what I had before! It&#8217;s noticably faster and I can&#8217;t thank you enough!</p><p>Also I noticed that user lighttpd wasn&#8217;t created however www-data worked fine, is this a problem to be using this user:group instead of lighttpd:lighttpd security wise or other?</p><p>Thanks again!</p> ]]></content:encoded> </item> <item><title>By: HB</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-152141</link> <dc:creator>HB</dc:creator> <pubDate>Sun, 06 Dec 2009 01:36:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-152141</guid> <description>My newdomain-script  lighttpd&amp;mod_mysql_vhost&amp;wordpress_permalink
&lt;pre&gt;#!/bin/sh
echo &quot;Enter new zone&quot;
read zone
echo &quot;Enter new domain&quot;
read domain
echo &quot;Your new domain is $domain.$zone&quot;
if [ ! -d  /var/www/servers/$domain.$zone ];
then
mkdir /var/www/servers/$domain.$zone
mkdir /var/www/servers/$domain.$zone/www &amp;&amp; chown www-data:www-data /var/www/servers/$domain.$zone/www
mkdir /var/www/servers/$domain.$zone/logs &amp;&amp; chown www-data:www-data /var/www/servers/$domain.$zone/logs
mkdir /var/www/servers/$domain.$zone/cgi &amp;&amp; chown www-data:www-data /var/www/servers/$domain.$zone/cgi
mkdir /var/www/servers/$domain.$zone/subdomain &amp;&amp; chown www-data:www-data /var/www/servers/$domain.$zone/subdomain
fi
echo &#039;$HTTP[&quot;host&quot;] =~ &quot;(^&#124;\.)&#039;$domain&#039;\.&#039;$zone&#039;$&quot; {&#039; &gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo &#039;server.document-root = &quot;/var/www/servers/&#039;$domain&#039;.&#039;$zone&#039;/www/&quot;&#039; &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo &#039;accesslog.filename = &quot;/var/www/servers/&#039;$domain&#039;.&#039;$zone&#039;/logs/access.log&quot;&#039; &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo &#039;server.errorlog = &quot;/var/www/servers/&#039;$domain&#039;.&#039;$zone&#039;/logs/error.log&quot;&#039; &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo &#039;#server.error-handler-404 = &quot;/&quot;&#039; &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo &#039;# Wordpress Permalinks&#039; &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo &#039;include &quot;wp-rewrite.conf&quot;&#039; &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo &#039;}&#039; &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo &quot;[client]&quot; &gt; /home/user/.my.cnf
echo &quot;port            = 3306&quot; &gt;&gt; /home/user/.my.cnf
echo &quot;socket          = /var/run/mysqld/mysqld.sock&quot; &gt;&gt; /home/user/.my.cnf
echo &quot;default-character-set=utf8&quot; &gt;&gt; /home/user/.my.cnf
echo &quot;user=inshttpd&quot; &gt;&gt; /home/user/.my.cnf
echo &quot;password=qwertyui&quot; &gt;&gt; /home/user/.my.cnf
echo &quot;insert into &quot;&#039;`domains`&#039;&quot; (&quot;&#039;`domain`&#039;&quot;, &quot;&#039;`docroot`&#039;&quot;) values (&#039;$domain.$zone&#039;, &#039;/var/www/servers/$domain.$zone/www&#039;);&quot;\
&gt; /tmp/$domain.$zone.sql
/usr/bin/mysql httpd  /dev/null
&lt;/code&gt;
wp-rewrite.conf
&lt;code&gt;
# Wordpress Permalinks
url.rewrite-once = (
&quot;^/(wp-.+).*/?&quot; =&gt; &quot;$0&quot;,
&quot;^/images/.*/?&quot; =&gt; &quot;$0&quot;,
&quot;^/temp/.*/?&quot; =&gt; &quot;$0&quot;,
&quot;^/(sitemap.xml)&quot; =&gt; &quot;$0&quot;,
&quot;^/(xmlrpc.php)&quot; =&gt; &quot;$0&quot;,
&quot;^/keyword/([A-Za-z_0-9\-]+)/?$&quot; =&gt; &quot;/index.php?keyword=$1&quot;,
&quot;^/.*?(\?.*)?$&quot; =&gt; &quot;/index.php$1&quot;
)
&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>My newdomain-script  lighttpd&amp;mod_mysql_vhost&amp;wordpress_permalink</p><pre>#!/bin/sh
echo "Enter new zone"
read zone
echo "Enter new domain"
read domain
echo "Your new domain is $domain.$zone"
if [ ! -d  /var/www/servers/$domain.$zone ];
then
mkdir /var/www/servers/$domain.$zone
mkdir /var/www/servers/$domain.$zone/www &amp;&amp; chown www-data:www-data /var/www/servers/$domain.$zone/www
mkdir /var/www/servers/$domain.$zone/logs &amp;&amp; chown www-data:www-data /var/www/servers/$domain.$zone/logs
mkdir /var/www/servers/$domain.$zone/cgi &amp;&amp; chown www-data:www-data /var/www/servers/$domain.$zone/cgi
mkdir /var/www/servers/$domain.$zone/subdomain &amp;&amp; chown www-data:www-data /var/www/servers/$domain.$zone/subdomain
fi
echo '$HTTP["host"] =~ "(^|\.)'$domain'\.'$zone'$" {' &gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo 'server.document-root = "/var/www/servers/'$domain'.'$zone'/www/"' &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo 'accesslog.filename = "/var/www/servers/'$domain'.'$zone'/logs/access.log"' &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo 'server.errorlog = "/var/www/servers/'$domain'.'$zone'/logs/error.log"' &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo '#server.error-handler-404 = "/"' &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo '# WordPress Permalinks' &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo 'include "wp-rewrite.conf"' &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo '}' &gt;&gt; /etc/lighttpd/vhosts/50-$domain.$zone.conf
echo "[client]" &gt; /home/user/.my.cnf
echo "port            = 3306" &gt;&gt; /home/user/.my.cnf
echo "socket          = /var/run/mysqld/mysqld.sock" &gt;&gt; /home/user/.my.cnf
echo "default-character-set=utf8" &gt;&gt; /home/user/.my.cnf
echo "user=inshttpd" &gt;&gt; /home/user/.my.cnf
echo "password=qwertyui" &gt;&gt; /home/user/.my.cnf
echo "insert into "'`domains`'" ("'`domain`'", "'`docroot`'") values ('$domain.$zone', '/var/www/servers/$domain.$zone/www');"\
&gt; /tmp/$domain.$zone.sql
/usr/bin/mysql httpd  /dev/null
wp-rewrite.conf
<code>
# WordPress Permalinks
url.rewrite-once = (
  "^/(wp-.+).*/?" =&gt; "$0",
  "^/images/.*/?" =&gt; "$0",
  "^/temp/.*/?" =&gt; "$0",
  "^/(sitemap.xml)" =&gt; "$0",
  "^/(xmlrpc.php)" =&gt; "$0",
  "^/keyword/([A-Za-z_0-9\-]+)/?$" =&gt; "/index.php?keyword=$1",
  "^/.*?(\?.*)?$" =&gt; "/index.php$1"
)
</code></pre>]]></content:encoded> </item> <item><title>By: Vamsi</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-151107</link> <dc:creator>Vamsi</dc:creator> <pubDate>Mon, 19 Oct 2009 14:29:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-151107</guid> <description>Thanks..really helpful..
I was scratching my head to host multiple domains on my vps..
Vamsi</description> <content:encoded><![CDATA[<p>Thanks..really helpful..<br
/> I was scratching my head to host multiple domains on my vps..</p><p>Vamsi</p> ]]></content:encoded> </item> <item><title>By: Ela</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-150892</link> <dc:creator>Ela</dc:creator> <pubDate>Thu, 01 Oct 2009 15:39:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-150892</guid> <description>Hi,
Please can you find out why this error log is creating. its increasing day by day. Please tell me a solution to delete this file when it is more than 10 mb.
[Tue Sep 08 11:08:31 2009] [error] [client 66.249.68.241] File does not exist: /var/www/vhosts/louis
ville-car-dealers.com/httpdocs/robots.txt
[Wed Sep 09 00:20:51 2009] [error] [client 72.30.161.235] File does not exist: /var/www/vhosts/louis
ville-car-dealers.com/httpdocs/robots.txt
[Wed Sep 09 13:43:39 2009] [error] [client 74.6.22.177] File does not exist: /var/www/vhosts/louisvi
lle-car-dealers.com/httpdocs/robots.txt
[Thu Sep 10 18:56:31 2009] [error] [client 66.249.68.249] File does not exist: /var/www/vhosts/louis
ville-car-dealers.com/httpdocs/robots.txt
[Fri Sep 11 00:21:22 2009] [error] [client 66.249.68.212] File does not exist: /var/www/vhosts/louis
ville-car-dealers.com/httpdocs/robots.txt
[Wed Sep 16 00:36:03 2009] [error] [client 74.6.22.163] File does not exist: /var/www/vhosts/louisvi
lle-car-dealers.com/httpdocs/robots.txt
[Wed Sep 16 05:43:16 2009] [error] [client 66.249.68.249] File does not exist: /var/www/vhosts/louis
ville-car-dealers.com/httpdocs/robots.txt
[Wed Sep 16 10:37:25 2009] [error] [client 69.58.178.33] File does not exist: /var/www/vhosts/louisv
ille-car-dealers.com/httpdocs/robots.txt
[Wed Sep 16 10:37:26 2009] [error] [client 69.58.178.33] File does not exist: /var/www/vhosts/louisv
ille-car-dealers.com/httpdocs/robots.txt
[Wed Sep 16 15:58:09 2009] [error] [client 72.30.87.125] File does not exist: /var/www/vhosts/louisv
ille-car-dealers.com/httpdocs/robots.txt
[Thu Sep 17 03:06:00 2009] [error] [client 76.73.37.234] File does not exist: /var/www/vhosts/louisv
ille-car-dealers.com/httpdocs/robots.txt
[Thu Sep 17 07:21:51 2009] [error] [client 64.246.161.42] File does not exist: /var/www/vhosts/louis
ville-car-dealers.com/httpdocs/robots.txt
[Sat Sep 19 02:22:02 2009] [error] [client 76.73.3[Sat Sep 26 11:05:18 2009] [error] [client 66.249.
71.211] File does not exist: /var/www/vhosts/louisville-car-dealers.com/httpdocs/robots.txt
[Sat Sep 26 20:40:23 2009] [error] [client 64.246.161.30] File does not exist: /var/www/vhosts/louisville-car-dealers.com/httpdocs/robots.txt</description> <content:encoded><![CDATA[<p>Hi,</p><p>Please can you find out why this error log is creating. its increasing day by day. Please tell me a solution to delete this file when it is more than 10 mb.</p><p>[Tue Sep 08 11:08:31 2009] [error] [client 66.249.68.241] File does not exist: /var/www/vhosts/louis<br
/> ville-car-dealers.com/httpdocs/robots.txt<br
/> [Wed Sep 09 00:20:51 2009] [error] [client 72.30.161.235] File does not exist: /var/www/vhosts/louis<br
/> ville-car-dealers.com/httpdocs/robots.txt<br
/> [Wed Sep 09 13:43:39 2009] [error] [client 74.6.22.177] File does not exist: /var/www/vhosts/louisvi<br
/> lle-car-dealers.com/httpdocs/robots.txt<br
/> [Thu Sep 10 18:56:31 2009] [error] [client 66.249.68.249] File does not exist: /var/www/vhosts/louis<br
/> ville-car-dealers.com/httpdocs/robots.txt<br
/> [Fri Sep 11 00:21:22 2009] [error] [client 66.249.68.212] File does not exist: /var/www/vhosts/louis<br
/> ville-car-dealers.com/httpdocs/robots.txt<br
/> [Wed Sep 16 00:36:03 2009] [error] [client 74.6.22.163] File does not exist: /var/www/vhosts/louisvi<br
/> lle-car-dealers.com/httpdocs/robots.txt<br
/> [Wed Sep 16 05:43:16 2009] [error] [client 66.249.68.249] File does not exist: /var/www/vhosts/louis<br
/> ville-car-dealers.com/httpdocs/robots.txt<br
/> [Wed Sep 16 10:37:25 2009] [error] [client 69.58.178.33] File does not exist: /var/www/vhosts/louisv<br
/> ille-car-dealers.com/httpdocs/robots.txt<br
/> [Wed Sep 16 10:37:26 2009] [error] [client 69.58.178.33] File does not exist: /var/www/vhosts/louisv<br
/> ille-car-dealers.com/httpdocs/robots.txt<br
/> [Wed Sep 16 15:58:09 2009] [error] [client 72.30.87.125] File does not exist: /var/www/vhosts/louisv<br
/> ille-car-dealers.com/httpdocs/robots.txt<br
/> [Thu Sep 17 03:06:00 2009] [error] [client 76.73.37.234] File does not exist: /var/www/vhosts/louisv<br
/> ille-car-dealers.com/httpdocs/robots.txt<br
/> [Thu Sep 17 07:21:51 2009] [error] [client 64.246.161.42] File does not exist: /var/www/vhosts/louis<br
/> ville-car-dealers.com/httpdocs/robots.txt<br
/> [Sat Sep 19 02:22:02 2009] [error] [client 76.73.3[Sat Sep 26 11:05:18 2009] [error] [client 66.249.<br
/> 71.211] File does not exist: /var/www/vhosts/louisville-car-dealers.com/httpdocs/robots.txt<br
/> [Sat Sep 26 20:40:23 2009] [error] [client 64.246.161.30] File does not exist: /var/www/vhosts/louisville-car-dealers.com/httpdocs/robots.txt</p> ]]></content:encoded> </item> <item><title>By: Anand</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-150715</link> <dc:creator>Anand</dc:creator> <pubDate>Sat, 19 Sep 2009 08:15:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-150715</guid> <description>hello,
I mention the ftp username, where is the pass?</description> <content:encoded><![CDATA[<p>hello,</p><p>I mention the ftp username, where is the pass?</p> ]]></content:encoded> </item> <item><title>By: firmit</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-149049</link> <dc:creator>firmit</dc:creator> <pubDate>Sun, 21 Jun 2009 06:47:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-149049</guid> <description>I had to add my virtual hostname in /etc/hosts as well:
127.0.0.1 localhost
127.0.1.1 vhost1 # which is defined in /etc/lighttp/vhosts.conf</description> <content:encoded><![CDATA[<p>I had to add my virtual hostname in /etc/hosts as well:<br
/> 127.0.0.1 localhost<br
/> 127.0.1.1 vhost1 # which is defined in /etc/lighttp/vhosts.conf</p> ]]></content:encoded> </item> <item><title>By: Hitur Petur</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-148989</link> <dc:creator>Hitur Petur</dc:creator> <pubDate>Wed, 17 Jun 2009 11:33:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-148989</guid> <description>A quick note why might this exacmple not match.
$HTTP[&quot;host&quot;] =~ &quot;(^&#124;\.)nixcraft\.com$&quot; {
http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:Configuration
A port number might be appended to the end...so..
$HTTP[&quot;host&quot;] =~ &quot;(^&#124;\.)nixcraft\.com(\:[0-9]*)?$&quot;
Is probably a better guess. This worked for me. Cheers.</description> <content:encoded><![CDATA[<p>A quick note why might this exacmple not match.<br
/> $HTTP["host"] =~ &#8220;(^|\.)nixcraft\.com$&#8221; {</p><p><a
href="http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:Configuration" rel="nofollow">http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:Configuration</a><br
/> A port number might be appended to the end&#8230;so..</p><p>$HTTP["host"] =~ &#8220;(^|\.)nixcraft\.com(\:[0-9]*)?$&#8221;</p><p>Is probably a better guess. This worked for me. Cheers.</p> ]]></content:encoded> </item> <item><title>By: dreams</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-148050</link> <dc:creator>dreams</dc:creator> <pubDate>Wed, 08 Apr 2009 16:43:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-148050</guid> <description>I am all confused. I have installed lighttpd on my  embedded linux box. If this box is connected to the pc via USB, I am able to access the webserver. But if I configure the server for some static ip, say a.b.c.d and try to access it by typing http://a.b.c.d:80, I do not get anything at all.
Do we have to do anything (some change in the .conf file). What is ipv6 and ipv4 all about?</description> <content:encoded><![CDATA[<p>I am all confused. I have installed lighttpd on my  embedded linux box. If this box is connected to the pc via USB, I am able to access the webserver. But if I configure the server for some static ip, say a.b.c.d and try to access it by typing <a
href="http://a.b.c.d:80" rel="nofollow">http://a.b.c.d:80</a>, I do not get anything at all.</p><p>Do we have to do anything (some change in the .conf file). What is ipv6 and ipv4 all about?</p> ]]></content:encoded> </item> <item><title>By: Dan Wincet</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-146634</link> <dc:creator>Dan Wincet</dc:creator> <pubDate>Sat, 10 Jan 2009 05:04:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-146634</guid> <description>Calvin Chan, rxKaffee, and ligesh are right, lighttpd only uses the server.errorlog which appears last in the config file, regardless of any conditionals.
i wish you would test your config to make sure it works before posting bogus &quot;tutorials&quot; like this.</description> <content:encoded><![CDATA[<p>Calvin Chan, rxKaffee, and ligesh are right, lighttpd only uses the server.errorlog which appears last in the config file, regardless of any conditionals.</p><p>i wish you would test your config to make sure it works before posting bogus &#8220;tutorials&#8221; like this.</p> ]]></content:encoded> </item> <item><title>By: Roon</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-145388</link> <dc:creator>Roon</dc:creator> <pubDate>Mon, 27 Oct 2008 12:59:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-145388</guid> <description>Thanks for this, I have migrated from apache to lighttpd on my VPS and it has meant that I don&#039;t have to upgrade my VPS memory any more!
Saved me some money!</description> <content:encoded><![CDATA[<p>Thanks for this, I have migrated from apache to lighttpd on my VPS and it has meant that I don&#8217;t have to upgrade my VPS memory any more!</p><p>Saved me some money!</p> ]]></content:encoded> </item> <item><title>By: Terry</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-144431</link> <dc:creator>Terry</dc:creator> <pubDate>Mon, 21 Jul 2008 14:55:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-144431</guid> <description>Regular reader of articles. Just one thing I can&#039;t get sorted out here.  What I haven&#039;t done yet that is preventing Lighttpd from running. Error: &quot;can&#039;t find name apache&quot; A clue to sort this out would be great!</description> <content:encoded><![CDATA[<p>Regular reader of articles. Just one thing I can&#8217;t get sorted out here.  What I haven&#8217;t done yet that is preventing Lighttpd from running. Error: &#8220;can&#8217;t find name apache&#8221; A clue to sort this out would be great!</p> ]]></content:encoded> </item> <item><title>By: shiato han</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-144388</link> <dc:creator>shiato han</dc:creator> <pubDate>Thu, 17 Jul 2008 09:05:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-144388</guid> <description>can lighttpd do this kind of virtual hosting (www.domain.com/~user/)?
shiato
linux newbie</description> <content:encoded><![CDATA[<p>can lighttpd do this kind of virtual hosting (www.domain.com/~user/)?</p><p>shiato<br
/> linux newbie</p> ]]></content:encoded> </item> <item><title>By: Jain</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-140560</link> <dc:creator>Jain</dc:creator> <pubDate>Mon, 23 Jul 2007 10:22:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-140560</guid> <description>opening site in browser with port number
www.ques.example.com:90</description> <content:encoded><![CDATA[<p>opening site in browser with port number<br
/> <a
href="http://www.ques.example.com:90" rel="nofollow">http://www.ques.example.com:90</a></p> ]]></content:encoded> </item> <item><title>By: Jain</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-140559</link> <dc:creator>Jain</dc:creator> <pubDate>Mon, 23 Jul 2007 10:15:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-140559</guid> <description>Hi after all the settings done as aforesaid when i try to run my site in browser it give me an error while if i open my site trough IP of the server then it vl open
in server.bind i m using IP address and and i m trying to open my site www.ques.example.com.
server.port = 90
when in browser i type http://1.2.3.4:90 it will open my default page
but if i type www.ques.example.com then gives me error problem loading page.
How to handle this error.
pls help me</description> <content:encoded><![CDATA[<p>Hi after all the settings done as aforesaid when i try to run my site in browser it give me an error while if i open my site trough IP of the server then it vl open</p><p>in server.bind i m using IP address and and i m trying to open my site <a
href="http://www.ques.example.com" rel="nofollow">http://www.ques.example.com</a>.<br
/> server.port = 90</p><p>when in browser i type <a
href="http://1.2.3.4:90" rel="nofollow">http://1.2.3.4:90</a> it will open my default page</p><p>but if i type <a
href="http://www.ques.example.com" rel="nofollow">http://www.ques.example.com</a> then gives me error problem loading page.</p><p>How to handle this error.<br
/> pls help me</p> ]]></content:encoded> </item> <item><title>By: kunal</title><link>http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-140553</link> <dc:creator>kunal</dc:creator> <pubDate>Sun, 22 Jul 2007 14:29:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up-virtual-hosting.html#comment-140553</guid> <description>Please check the permissions of your log files
is the user is root or lighttpd or the user u have created.
Must note that logfolder/files have lighttpd as owner not root</description> <content:encoded><![CDATA[<p>Please check the permissions of your log files</p><p>is the user is root or lighttpd or the user u have created.</p><p>Must note that logfolder/files have lighttpd as owner not root</p> ]]></content:encoded> </item> </channel> </rss>
