homepage Welcome to WebmasterWorld Guest from 54.235.16.159
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
lighttd development env returns 404 on images
lighttd
kristian nissen




msg:3825567
 7:35 pm on Jan 13, 2009 (gmt 0)

Im using lighttd as part of my development env but its not accessing images inside my webside locally. I've been told to remove this part from the .conf:

$HTTP["remoteip"] == "127.0.0.1" {
alias.url += (
"/doc/" => "/usr/share/doc/",
"/images/" => "/usr/share/images/"
)
$HTTP["url"] =~ "^/doc/¦^/images/" {
dir-listing.activate = "enable"
}
}

but still it's not working, the server is running, fastcgi is working fine, I can run php just fine, but all images other static files are not being served, Im getting 404 on all static content:

::ffff:127.0.0.1 eteneo.local - [13/Jan/2009:20:29:53 +0100] "GET /mysite/css/styles.css HTTP/1.1" 404 2317 "http://local/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121623 Ubuntu/8.10 (intrepid) Firefox/3.0.5"
::ffff:127.0.0.1 eteneo.local - [13/Jan/2009:20:29:54 +0100] "GET /mysite/images/file.png HTTP/1.1" 404 2317 "http://local/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121623 Ubuntu/8.10 (intrepid) Firefox/3.0.5"

Any idea what I have to do?

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved