LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2010, 01:53 PM   #1
vrusu
LQ Newbie
 
Registered: Oct 2010
Posts: 8

Rep: Reputation: 0
lighttpd proxy configuration


Hi experts
I'm back on LQ because I always find good answers here. My question is about lighttpd and mod_proxy. Lighttpd forum do not accept registration because of capcha issues.

my website is working well with default lighttp config.

I would like to control few internal devices through their web gui.

I would like to add a directory like http://localhost/device1
I tried to add a proxy config.
$HTTP["host"] =~ "localhost" {
proxy.server = ( "" => (( "host" => "192.168.1.102", "port" => 80 )))
}
work well, but will completely overwrite my site.

$HTTP["url"] =~ "/device1" {
proxy.server = ( "" => (( "host" => "device1", "port" => 80 )))
}
give me "no page found", answer coming from device1 (192.168.1.102) probably because path "device1" does not exists on device1.
I tried to rewrite url before to pass to proxy. didn't work

I'm wondering if is possible and if someone have an example or can point me to good direction.
Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Per Directory configuration in Lighttpd aka htaccess entz Linux - Software 3 08-18-2010 08:27 AM
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 12:25 PM
Proxy configuration tsaravan Linux - Newbie 1 08-04-2005 07:28 AM
Proxy configuration milon Linux - Newbie 1 09-26-2004 10:24 AM


All times are GMT -5. The time now is 04:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration