Difference between revisions of "Redirect one URL to anoher 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 …')
 
(Blanked the page)
 
Line 1: Line 1:
=General=


Imagine that you have the domain http://www.server1.com/ and a Reseller with [[Custom_Reseller_Login_page_LOGO | 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
See example below:
<br><br>
[[File:Apache_redirect.png]]
<br><br>
Restart apache to apply changes:
service httpd restart
=See also=
[[Custom Reseller Login page LOGO]]

Latest revision as of 10:39, 20 October 2020