LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-18-2009, 10:20 AM   #1
sci3ntist
Member
 
Registered: Dec 2006
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133

Rep: Reputation: 16
lighttpd & static contents


Hi,

I've configured lighttpd as a webserver and a reverse proxy for apache, with virtual hosts support on both, on one of the virtual hosts when I request any static content (css, html,javascript, jpg) I recieve 403 forbidden, although on the other hosts everything is working properly.

$HTTP["host"] =~ "XXXXXXXX" {
url.rewrite = ("^/$" => "/index.php","^/\?(.*)"=> "/index.php?$1" )
server.document-root = "/XXXXX/"
debug.log-request-handling = "enable"
server.errorlog = "/var/log/lighttpd/XXXX_error_log"
accesslog.filename = "/var/log/lighttpd/XXXX_access.log"
proxy.server = (
".php" => (("host" => "127.0.0.1", "port" => 8082)),
)
}

even the error log file is not created unlike the other hosts,
and it doesnt log request handling.

Thanks in advance.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Benchmark: Apache2 vs. Lighttpd (Static HTML Files) LXer Syndicated Linux News 0 09-21-2008 04:50 PM
how to mount the cd & copy the contents of the cd from terminal window in linux? helpdeskmtv General 2 10-19-2007 09:33 AM
change ownership of folder & its contents roadrash Linux - Newbie 7 07-11-2007 10:07 AM
Apache 2.0, I want to list dir contents & password protect... Scrag Linux - Software 3 02-10-2005 11:38 AM
removing folders & its contents wisdom Linux - General 11 12-24-2004 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration