- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: redirecting url to a different url
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-19-2005 11:37 PM
01-19-2005 11:37 PM
http://sample.domain to
http://new.sample.domain:7777/forms90/f90servlet?config=sampletrng.
I am using hpux 11.11, the latest version of apache from hp. I already have a webserver running at port 80 however I need to leave that webserver in place. What is the best way of going about this? Virtual Hosting directives? Does any one have any good examples of making the change I require.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 11:57 PM
01-19-2005 11:57 PM
SolutionDocumentRoot /var/empty
ServerName sample.domain
ErrorLog /dev/null
CustomLog /dev/null standard
RewriteEngine on
RewriteBase /
RewriteRule ^(.*)$ http://new.sample.domain:7777/forms90/f90servlet?config=sampletrng [QSA]
mod_redirect is much easier, but I don't remember how I used it.
something along
Redirect perm sample.domain new.sample.domain:7777/forms90/f90servlet?config=sampletrng
Your apache server contains the documentation on both modules, mix it with my examples and either You get something good to drink, or a working setup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 01:00 AM
01-20-2005 01:00 AM
Re: redirecting url to a different url
http://new.sample.domain:7777
to the oracle forms servelet.
Here is the virtual host configuration for httpd.conf
The trick here is the first httpd server needs to pass the directive to the oracle forms web server wich is customized.
Documentroot /root_of_oracle_server
...
Customizing HP's version of apache for forms servelets is probably not a good use of time since Oracle has alreadydone it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 01:04 AM
01-20-2005 01:04 AM
Re: redirecting url to a different url
Duh on me.
http://www.web-source.net/html_redirect.htm
Just have the Virtualhost directive go to a page with the html code on it in the index.html file.
This will push all traffic to the oracle forms servlet nicely.
Both domain names need to be resolvable by a DNS server available to your oracle users.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 01:09 AM
01-20-2005 01:09 AM
Re: redirecting url to a different url
<meta http-equiv="Refresh" content="0; url=http://new.sample.domain:7777/forms90/f90servlet?config=sampletrng" />
Full code for page would be:
<meta http-equiv="REFRESH" content="0;url=http://new.sample.domain:7777/forms90/f90servlet?config=sampletrng" />
Optional page text here.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 05:15 AM
01-20-2005 05:15 AM
Re: redirecting url to a different url
Thank again.
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 06:58 AM
01-20-2005 06:58 AM
Re: redirecting url to a different url
redirect perm domain.com:85 ...
;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 12:30 AM
01-30-2006 12:30 AM
Re: redirecting url to a different url
I am working on the same issue but I really need to have this working through rules within httpd.conf.
I currently have ..
DocumentRoot /opt/apache/portal/htdocs
ServerName access-portal.my.domain.com ErrorLog /dev/null
CustomLog /dev/null standard
RewriteEngine on
RewriteBase /
RewriteRule ^(.*)$ http://login-portal.my.domain.com [QSA]
But those rules does not works. I just get the local index.html page. Redirection is simply ignored.
Have a clue ?
Thanks,