How to get this rewrite rule working
11 posts
• Page 1 of 1
- [email protected]
- Posts: 2
- Joined: 22 Jan 2015, 17:10
How to get this rewrite rule working
Hi,
This is what I want to get done.
If user goes to http://site1.com he should be reverse proxied to http://site2.com/folder/default.aspx automatically. Site1.com does not have any content except to redirect to the site2.com.
We are using IIS 6.0. My current rule is below. But it is not working. When I type http://site1.com in the address bar I get a message "under construction". If I add '/' to the end of http://site1.com I get "Directory Listing Denied" message.
RewriteCond %{HTTP:Host} site1.com
RewriteRule (.*) http://site2.com/folder/default.aspx [NC,L]
Please help.
Thanks,
Ram
This is what I want to get done.
If user goes to http://site1.com he should be reverse proxied to http://site2.com/folder/default.aspx automatically. Site1.com does not have any content except to redirect to the site2.com.
We are using IIS 6.0. My current rule is below. But it is not working. When I type http://site1.com in the address bar I get a message "under construction". If I add '/' to the end of http://site1.com I get "Directory Listing Denied" message.
RewriteCond %{HTTP:Host} site1.com
RewriteRule (.*) http://site2.com/folder/default.aspx [NC,L]
Please help.
Thanks,
Ram
Re: How to get this rewrite rule working
Hello, Ram
If it's v2 you are using, please try the following config:
RewriteCond %{HTTP:Host} site1\.com
RewriteRule .* http\://site2.com/folder/default.aspx [RP,L]
BTW, is Site1.com an empty site or is there no such site in IIS at all?
Also check httpd.parse.errors file in ISAPI_Rewrite install folder for possible messages.
If it's v2 you are using, please try the following config:
RewriteCond %{HTTP:Host} site1\.com
RewriteRule .* http\://site2.com/folder/default.aspx [RP,L]
BTW, is Site1.com an empty site or is there no such site in IIS at all?
Also check httpd.parse.errors file in ISAPI_Rewrite install folder for possible messages.
- [email protected]
- Posts: 2
- Joined: 22 Jan 2015, 17:10
Re: How to get this rewrite rule working
Thanks Anton. It works now
Ram
Ram
- Pamela Knight
- Posts: 1
- Joined: 10 Jul 2017, 11:20
Re: How to get this rewrite rule working
It's all in your control panel if you are using CMS system then you can easily redirect your website to the links you want to I had to redirect my web Assignment Writers - Writing Victors with few easy steps. simply go to manage from the setting menu there you will see URL Redirect option, click on redirect button and then simply enter the domain you want to redirect to. the rest of the instruction you can follow up here. https://uk.godaddy.com/help/redirect-ur ... count-5120.
- happywheelsqa
- Posts: 4
- Joined: 07 Jul 2017, 04:22
happy wheels
This is a very good free game web site. I also often play in free time . Please visit our website and play exciting game
-happy wheels
-impossible game
-roll the ball
-happy wheels
-impossible game
-roll the ball
Re: How to get this rewrite rule working
Check it out this link and download meena sex photos for free.
http://www.inudesexyphotos.com/2017/04/nude-meena-without-dress-naked-boobs-sex-video.html
http://www.inudesexyphotos.com/2017/04/nude-meena-without-dress-naked-boobs-sex-video.html
Re: How to get this rewrite rule working
Check it out this link and download meena sex photos for free.
http://www.inudesexyphotos.com/2017/04/nude-meena-without-dress-naked-boobs-sex-video.html
http://www.inudesexyphotos.com/2017/04/nude-meena-without-dress-naked-boobs-sex-video.html
Re: How to get this rewrite rule working
I think the problem is in the control panel. Check your control panel carefully. If you are facing any problems related to yahoo account visit us
- Code: Select all
https://yahoocustomerservice.co/fix-common-yahoo-mail-errors/
- susannelson
- Posts: 1
- Joined: 06 Dec 2017, 04:03
Re: How to get this rewrite rule working
tommyhulk wrote:Thank you for giving them this great knowledge, really thank you for sharing, hope you will have such great posts as this more.
https://street-view.org/
Re: How to get this rewrite rule working
This is extremely helpful info!! Very good work. Everything is very interesting to learn and easy to understood. Thank you for giving information.
http://www.brainpop4.com
http://www.abcya4.com
http://www.hoodamath2.com
http://www.brainpop4.com
http://www.abcya4.com
http://www.hoodamath2.com
11 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests