DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-05-02 09:25:19

sonybros
Member
Registered: 2008-07-24
Posts: 10

mount DNS-323 inside ubuntu web folder

hi there,

i mounted (through samba) one of the nas' subfolders into the web folder on my pc (running ubuntu and lighttpd)

now, in a web broswer, simple html files sitting on the nas will render correctly, so will php and css but

image files sitting on the nas, for example, won't render

not sure what's wrong

in nautilus, everything looks fine, the nas and its files behave like a native folder - i can open them, there're thumbnails, etc...

if i ftp (with username and password) through my web browser, then i can open the images in the browser but

hrefs to the images inside my html files don't work

thanks in advance for any help for this linux novice,

chris

Offline

 

#2 2009-05-04 18:25:50

sonybros
Member
Registered: 2008-07-24
Posts: 10

Re: mount DNS-323 inside ubuntu web folder

solved!
in the lighttpd.conf put

server.network-background = "writev"

on apache it's

EnableSendfile On|Off

http://httpd.apache.org/docs/2.0/mod/core.html

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB