But the original domain is still showing in the URL bar. So if I type www.site-1.com it shows as www.site-1.com, not mainsite.com. So I am assuming that the redirect is not working. So I was wondering if I did something wrong here or how I should be doing this?
Thanks for the help. I appreciate it. :)
Also, I now change the path for the other sites to the root and get a Server error... So I'm assuming that wasn't right. I don't know how else to direct this to the Active Scrit file. Edit * Actually that only happens if I type the www.?
KeePassXC does support passkeys. In Firefox I know you can turn off the thing where Firefox offers to save passwords. On Android KeepassDX (the mobile client) supports autofill
I'm glad you have something that works for you, but for me I would need something that is under a free software license, rather than closed source. Syncback offers a free product but doesn't use a free software license such as GPL.
Syncthing's setup isn't overly complex, but it can be a bit intimidating, but it is powerful and gives you plenty of options.
Recent Achievements
JuvenileDelinquent earned a badge Dedicated
DrWankel earned a badge First Post
DrWankel earned a badge Reacting Well
Supreme Spray LV earned a badge Week One Done
Genuinetonerink- Dubai earned a badge Week One Done
Question
CheckOne
Hi I have 4 domains that are all similar and I want to redirect them to one. I created an Active Server Document and wrote something like this:
<script runat="server" Language="c#">
public void Page_Init(Object Src, EventArgs E)
{
switch((Request.ServerVariables["HTTP_HOST"]).Replace("www.",""))
{
case "site-1.com":
Response.Redirect("http://mainsite.com");
break;
case "site2.net":
Response.Redirect("http://mainsite.com");
break;
case "site2inc.com":
Response.Redirect("http://mainsite.com");
break;
default:
Response.Redirect("");
break;
}
}
</script>
But the original domain is still showing in the URL bar. So if I type www.site-1.com it shows as www.site-1.com, not mainsite.com. So I am assuming that the redirect is not working. So I was wondering if I did something wrong here or how I should be doing this?
Thanks for the help. I appreciate it. :)
Also, I now change the path for the other sites to the root and get a Server error... So I'm assuming that wasn't right. I don't know how else to direct this to the Active Scrit file. Edit * Actually that only happens if I type the www.?
Link to comment
https://www.neowin.net/forum/topic/1135912-proper-way-to-handle-a-redirect/Share on other sites
5 answers to this question
Recommended Posts