LinuxQuestions.org
Review your favorite Linux distribution.
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 07-16-2009, 03:29 PM   #1
devinw
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
Multiple SCGI Servers with Lighttpd


I'm trying to configure lighttpd to send SCGI requests to different ports, depending on what file(s) are accessed. Is this possible?
This is what I've tried, and it hasn't worked.

Code:
$HTTP["url"] == "URL1" {
scgi.server = (
 "/RPC2" =>
  ( "127.0.0.1" =>
   (
    "host" => "127.0.0.1",
    "port" => 5001,
    "check-local" => "disable"
   )
  )
 )
}

$HTTP["url"] == "URL2" {
scgi.server = (
 "/RPC3" =>
  ( "127.0.0.1" =>
   (
    "host" => "127.0.0.1",
    "port" => 5002,
    "check-local" => "disable"
   )
  )
 )
}
SCGI requests aren't sent to the correct port, regardless of what file is accessed. Any help would be appreciated.
 
Old 07-18-2009, 12:40 PM   #2
devinw
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Looks like I wasn't approaching this in quite the right way. URL tests were not necessary. If anyone is interested, this thread helped me sort things out: http://ubuntuforums.org/showthread.php?t=1119482
Particularly this post: http://ubuntuforums.org/showpost.php...2&postcount=27
 
  


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
RTorrent SCGI / XML-RPC -- blank responses german Linux - Software 2 08-12-2008 04:05 PM
Setting name servers on multiple servers centosfan Linux - Server 3 01-23-2008 03:43 PM
Multiple Blade servers booting from multiple disk drives simultaneously NGC_cheryl Linux - Enterprise 0 11-26-2007 08:38 AM
lighttpd: multiple virtual hosts? neocookie Linux - Software 8 03-27-2006 10:37 PM
multiple X servers acid_kewpie Linux - General 1 11-11-2001 03:06 PM

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

All times are GMT -5. The time now is 04:01 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