LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 02-16-2007, 12:59 PM   #1
wazh
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Rep: Reputation: 0
Apache - ProxyPass/Reverse


Hi,

I am very new to Linux so please excuse my noobness about some of the concepts.

I have a main webserver and decided that I would really like to get at another internal website that I was running.

ProxyPass/Reverse seemed to be the way to go. So I added the following statements to httpd.conf.

ProxyPass /app/ http://172.16.2.4/
ProxyPassReverse /app/ http://172.16.2.4/

This appeared to work as I saw the first page of the website. However once there the website throws a pop-up to auth to the site before entering. This fails as I notice that /app/ is not appended to the webserver name. Thus

http://webserver/cgi-bin/prevLogin.cgi fails.

I did a bit of reading about the net but it appears there maybe solutions with rewrite etc but then its getting a little to complex for me to understand syntax etc.

Can anyone please help me. I would really love to be able to utilize this functionality.

Many Many Thanks
Warren

This is the error I am seeing in the error_log

[Sat Feb 17 17:21:59 2007] [error] [client IP] File does not exist: /var/www/html/image, referer: http://webserver/app/
[Sat Feb 17 17:22:10 2007] [error] [client IP] script not found or unable to stat: /var/www/cgi-bin/prevLogin.cgi, referer: http://webserver/app/

Last edited by wazh; 02-17-2007 at 12:25 AM.
 
Old 02-17-2007, 10:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Blog Entries: 10

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Moved: This thread is more suitable in Linux-Server and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 02-18-2007, 12:27 AM   #3
wazh
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Tinkster - Many Thanks!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache + Mod_proxy ProxyPass paul_mat Linux - Networking 2 04-14-2006 08:57 PM
Apache + Mod_proxy "ProxyPass" ziox Linux - Networking 0 04-11-2006 10:25 AM
Apache proxypass url prob collen Linux - Software 0 10-14-2005 06:59 AM
apache proxypass, or lighttpd php belorion Linux - General 2 07-15-2005 10:07 AM
Apache ProxyPass/VirtualHost question lil_drummaboy Linux - Networking 2 11-10-2004 11:53 AM


All times are GMT -5. The time now is 05:35 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration