Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: web.config redir301 and default page configurations

16 Mar 2012   #1

Win XP 32b
 
 
web.config redir301 and default page configurations

Hello, folks.
I need to config the webserver on my hosting provider.

How to config the web.config (IIS 7)
A) to redir www.olddomain.com to www.newdomain.com (redir 301)
B) make www.olddomain.com/index.php the default page (because it contains PHP code to redir to www.newdomain.com/index.html)
C) make www.newdomain.com/index.html the default page
D) any error 404 redir to www.newdomain.com/index.html

Any ideas?
Thanks in advance
Atomicc


My System SpecsSystem Spec
.

16 Mar 2012   #2

 

You need to have the URL rewrite module installed in IIS, the following article explains how to do most of it - Using the URL Rewrite Module : URL Rewrite Module : Installing and Configuring IIS 7 : The Official Microsoft IIS Site

I dont normally send people to other sites but you will get more specialist help at the IIS forums - URL Rewrite Module : The Official Microsoft IIS Site
My System SpecsSystem Spec
16 Mar 2012   #3

Win XP 32b
 
 

My hosting provider says that the URL rewrite module is installed in IIS, but I do'nt know how to config it. I've seen many replies to threads in this forum giving the exact code to web.config and I would like it too, if possible.
My System SpecsSystem Spec
.


Reply

 web.config redir301 and default page configurations




Thread Tools



Similar help and support threads for2: web.config redir301 and default page configurations
Thread Forum
Solved Changing memory page default General Discussion
Solved Can't get into router config page. Network & Sharing
Solved Firefox New Tab page switched, how do I switch back to default? Browsers & Mail
FireFox keeps opening up in alternative default page! Browsers & Mail
Page default on non paged area BSOD BSOD Help and Support
Can't open page in Default program General Discussion
gpedit.msc default config. Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 04:10 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33