User Tools

Site Tools


setuphttp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
setuphttp [09.10.2013 13:30]
derk
setuphttp [09.10.2013 19:22]
derk
Line 5: Line 5:
 ===== Installation ===== ===== Installation =====
 To install lighttpd run this command: To install lighttpd run this command:
-<file bash>​sudo apt-get install lighttpd</​file>+<code bash>​sudo apt-get install lighttpd</​code>
  
 To check that lighttpd is running, type your Raspberry PI IP-address or hostname into an internet browser. That will show the lighttpd default page: To check that lighttpd is running, type your Raspberry PI IP-address or hostname into an internet browser. That will show the lighttpd default page:
Line 14: Line 14:
 ==== Document Root ==== ==== Document Root ====
 The document root can be changed with this config parameter: The document root can be changed with this config parameter:
-<file bash>​server.document-root = "/​var/​www"</​file>+<code bash>​server.document-root = "/​var/​www"</​code>
 More details can be found [[http://​redmine.lighttpd.net/​projects/​1/​wiki/​server_document-rootdetails|here]]. More details can be found [[http://​redmine.lighttpd.net/​projects/​1/​wiki/​server_document-rootdetails|here]].
  
 ==== Directory Listing ==== ==== Directory Listing ====
 Directory listing can be used to have fast access to files on the Raspberry PI for testing purposes. Directory listing can be used to have fast access to files on the Raspberry PI for testing purposes.
-<file bash>​dir-listing.activate = "​enable"</​file>+<code bash>​dir-listing.activate = "​enable"</​code>
 lighttpd offers many configuration possibilities for directory listing. More details can be found [[http://​redmine.lighttpd.net/​projects/​1/​wiki/​Docs_ModDirlisting|here]]. lighttpd offers many configuration possibilities for directory listing. More details can be found [[http://​redmine.lighttpd.net/​projects/​1/​wiki/​Docs_ModDirlisting|here]].
- 
- 
- 
- 
setuphttp.txt ยท Last modified: 09.10.2013 19:22 by derk