Need support with a redirect rule
2 posts
• Page 1 of 1
- mzamfirescu
-
- Posts: 1
- Joined: 12 Aug 2013, 11:48
Need support with a redirect rule
Hello everyone,
I need support for creating a redirect rule for a sharepoint site.
We tried your redirect example:
[ISAPI_Rewrite]
# Proxy all requests through proxy.asp
RewriteRule /members(.+) /proxy.asp\?http\://mysite.com/members$1
and replaced it with our links:
RewriteRule /Lists/Management\sList(.+) /Lists/Management\sList/Proxy.aspx\?http\://qnet-osp/Lists/Management\sList$1
We have created Proxy.aspx with our specific conditions (and is functional, tested separately), but when the rewrite is active, the redirect is not working at all.
Our sharepoint list address is:
http://qnet-local/Lists/Management List/
The space character used (\s) is returning an "s" in the Regexp Test tool , instead of blank space.How can we put the spaces corectly , and please tell me if the links in the rewrite rule are correct according to our sharepoint list address.
Also i have to mention that Proxy.aspx is located under /Lists/Management List/ and we are using the lite version of Isapi Rewrite 3.
Thank you in advance, and i'm waiting for your advices.
Have a nice day!
Andrew.
I need support for creating a redirect rule for a sharepoint site.
We tried your redirect example:
[ISAPI_Rewrite]
# Proxy all requests through proxy.asp
RewriteRule /members(.+) /proxy.asp\?http\://mysite.com/members$1
and replaced it with our links:
RewriteRule /Lists/Management\sList(.+) /Lists/Management\sList/Proxy.aspx\?http\://qnet-osp/Lists/Management\sList$1
We have created Proxy.aspx with our specific conditions (and is functional, tested separately), but when the rewrite is active, the redirect is not working at all.
Our sharepoint list address is:
http://qnet-local/Lists/Management List/
The space character used (\s) is returning an "s" in the Regexp Test tool , instead of blank space.How can we put the spaces corectly , and please tell me if the links in the rewrite rule are correct according to our sharepoint list address.
Also i have to mention that Proxy.aspx is located under /Lists/Management List/ and we are using the lite version of Isapi Rewrite 3.
Thank you in advance, and i'm waiting for your advices.
Have a nice day!
Andrew.
Re: Need support with a redirect rule
Hello, Andrew
You didn't mention what version of ISAPI_Rewrite you are using, but you posted your question in v3 section, so I assume this is what you've got.
And if it's indeed v3, then the syntax should be different:
RewriteBase /
RewriteRule ^Lists/Management\sList(.+)$ /Lists/Management\sList/Proxy.aspx\?http\://qnet-osp/Lists/Management\sList$1 [NC,P]
You didn't mention what version of ISAPI_Rewrite you are using, but you posted your question in v3 section, so I assume this is what you've got.
And if it's indeed v3, then the syntax should be different:
RewriteBase /
RewriteRule ^Lists/Management\sList(.+)$ /Lists/Management\sList/Proxy.aspx\?http\://qnet-osp/Lists/Management\sList$1 [NC,P]
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 26 guests