[rt-users] Move web port
John Buell
jbuell at countrysampler.com
Tue Apr 2 18:38:06 EDT 2013
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] On Behalf Of Aaron Guise
Sent: Tuesday, April 02, 2013 5:34 PM
To: 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
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/20130402/456a4a21/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130402/456a4a21/attachment.jpg>
-------------- 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/20130402/456a4a21/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 344 bytes
Desc: image002.jpg
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130402/456a4a21/attachment-0002.jpg>
More information about the rt-users
mailing list