<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.wdlxtv.com/index.php?action=history&amp;feed=atom&amp;title=Web_Hosting</id>
		<title>Web Hosting - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.wdlxtv.com/index.php?action=history&amp;feed=atom&amp;title=Web_Hosting"/>
		<link rel="alternate" type="text/html" href="http://wiki.wdlxtv.com/index.php?title=Web_Hosting&amp;action=history"/>
		<updated>2026-04-29T09:57:05Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://wiki.wdlxtv.com/index.php?title=Web_Hosting&amp;diff=1270&amp;oldid=prev</id>
		<title>Mad ady: Initial release</title>
		<link rel="alternate" type="text/html" href="http://wiki.wdlxtv.com/index.php?title=Web_Hosting&amp;diff=1270&amp;oldid=prev"/>
				<updated>2011-10-11T06:35:28Z</updated>
		
		<summary type="html">&lt;p&gt;Initial release&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;After some messing around, here is a solution on how to host simple web site while keeping Webend settings intact, and using minimal resources.&lt;br /&gt;
&lt;br /&gt;
So here we go. Task is - host a simple (html) website on WDTV Live, using only external drive as resource.&lt;br /&gt;
Prerequisites could be ddclient set up for dynamic addressing if you wish. ;)&lt;br /&gt;
&lt;br /&gt;
1. Use directions from http://wiki.wdlxtv.com/NoPasswordApache to create writable apache config file, but not removing Webend protection. So...&lt;br /&gt;
&lt;br /&gt;
 cp /etc/apache2/sites-available/default /conf/apache-default&lt;br /&gt;
&lt;br /&gt;
2. Edit new file apache-default (using nano for example) and add new section after existing &amp;lt;Location&amp;gt; section/directive, assuming that web page will be located at path /tmp/www-tmp/my_site. This will allow connections without having to input user/password.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Location /tmp/my_site&amp;gt;&lt;br /&gt;
  Allow From All&lt;br /&gt;
  Satisfy Any&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Again from wiki page: Create a new file /conf/S00user-script (it may already exist) putting the following into it:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 mount -o bind /conf/apache-default /etc/apache2/sites-available/default&lt;br /&gt;
&lt;br /&gt;
4. Restart... not sure if needed, you could just try rebooting apache (/etc/init.d/S66apache2 restart)... but... nevermind:&lt;br /&gt;
&lt;br /&gt;
 sync; sync; reboot&lt;br /&gt;
&lt;br /&gt;
5. Assuming that your website directory is placed in a root of external hdd on path /tmp/mnt/12D3-4321/my_website ... (with main page index.html...)&lt;br /&gt;
&lt;br /&gt;
 cd /var/www/tmp&lt;br /&gt;
 ln -s  /tmp/mnt/12D3-4321/my_website my_website&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And thats it! You can try to access your site by using WDXLTV IP address or domain name for outside (ex. 192.168.0.4/tmp/my_website).&lt;br /&gt;
You should not be asked for user/pwd for your site, while keeping Webend protected. ;)&lt;br /&gt;
&lt;br /&gt;
rikifeld&lt;/div&gt;</summary>
		<author><name>Mad ady</name></author>	</entry>

	</feed>