Difference between revisions of "Redirect one URL to another URL"
From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '=General= Imagine that you have the domain http://www.server1.com/ and a Reseller with Custom Reseller Login page. Reseller's URL has the …') |
|||
Line 31: | Line 31: | ||
=See also= | =See also= | ||
[[Custom Reseller Login page LOGO]] | * [[Custom Reseller Login page LOGO]] |
Latest revision as of 10:38, 20 October 2020
General
Imagine that you have the domain http://www.server1.com/ and a Reseller with Custom Reseller Login page.
Reseller's URL has the following format: http://www.server1.com/billing/callc/login/qg2audn8qa.
Let's say you want to add the Reseller's name at the end of URL like:
http://www.server1.com/Reseller1
and that should actually be forwarded to:
http://www.server1.com/billing/callc/login/qg2audn8qa
Configuration
Edit file:
/etc/httpd/conf/httpd.conf
Find line:
# Redirect permanent /foo http://www.example.com/bar
Add the following line below:
Redirect /Reseller1 http://www.server1.com/billing/callc/login/qg2audn8qa
Restart apache to apply changes:
service httpd restart