[rt-users] Move web port
Aaron Guise
aaron at guise.net.nz
Tue Apr 2 18:33:52 EDT 2013
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
aaron at guise.net.nz
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
>
> AARON at GUISE.NET.NZ
>
>
> 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] On Behalf Of Kevin
Falcone
>>
>> Sent: Tuesday, April 02, 2013 2:58 PM
>>
>> To:
rt-users at lists.bestpractical.comSubject: 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 [1]
>>
>>
-kevin
Links:
------
[1]
http://bestpractical.com/rt/docs/latest/web_deployment.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130403/16715066/attachment.htm>
More information about the rt-users
mailing list