- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Redirect based on IP Address
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 10:38 AM
01-25-2005 10:38 AM
Redirect based on IP Address
I need to a method of redirecting a user based on the ip_address they use to access the URL.
example: if they access the www.first.com with 111.111.111.111 they would be redirected to www.second.com and if possible set a ip range of redirection.
What's the best method ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 10:51 AM
01-25-2005 10:51 AM
Re: Redirect based on IP Address
http://docs.hp.com/en/B9901-90021/ch02s04.html
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 10:58 AM
01-25-2005 10:58 AM
Re: Redirect based on IP Address
http://docs.hp.com/en/B9901-90021/ch02s04.html
Thanks for the info it, this be something I look into going foward.
E
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 11:11 AM
01-25-2005 11:11 AM
Re: Redirect based on IP Address
Sorry I could not be more specific.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 11:16 AM
01-25-2005 11:16 AM
Re: Redirect based on IP Address
current www ???
redirect new www ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 11:29 AM
01-25-2005 11:29 AM
Re: Redirect based on IP Address
here's how my virtual server directive looks like:
ServerName my123site.net
ServerAdmin admin@my123site.net
DocumentRoot /var/www/html/my123site
ServerAlias www.my123site.net
ErrorLog logs/my123site.net-error_log
CustomLog logs/my123site.net-access.log combined
where my123site.net is the actual name of my domain and a.b.c.d is the IP address of the single host servin multiple domains.
for each domain, we have a similar virtual host directive.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 11:45 AM
01-25-2005 11:45 AM
Re: Redirect based on IP Address
E
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 01:29 PM
01-25-2005 01:29 PM
Re: Redirect based on IP Address
Firt: Using DNS
Second: Using Vitual Host
Third: Using IPtables
Recommend: Uing IPtables (www.iptables.org) this program is best for security. It support TCP/IP not only one port (Vitual host support only for Web).