We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


[SOLVED] Need copy of /etc/lighttpd/lighttpd.conf
#1
Hi,

I have been playing, upgraded to 18.04 and some testing.... but it seems that I have lost my /etc/lighttpd/lighttpd.conf file.

Is someone able to past the contents here please ?

cheers
 Go to solution Reply

#2
Here you go:
Code:
server.modules = (
"mod_access",
"mod_alias",
"mod_compress",
"mod_redirect",
"mod_rewrite",
"mod_proxy",
)

server.document-root = "/var/www/"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80


index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny = ( "~", ".inc", ".db" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )

# default listening port for IPv6 falls back to the IPv4 port
## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"

url.rewrite-if-not-file = ( "(?!\.\w+$)" => "/index.html" )

proxy.server = (
"/api" =>
( (
"host" => "127.0.0.1",
"port" => 30511
) )
)
Once you modified the configuration, restart the web server and all should be good to go. I should put this into the backend to fix up the web server automagically (and allow one to switch between nginx and lighttpd), but that'll be a future feature I guess....
Snakeoil Operating System - Music, your way!
Reply

#3
That is a massive PHEW !!

Thanks so much.
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Copy Paste function traver02 1 1,008 24-Sep-2022, 10:15 AM
Last Post: agent_kith
  Copy music files from NAS to SNAKEOIL musicserver kees1000 1 2,446 23-Nov-2019, 09:08 AM
Last Post: agent_kith
  .conf for myMPD: looking for picking up cover.jpg coverart file vv329 3 3,420 08-Nov-2018, 11:51 AM
Last Post: vv329



Users browsing this thread:
2 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 1597
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1198
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 7375
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 729
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 526
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 4107
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 4460
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 12718
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 3477
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 937

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.