LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-16-2007, 07:19 PM   #1
zok
Member
 
Registered: Sep 2006
Posts: 42

Rep: Reputation: 15
Apache: Redirecting to Different Port


I'm setting up Zimbra which runs Tomcat 5.5.15 and listens on port 80. I'm also setting up Mailman (v. 2.1.5), which uses Apache (I'm running 2.0.52), so I had to change the listening port in Apache from 80 to 8080, so it wouldn't conflict with Tomcat. This works fine initially. I go to:

http://our.domain.com

This takes us to the Zimbra login page (Tomcat on port 80).


I go to:

http://our.domain.com:8080/mailman/admin

This takes us to the mailman administration page (Apache on port 8080).

The problem is that when I click on any links in the mailman administration page, it follows the link to port 80 -- Tomcat -- and we get a 404. The link to create a list, for example, goes to:

http://our.domain.com/mailman/create

Obviously, this will go to port 80, Tomcat will receive the request, and I get a page 404. I'm trying to use a Rewrite Rule so that any link I follow from Mailman/Apache is forced to go to port 8080, but I'm not having any luck. Any suggestions?

Thanks much.
 
Old 07-17-2007, 11:51 AM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
try changing the port from 80 to 8080 in /etc/apache2/ports.conf (debian, might be different location on your distro).
 
  


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
apache server redirecting to apache.org? exley Linux - Software 1 03-13-2006 01:02 AM
redirecting port on my PC patcito Linux - Networking 3 10-20-2005 04:27 PM
port redirecting st3reo Linux - Networking 3 11-12-2004 05:35 PM
Port redirecting English_Man Linux - Networking 3 03-09-2004 07:40 AM
about port redirecting cmardhekar Linux - Newbie 1 09-13-2001 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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