LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2005, 11:10 AM   #1
dancarl
LQ Newbie
 
Registered: Jul 2002
Location: Minneapolis, MN
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
Apache mod_proxy Proxy Pass


Here's my situation:
If have only one public IP address.
Internally I have three Apache servers running.
Right now I have my firewall route port 80 to my webserver.
I also have a mailserver running secure webmail on it, so I foward port 443 to it.
My problem is now I want to be able to do ssl on my third websever.
What I want to due is route port 443 to my third webserver and pass all mail requests to my mailserver.

I'm using Apache2 and have mod_proxy installed. I've put 192.168.2.2 mail.mydomain.com in /etc/hosts

I'm not sure if httpd.conf and ssl.conf are right so I've supplied them. Any help would be appreciated.


httpd.conf (if I put 10.0.0.12:443 I get overlapping error)
<VirtualHost 10.0.0.12>
ServerName mail.mydomain.com
ProxyPass / https://mail.mydomain:443/
ProxyPassReverse / https://mail.mydomain.com:443/
</VirtualHost>

ssl.conf
<VirtualHost 10.0.0.12:443>
DocumentRoot "/domain/mydomain/htdocs/"
ServerName ssl.mydomain.com:443
ServerAdmin webmaster@mydomain.com
ErrorLog /domain/mydomain/logs/ssl_error_log
TransferLog /domain/mydomain/logs/ssl_access_log
blah
blah
blah
</VirtualHost>

It all works fine internally but ssl.mydomain is not passing to mail.mydomain
 
  


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
slapt-get, howto pass username and passwd for http requests to our proxy !! Padmakiran Slackware 13 05-05-2010 09:05 AM
Start apache with the pass phrase DropHit Linux - Software 7 02-12-2010 03:36 PM
Mod_Proxy (Apache) won't forward requests bentman78 Linux - Software 1 04-20-2004 08:49 AM
phpnuke pass login to apache basic ? michael_util Linux - Newbie 1 03-20-2004 10:15 AM
Webmin Through Apache using mod_proxy... ech310n Linux - General 0 01-28-2004 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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