View Single Post
  #9  
Old 02-08-2009, 09:50 PM
sip sip is offline
Member
 
Join Date: Sep 2008
Posts: 20
Hello,

I would want to:

Run LSWS for all content except the one that i want to pass to 127.0.0.1:82 (mod_perl Apache)

The content that i want to pass to 127.0.0.1:82 has url like:

http://somedomain.tld/perl/somdirect...gi?querystring

Alias /perl/ /home/cpanelusername/public_html/cgi-bin/

So basically anything with

/perl
in the URL has to go to mod_perl apache on port 82.

How do i go about this. I did setup the web server with 127.0.0.1:82 and did include the rewrite rule as suggested in earlier post but don't see access being passed to backend. In the admin area of the mod_perl script i still see:

Running under mod_perl: No
and
SERVER_PORT => 80
SERVER_PROTOCOL => HTTP/1.1
SERVER_SOFTWARE => LiteSpeed

So nothing served from 127.0.0.1:82 mod_perl apache.
Wish LSWS had obeyed ProxyPass and ProxyPassReverse.

I would want to use the 127.0.0.82 transparently.
PS: I have confirmed the Enterprise Version of LSWS with DC so this server would be switching to that.

Regards

Last edited by sip; 02-08-2009 at 09:53 PM..
Reply With Quote