Difference between revisions of "Talk:Enable Internet Sharing"

From AwkwardTV
Jump to: navigation, search
Line 5: Line 5:
 
Inside the
 
Inside the
  
<IfModule mod_alias.c>
+
<nowiki><IfModule mod_alias.c>
 
[...]
 
[...]
</IfModule>
+
</IfModule></nowiki>
  
 
block, add this block, generally after the block of lines for CGI-
 
block, add this block, generally after the block of lines for CGI-
  
<IfModule mod_dav.c>
+
<nowiki><IfModule mod_dav.c>
 
Alias /media "/mediadirectorypath/"
 
Alias /media "/mediadirectorypath/"
  
Line 25: Line 25:
 
</Directory>
 
</Directory>
 
</IfModule>
 
</IfModule>
 +
</nowiki>
  
 
Make sure the media directory is writable by the apache process.
 
Make sure the media directory is writable by the apache process.
 
You may need to touch the lock file and set its permissions.
 
You may need to touch the lock file and set its permissions.
 
+
<nowiki>Insert non-formatted text here</nowiki>
 
Restart apache, then use this URL in "Connect To Server"
 
Restart apache, then use this URL in "Connect To Server"
  
http://<ipaddressofappletv/media/
+
<nowiki>http://<ipaddressofappletv/media/</nowiki>
  
 
You can also use Windows or Linux to access WebDAV volumes ( actually called collections ).
 
You can also use Windows or Linux to access WebDAV volumes ( actually called collections ).

Revision as of 10:49, 29 March 2007

Heliode: Just thinking out loud: people have managed to install System Preferences.app. Couldn't internet sharing be enabled from this? btw, not sure if you already are, but you should really try fseventer to gather information on what changes are made on the file system when you enable internet sharing.

Chasd: Since someone has been able to get Apache to run, why not enable WebDAV and use that ? You can enable WebDAV by uncommenting the config file line that loads the dav_module, and also the line that adds mod_dav.c. Then you need to set up Directives that create an alias and enable WebDAV, like this

Inside the

<IfModule mod_alias.c> [...] </IfModule>

block, add this block, generally after the block of lines for CGI-

<IfModule mod_dav.c> Alias /media "/mediadirectorypath/" # Create a lock database file for this server at this path DAVLockDB /Library/Webserver/DAVLock.ical # Minimum life of a lock DAVMinTimeout 600 <Directory /mediadirectorypath> DAV On AllowOverride None Options None allow from all </Directory> </IfModule>

Make sure the media directory is writable by the apache process. You may need to touch the lock file and set its permissions. Insert non-formatted text here Restart apache, then use this URL in "Connect To Server"

http://<ipaddressofappletv/media/

You can also use Windows or Linux to access WebDAV volumes ( actually called collections ).