[SOLVED] lighttpd mod_userdir

Problems with packages? Post here, using [tags] of the package name.

[SOLVED] lighttpd mod_userdir

Postby fishxz » Tue Aug 12, 2014 8:00 pm

hey,
im having troubles to configure mod_userdir.

my lighttpd.conf looks like:
$this->bbcode_second_pass_code('', '# This is a minimal example config
# See /usr/share/doc/lighttpd
# and http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions

server.port = 80
server.username = "http"
server.groupname = "http"
server.document-root = "/srv/http"
server.errorlog = "/var/log/lighttpd/error.log"
dir-listing.activate = "enable"
userdir.path = "public_html"
index-file.names = ( "index.html" )
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".css" => "text/css",
".js" => "application/x-javascript",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".gif" => "image/gif",
".png" => "image/png",
"" => "application/octet-stream"
)
server.modules = (
"mod_userdir"
)
')

what i wonder about is, that the arm version comes without all the configs for the mods and even with this config, i get 404 error if i try to open public_html from a user.

im not even sure if the mod gets loaded.
Last edited by fishxz on Wed Aug 13, 2014 9:03 am, edited 1 time in total.
fishxz
 
Posts: 11
Joined: Tue Apr 16, 2013 9:03 am

Re: lighttpd mod_userdir

Postby WarheadsSE » Tue Aug 12, 2014 8:27 pm

Does upstream come with them?
https://www.archlinux.org/packages/extr ... /lighttpd/
Click on "View the file list for lighttpd"
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: lighttpd mod_userdir

Postby fishxz » Wed Aug 13, 2014 9:02 am

Hey,
ive found the needed configs in /usr/share/docs/, but this was not my problem. my problem were the missing permissions.

in the archlinux lamp wiki is a notice to set right permissions.

$this->bbcode_second_pass_code('', 'chmod o+x ~
chmod o+x ~/public_html')
fishxz
 
Posts: 11
Joined: Tue Apr 16, 2013 9:03 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 7 guests