[rt-users] Move web port
John Buell
jbuell at countrysampler.com
Wed Apr 3 11:51:41 EDT 2013
As it happens I never got the Redirect command to work properly, but a single web page delivered by apache2 on 8080 that redirects to 80 wound up doing the same trick. I got in a hurry last night and nearly forgot about the listen directive, which in my config goes in ports.conf. D’oh. ☺
But thanks again Aaron!
I’m about to set up our building manager with his own queue for non-IT workorders, so we’re going to get a lot of use out of RT!
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of John Buell
Sent: Tuesday, April 02, 2013 5:38 PM
To: Aaron Guise
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Move web port
Sweet! Thanks!
John Buell
Systems Administrator
Country Samper LLC
(630) 762-7806
From: rt-users-bounces at lists.bestpractical.com<mailto:rt-users-bounces at lists.bestpractical.com> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Aaron Guise
Sent: Tuesday, April 02, 2013 5:34 PM
To: rt-users at lists.bestpractical.com<mailto:rt-users at lists.bestpractical.com>
Subject: Re: [rt-users] Move web port
Yes,
You need to add another LISTEN Directive to httpd.conf. At the moment it will be a single LISTEN 80. You'd need to add 8080 and then configure a virtualhost similar to this.
Mind it may need a bit of tweaking as only bashed that out from memory.
<VirtualHost *:8080>
ServerName www.example.com:8080<http://www.example.com:8080>
Redirect 301 / http://www.example.com/
</VirtualHost>
---
Regards,
Aaron Guise
[Image removed by sender.]aaron at guise.net.nz<mailto:aaron at guise.net.nz>
[Image removed by sender.] [Image removed by sender.] [Image removed by sender.] [Image removed by sender.]
On 2013-04-03 11:26, John Buell wrote:
Right, except that I’ve already “released it to the public” with 8080, so I was just trying to find a quick way to do a redirect. A second VirtualHost listening on 8080 and serving a single web page with a redirect to 80 would seem to me to be the way to do it, or is there another way?
John Buell
Systems Administrator
Country Samper LLC
(630) 762-7806
From: Aaron Guise [mailto:aaron at guise.net.nz]
Sent: Tuesday, April 02, 2013 5:11 PM
To: John Buell
Subject: Re: [rt-users] Move web port
Hi John,
The general idea is that you would configure a virtualhost on apache as per the guides. This would then be listening on port 80 by default. You would then shutdown the built in/standalone server you are currently running on port 8080. This would then mean you can access your RT on port 80 via Apache once your vhost is setup correctly.
---
Regards,
Aaron Guise
[Image removed by sender.]aaron at guise.net.nz<mailto:aaron at guise.net.nz>
[Image removed by sender.] [Image removed by sender.] [Image removed by sender.] [Image removed by sender.]
On 2013-04-03 11:06, John Buell wrote:
I am using the Plack server, but if I'm reading everything correctly, I should be disabling *THAT* and modify the Apache config files to be doing the web service at port 80? Then I could use a VirtualHost directive in an Apache config file on 8080 that redirects to 80, right?
John Buell
Systems Administrator
Country Samper LLC
(630) 762-7806
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com<mailto:rt-users-bounces at lists.bestpractical.com> [mailto:rt-users-bounces at lists.bestpractical.com<mailto:rt-users-bounces at lists.bestpractical.com>] On Behalf Of Kevin Falcone
Sent: Tuesday, April 02, 2013 2:58 PM
To: rt-users at lists.bestpractical.com<mailto:rt-users at lists.bestpractical.com>Subject: Re: [rt-users] Move web port
On Tue, Apr 02, 2013 at 06:33:30PM +0000, John Buell wrote:
I've been using a stock Ubuntu 12.04 system for hosting rt. I'm at a point where I think I'd like to get rid of apache/apache2 and whatever else might be running, and let rt run on port 80 (until now it's been on port 8080). Is there a way to allow rt to listen on both, or redirect traffic from 8080 to 80 after I shut down and disable apache?
How are you running RT? Normally, RT runs in conjunction with apache.
You certainly can run it standalone for small installs using just a plack server. I suggest having a look at the deployment docs and figuring out your current configuration.
http://bestpractical.com/rt/docs/latest/web_deployment.html
-kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130403/73f76091/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 344 bytes
Desc: image001.jpg
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130403/73f76091/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 823 bytes
Desc: image003.jpg
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130403/73f76091/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 344 bytes
Desc: image004.jpg
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130403/73f76091/attachment-0002.jpg>
More information about the rt-users
mailing list