So much for that bright idea...
Posted by Keilaron on Tuesday, March 7. 2006 in Server
So, I was planning on running Apache exclusively under it's own user, that way it wouldn't run under root.
Problem: Ports under 1024 are only allowed access by root. HTTP (Web) is port 80.
So, to work around this problem I told Apache to listen on port 8080, and made the router forward port 80 to port 8080, making this change completely transparent to visitors.
Or so I thought.
If there are any redirections that occur, Apache redirects using port 8080 -- that is, the address the visitor would get isn't http://keilaron.kicks-ass.org/, but instead http://keilaron.kicks-ass.org:8080/, which doesn't work since it isn't forwarded. And it'd look ugly, even if I did forward it.
Ugh. I need to get the new server up and running sooner. Hopefully Apache2 on the new machine will behave better. It may be a Dell, but... well, if it's running Linux, who cares?
As a side note, I've added a link to JumpinJim Productions, which I'm going to help on remaking his site, and adding a contact form.
4 Comments
More...
Problem: Ports under 1024 are only allowed access by root. HTTP (Web) is port 80.
So, to work around this problem I told Apache to listen on port 8080, and made the router forward port 80 to port 8080, making this change completely transparent to visitors.
Or so I thought.
If there are any redirections that occur, Apache redirects using port 8080 -- that is, the address the visitor would get isn't http://keilaron.kicks-ass.org/, but instead http://keilaron.kicks-ass.org:8080/, which doesn't work since it isn't forwarded. And it'd look ugly, even if I did forward it.
Ugh. I need to get the new server up and running sooner. Hopefully Apache2 on the new machine will behave better. It may be a Dell, but... well, if it's running Linux, who cares?
As a side note, I've added a link to JumpinJim Productions, which I'm going to help on remaking his site, and adding a contact form.
Page 1 of 1, totaling 1 entries

Friends






Most Recent Comments