Hello,
Using ASP.NET 2.0
I have two websites: www.OldSite/Old01/ www.NewSite/New01/
I need to redirect everything in the folder "Old01" to "New01". The folder
"Old01" has 15+ web pages in it. Is possible to do the following: redirect
the folder or do I have to put a redirect in every page? Also, can you
redirect the website to another website?
--
Thanks in advance,
sck10 5 2963
Użytkownik "sck10" <sc***@online.n ospamnapisał w wiadomo¶ci
news:Oj******** ******@TK2MSFTN GP05.phx.gbl...
I need to redirect everything in the folder "Old01" to "New01". The
folder "Old01" has 15+ web pages in it. Is possible to do the following:
redirect the folder or do I have to put a redirect in every page? Also,
can you redirect the website to another website?
IIS has pretty nice redirect futures. Check properties for particular
web site (in this case Old01directory)
--
JS
BRE Bank Dev Team, Poland
Hi,
Thank you for your post.
Based on my understanding, your question is about how to redirect both the
website name a virtual directory name. If I've misunderstood anything,
please feel free to post here.
First, you need to redirect the website by following steps:
1) In IIS management console, open the properties dialog for the website,
switch to tab "Home Directory", you can select option "A redirection to a
URL" and type in your new website name.
Then you need to create a virtual directory in your new website named
"old01", open its properties dialog and redirect to
"http://www.newsite/new01".
You can now visit "http://www.oldsite/old01/*", it should now redirect to
"http://www.newsite/new01/*".
Hope this helps. Please feel free to post here if anything is unclear.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks Jacek,
"Jacek Stawicki" <js*****@gazeta .plwrote in message
news:e9******** **@inews.gazeta .pl...
>
Użytkownik "sck10" <sc***@online.n ospamnapisał w wiadomo¶ci
news:Oj******** ******@TK2MSFTN GP05.phx.gbl...
>I need to redirect everything in the folder "Old01" to "New01". The folder "Old01" has 15+ web pages in it. Is possible to do the following: redirect the folder or do I have to put a redirect in every page? Also, can you redirect the website to another website?
IIS has pretty nice redirect futures. Check properties for particular
web site (in this case Old01directory)
--
JS
BRE Bank Dev Team, Poland
Thanks Walter,
"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:8n******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi,
Thank you for your post.
Based on my understanding, your question is about how to redirect both the
website name a virtual directory name. If I've misunderstood anything,
please feel free to post here.
First, you need to redirect the website by following steps:
1) In IIS management console, open the properties dialog for the website,
switch to tab "Home Directory", you can select option "A redirection to a
URL" and type in your new website name.
Then you need to create a virtual directory in your new website named
"old01", open its properties dialog and redirect to
"http://www.newsite/new01".
You can now visit "http://www.oldsite/old01/*", it should now redirect to
"http://www.newsite/new01/*".
Hope this helps. Please feel free to post here if anything is unclear.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.
Hi,
Appreciate your update and response. If you have any other questions or
concerns, please do not hesitate to contact us. It is always our pleasure
to be of assistance.
Have a nice day!
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Doug |
last post by:
Is there a way to insert code, in a php file, to redirect the location of
the Apache DocumentRoot to another directory? I have looked all over the
place for something like this.
Thx ahead, Doug Eilertson
|
by: Tim Stokes |
last post by:
Hi all,
I want to do a similar action to response.redirect ("file.htm"). But the
file.htm contains some sensitive data. I have placed file.htm in a folder in
the InetPub (d:\inetpub\privateroot\file.htm) so that it is not accessible
by a simple HTTP request. An asp login script will be used, and then once
the user is verified the page should redirect to
d:\inetpub\privateroot\file.htm. But obviously I cannot use
response.redirect...
|
by: Ron Gibson |
last post by:
Lets say I have a folder
members/3/
in this folder are images
I have a login page that connects to a database to retrieve user info.
After login the user is directed to a page that lists the files in the above
directory. Now lets say some other user goes to the directory and types in
members/3/image1.jpg he/she will now see the image. How can I stop this
|
by: Stu Lock |
last post by:
Hi,
Is there a way of requiring a log in for individual asp.net pages rather
than securing a entire directory. I have a web app where there are 100+
pages but only 2 need to be password protected. I am currently using forms
authentication to block the entire folder:
<authentication mode="Forms">
<forms name=".MYCOOKIE"
loginUrl="login.aspx"
|
by: Dot net work |
last post by:
I have noticed that this:
Response.Redirect("/MyLocalDirectory/MyPage.aspx")
seems to be a lot quicker than this:
Response.Redirect(sDirectoryString & "MyPage.aspx")
In local development mode, I need to have sDirectoryString equal to my
| |
by: Grzegorz Kaczor |
last post by:
Hello,
I have an ASP.NET application in my website in virtual folder A.
This folder contains the application itself. I also have a data virtual
directory B which contains data that can be seen by authenticated users.
I've implemented forms authentication (with application in folder
A) in a standard way. I've also set up a redirection in IIS so that
every request concerning folder B (for example GET /B/a/b/c) is
redirected to...
|
by: Mr Ideas Man |
last post by:
Hi all,
I have a sub directory in an appication i have written.
In my web config i have set the security like so.
<authentication mode="Forms">
<forms loginUrl="LoginUrl">
</authentication>
<authorization>
|
by: MS |
last post by:
I am looking to get a list of files for a URL reference such as
http://localhost/manager/ for a certain search pattern say "*.xls". How do I
go about this using VB and what class libraries are best to use. If anyone
has any code or can redirect me to a better site then that would be great.
Thanks in advance.
|
by: fran7 |
last post by:
Hi, I have this select redirect that doesnt work, only the case else works, anyone see whats wrong with it? Its basically to redirect my dynamic pages to their new homes.
Any help appreciated.
Thanks
Richard
<%@Language=VBScript%>
<%
SiteNameURL = Request.ServerVariables("SERVER_NAME")
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |