Lighttpd, mod_acces + vhosts

I'm trying to restrict acces to a directory in a virtual host, but i can't seem to get it to work, my code so far for lighttpd.conf

$HTTP["host"] == "www.example.com" {

$HTTP [url.access-deny = ( ".php" )
}
}

Can anyone point out where i am going wrong?

cheers
D](=~ )[" target="_blank"> =~ "^/forum/files/" {

url.access-deny = ( ".php" )

}

}

Can anyone point out where i am going wrong?

cheers

D](=~ )

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct