Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Virtual Hosts on iPlanet 6.0

 
Chicken Farmer ()
Posts: 1932
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Was wondering if there is a way to do the following, I haven't found anything in the documentation leading me to what I need, and I'm starting to doubt there is a way.
There used to be a server named Alpine that got retired. There was a website on Alpine. Users would connect to the webpsite by going to http://alpine/. When they migrated servers, an alias was created so that Alpine aliased Evans, instead of creating an alias for the website like www-something. Silly Unix administrators.
Anyways, they want to get rid of the Alpine alias, but they need it so that anytime someone goes to http://alpine, a redirect page will pop up and bring them to http://evans.
Can a virtual host be set up so that it recognizes all requests being made to Alpine, and forward them to this redirect page?
I've tried creating some virtual servers, couldn't get it to work (port conflicts). Tried using URL redirect, but that caused any request going to the correct server url to go to the redirect page, also.
Short of switching the Alpine alias in DNS to another server (one that isn't being currently utilized as a web server), and using that box to redirect, can this be done?
Thanks!
Jason
 
jason adam
Chicken Farmer ()
Posts: 1932
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, made it easy on myself and I'm using the development server as the redirector to the production server, and switched the Alpine alias over to the dev box. Works, at least.
Now, here's a different question. How can I make it so that if a user out there has a link to ANY directory under Alpine (like http://alpine/docs/some.html or http://alpine/docs/moredocs/somemoredocs/some.html), it will forward to the redirect page? I tried using wildcards in URL Forwarding, didn't work. Tried just putting in / for the URL prefix, but that causes the server not to start.
Suggestions?
 
It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic