LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-10-2009, 06:42 AM   #1
SuperJavi
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
Problem whith http redirection


First, sorry for my poor english.

I have a "big" problem: I have a Apache server that receive a request in 3081 port. This request must be managed by a another server, which I have access forward a OpenVPN server.

My real server (server of Apahce and OpenVPN) have a IP 10.12.0.1 and the "cliente" server IP is 10.12.0.15.

I have configured this in httpd.conf:

<VirtualHost publicIP:3081>
ServerName xxxx
ProxyPass / http://10.12.0.15
ProxyPassReverse / http://10.12.0.15
</VirtualHost>


But I get this error:

Proxy Error
The proxy server could not handle the request GET /account/login.

Reason: Host not found



I`ve tried whith command "redir", with a proxypass and iptables, but I can't redirect successfully.

Can somebody help me, please?
 
Old 09-10-2009, 10:28 PM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
edit this 10.12.0.1 /etc/hosts

Code:
xxxx      10.12.0.15
 
  


Reply



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
tv-recording whith transcode and init whith v4lctl is not working with cron Goofy180173 Linux - Software 1 10-13-2006 12:54 PM
problem whith Gnome olympic Linux - Newbie 2 08-17-2006 04:00 AM
http redirection ovibis Linux - Networking 1 10-16-2003 01:08 PM
just one http redirection for lan clients from Rh7.2 ovibis Linux - Networking 0 10-15-2003 02:35 PM
Problem whith proxy server zokter Linux - Networking 1 09-28-2003 01:34 AM

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

All times are GMT -5. The time now is 10:45 PM.

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