<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Lighthttp Share Specific Folder</title>
		<link>http://mybookworld.wikidot.com/forum/t-45728/lighthttp-share-specific-folder</link>
		<description>Posts in the discussion thread &quot;Lighthttp Share Specific Folder&quot; - How to only share like /PUBLIC/ONLYSHARETHIS</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-45728#post-177272</guid>
				<title>Re: Lighthttp Share Specific Folder</title>
				<link>http://mybookworld.wikidot.com/forum/t-45728/lighthttp-share-specific-folder#post-177272</link>
				<description></description>
				<pubDate>Sun, 01 Jun 2008 16:28:32 +0000</pubDate>
				<wikidot:authorName>khosh</wikidot:authorName>				<wikidot:authorUserId>126062</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <div class="code"> <pre> <code>[root@MYBOOKNAME etc]# ls -lah /usr/www/lib total 240K drwxr-xr-x 6 root root 4.0K May 12 23:08 . drwxr-xr-x 5 root root 4.0K Jan 18 13:44 .. -rwxr-xr-x 1 root root 4.9K Jan 18 13:44 MBUI.css lrwxrwxrwx 1 root root 29 May 12 23:08 Music -&gt; /shares/internal/PUBLIC/Music lrwxrwxrwx 1 root root 23 May 11 21:23 PUBLIC -&gt; /shares/internal/PUBLIC -rwxr-xr-x 1 root root 3.9K Jan 18 13:44 Permission.pm drwxr-xr-x 2 root root 4.0K Jan 18 13:44 Service drwxr-xr-x 2 root root 4.0K Jan 18 13:44 Session -rwxr-xr-x 1 root root 692 Jan 18 13:44 SysCmd.pm -rwxr-xr-x 1 root root 1.5K Jan 18 13:44 ajax.js -rwxr-xr-x 1 root root 18K Jan 18 13:44 cnNasLanguage.pm -rwxr-xr-x 1 root root 23K Jan 18 13:44 deNasLanguage.pm -rwxr-xr-x 1 root root 69 Jan 18 13:44 error-401.html -rwxr-xr-x 1 root root 23K Jan 18 13:44 esNasLanguage.pm -rwxr-xr-x 1 root root 24K Jan 18 13:44 frNasLanguage.pm drwxr-xr-x 5 root root 4.0K Jan 18 13:44 images -rwxr-xr-x 1 root root 22K Jan 18 13:44 itNasLanguage.pm drwxr-xr-x 2 root root 4.0K Jan 18 13:44 nas -rwxr-xr-x 1 root root 13K Jan 18 13:44 nasCommon.pm -rwxr-xr-x 1 root root 8.8K Jan 18 13:44 nasCore.pm -rwxr-xr-x 1 root root 19K Jan 18 13:44 nasLanguage.pm -rwxr-xr-x 1 root root 9.5K Jan 18 13:44 nasMaster.pl -rwxr-xr-x 1 root root 1.2K Jan 18 13:44 oxnas.css -rwxr-xr-x 1 root root 1.1K Jan 18 13:44 removeExternalShares.pl -rwxr-xr-x 1 root root 26 Jan 18 13:44 robots.txt -rwxr-xr-x 1 root root 1.9K Jan 18 13:44 validate.js</code> </pre></div> <p>lighttpd.conf:</p> <div class="code"> <pre> <code>server.document-root = "/usr/www/lib/" server.pid-file = "/var/run/lighttpd.pid" server.errorlog = "/var/log/lighttpd/error.log" dir-listing.activate = "enable" server.port = 80 server.username = "www-data" server.groupname = "www-data" server.modules = ( "mod_auth", "mod_access", "mod_alias", "mod_cgi", "mod_fastcgi", "mod_accesslog" ) server.errorfile-prefix = "/usr/www/lib/error-" mimetype.assign = ( ".html" =&gt; "text/html", ".txt" =&gt; "text/plain", ".jpg" =&gt; "image/jpeg", ".png" =&gt; "image/png", ".gif" =&gt; "image/gif", ".css" =&gt; "text/css" ) #accesslog.filename = "/var/log/lighttpd/access.log" static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" ) index-file.names = ( "nasMaster.pl" ) # bruce - I don't think we need this now... #cgi.assign = ( ".cgi" =&gt; "/usr/bin/perl" ) alias.url = ( "/auth" =&gt; "/usr/www/lib" ) auth.backend = "htdigest" auth.backend.htdigest.userfile = "/var/private/lighttpd.htdigest.user" auth.require = ( "/auth" =&gt; ( "method" =&gt; "digest", "realm" =&gt; "nas admin", "require" =&gt; "valid-user" # bruce - removed user= # "require" =&gt; "user=admin" ) ) fastcgi.debug = 0 # Bruce - Removed host &amp; port and replaced with a socket # "host" =&gt; "127.0.0.1", # "port" =&gt; 1026, fastcgi.server = ( ".pl" =&gt; (( "socket" =&gt; "/tmp/lighttpd.fcgi.socket", "bin-path" =&gt; "/usr/www/lib/nasMaster.pl", "check-local" =&gt; "disable", "min-procs" =&gt; 1, "max-procs" =&gt; 1, "idle-timeout" =&gt; 30, "bin-environment" =&gt; ( # Environment variables for nasMaster.pl "PERL5LIB" =&gt; "/usr/www/lib", "NAS_NBIN" =&gt; "/usr/www/nbin", ), )), "nasMaster.pl" =&gt; (( "socket" =&gt; "/tmp/lighttpd.fcgi.socket", "check-local" =&gt; "disable", )) )</code> </pre></div> <p>I think I solved a part of the problem. When I try to access browser listing I enter my ip-address. But that leads the browser to my adsl modem and router's login screen. How do I bypass or bridge this so the router leads the "visitor" to my network drive? This would be configuration on the router, not the mybook. I'm using an A-link RR24AP.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-45728#post-162411</guid>
				<title>Re: Lighthttp Share Specific Folder</title>
				<link>http://mybookworld.wikidot.com/forum/t-45728/lighthttp-share-specific-folder#post-162411</link>
				<description></description>
				<pubDate>Mon, 12 May 2008 22:16:25 +0000</pubDate>
				<wikidot:authorName>alephsmith</wikidot:authorName>				<wikidot:authorUserId>58305</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Have you restarted lighttpd?</p> <p>Other than that, how about posting your lighttpd.conf and the output of:</p> <div class="code"> <pre> <code>ls -lah /usr/www/lib/</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-45728#post-162347</guid>
				<title>Re: Lighthttp Share Specific Folder</title>
				<link>http://mybookworld.wikidot.com/forum/t-45728/lighthttp-share-specific-folder#post-162347</link>
				<description></description>
				<pubDate>Mon, 12 May 2008 20:11:44 +0000</pubDate>
				<wikidot:authorName>khosh</wikidot:authorName>				<wikidot:authorUserId>126062</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm only getting a "404 Not found" when I try to access <a href="http://%3CMyBookIPaddress%3E/PUBLIC">http://&lt;MyBookIPaddress&gt;/PUBLIC</a>. I followed the guide to lighthttp on Martin Hinner's page (and there wasn't much to follow…) :)</p> <p>Is there something I'm missing? It's worth mentioning that I'm not a Unix-whiz, so dummie-explenations are welcome :)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-45728#post-121898</guid>
				<title>Re: Lighthttp Share Specific Folder</title>
				<link>http://mybookworld.wikidot.com/forum/t-45728/lighthttp-share-specific-folder#post-121898</link>
				<description></description>
				<pubDate>Sun, 09 Mar 2008 22:28:11 +0000</pubDate>
				<wikidot:authorName>alephsmith</wikidot:authorName>				<wikidot:authorUserId>58305</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Or if you want to share multiple folders in PUBLIC:</p> <div class="code"> <pre> <code># ln -s /shares/internal/PUBLIC/SHARE1 /usr/www/lib/SHARE1 # ln -s /shares/internal/PUBLIC/SHARE2 /usr/www/lib/SHARE2</code> </pre></div> <p>You can then access the respective shares at:<br /> <a href="http://mybookworld/SHARE1">http://mybookworld/SHARE1</a> &amp; <a href="http://mybookworld/SHARE2">http://mybookworld/SHARE2</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-45728#post-121877</guid>
				<title>Re: Lighthttp Share Specific Folder</title>
				<link>http://mybookworld.wikidot.com/forum/t-45728/lighthttp-share-specific-folder#post-121877</link>
				<description></description>
				<pubDate>Sun, 09 Mar 2008 21:57:22 +0000</pubDate>
				<wikidot:authorName>Maxey</wikidot:authorName>				<wikidot:authorUserId>85650</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>See: <a href="http://martin.hinner.info/mybook/lighttpd.php">http://martin.hinner.info/mybook/lighttpd.php</a></p> <p>In step 1 replace the command<br /> ln -s /shares/internal/PUBLIC /usr/www/lib/<br /> into<br /> ln -s /shares/internal/PUBLIC/ONLYSHARETHIS /usr/www/lib/</p> <p>Hopes this helps,</p> <p>Max</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-45728#post-121581</guid>
				<title>Lighthttp Share Specific Folder</title>
				<link>http://mybookworld.wikidot.com/forum/t-45728/lighthttp-share-specific-folder#post-121581</link>
				<description></description>
				<pubDate>Sun, 09 Mar 2008 11:14:55 +0000</pubDate>
				<wikidot:authorName>OutrageouS90</wikidot:authorName>				<wikidot:authorUserId>52123</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I dont want to share the whole public directory. only the folder in it. How can i do this?</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>