Portents of Porting Ports
May 24, 2009 5:44 AM
Subscribe
ApacheFilter: What's the easiest way to have a "default page" on an alternate port?
I've got Comcast cable internet at home, and I run a web server with several VirtualHosts.
Thinking about switching to FiOS, where port 80 is blocked.
The simple solution is to move my web content over to a different port -- in this case 81.
I've already set up the server to Listen on both ports. That's the easy part.
What I want to do is, before port 80 goes away, put a special note and redirect notice when people access any of my pages, at any of my domains, at port 80, without having 2 different versions of every domain.
What is the easiest way to accomplish this?
It is Apache 2.2.3 on Ubuntu where I have full root privileges.
posted by jozxyqk to computers & internet (5 comments total)
1 user marked this as a favorite
posted by AzraelBrown at 6:53 AM on May 24