| Author |
Message |
sarrr
Guest
|
Posted:
Tue Jan 11, 2005 1:39 am Post subject:
Intercept a request before SharePoint handles it. |
|
|
I have an Asp.net page that I want to display for the entry point to
our SharePoint site. What I want to be able to do is:
-- Have the page display when a user does http://mysitename
-- Show a usage warning, let them accept the terms which takes them to
the "real" entry point of the site.
What I have tried:
-- Removed the default page from IIS and made my warning page the
default page.
-- I have added my page to the exclusions list for the virtual server
in SharePoint.
The behavior I get: The default.aspx page gets returned by stsfltr.dll
even when it is not in the default document list in IIS when no
document is specified (http://mysitename).
The behavior I want: The default document in IIS to be the one I
specify that is just a regular asp.net page to display when a user goes
to the site's domain name. This page will redirect the user to the
actual entry point.
The reason for: To show a warning screen before a user logs in. |
|
| Back to top |
|
 |
tedteng
Guest
|
Posted:
Tue Jan 11, 2005 7:47 am Post subject:
RE: Intercept a request before SharePoint handles it. |
|
|
try to create a "default.htm" page on the site. when u open the site, it will
defaultly open the default.htm first and then u can direct users to the
default.aspx page.
hope it helpful
br
ted
"sarrr" wrote:
| Quote: | I have an Asp.net page that I want to display for the entry point to
our SharePoint site. What I want to be able to do is:
-- Have the page display when a user does http://mysitename
-- Show a usage warning, let them accept the terms which takes them to
the "real" entry point of the site.
What I have tried:
-- Removed the default page from IIS and made my warning page the
default page.
-- I have added my page to the exclusions list for the virtual server
in SharePoint.
The behavior I get: The default.aspx page gets returned by stsfltr.dll
even when it is not in the default document list in IIS when no
document is specified (http://mysitename).
The behavior I want: The default document in IIS to be the one I
specify that is just a regular asp.net page to display when a user goes
to the site's domain name. This page will redirect the user to the
actual entry point.
The reason for: To show a warning screen before a user logs in.
|
|
|
| Back to top |
|
 |
Gary A. Bushey [MVP]
Guest
|
Posted:
Tue Jan 11, 2005 5:21 pm Post subject:
Re: Intercept a request before SharePoint handles it. |
|
|
You could put JavaScript inside a Content Editor Web Part that will show an
alert that contains the message.
--
Gary A. Bushey
SPS MVP
bushey@mindspring.com
"sarrr" <sroberts@merklenet.com> wrote in message
news:1105385980.120137.105080@c13g2000cwb.googlegroups.com...
| Quote: | I have an Asp.net page that I want to display for the entry point to
our SharePoint site. What I want to be able to do is:
-- Have the page display when a user does http://mysitename
-- Show a usage warning, let them accept the terms which takes them to
the "real" entry point of the site.
What I have tried:
-- Removed the default page from IIS and made my warning page the
default page.
-- I have added my page to the exclusions list for the virtual server
in SharePoint.
The behavior I get: The default.aspx page gets returned by stsfltr.dll
even when it is not in the default document list in IIS when no
document is specified (http://mysitename).
The behavior I want: The default document in IIS to be the one I
specify that is just a regular asp.net page to display when a user goes
to the site's domain name. This page will redirect the user to the
actual entry point.
The reason for: To show a warning screen before a user logs in.
|
|
|
| Back to top |
|
 |
sarrr
Guest
|
Posted:
Tue Jan 11, 2005 11:14 pm Post subject:
Re: Intercept a request before SharePoint handles it. |
|
|
The problem is in IIS when I remove all default documents the SPPS
still displays https://myportalname/default.aspx |
|
| Back to top |
|
 |
sarrr
Guest
|
Posted:
Tue Jan 11, 2005 11:16 pm Post subject:
Re: Intercept a request before SharePoint handles it. |
|
|
I would still need to do this before the user logged in and even after
removing all default documents from IIS SPPS still displays
https://myportalname/default.aspx |
|
| Back to top |
|
 |
tedteng
Guest
|
Posted:
Wed Jan 12, 2005 12:49 pm Post subject:
Re: Intercept a request before SharePoint handles it. |
|
|
maybe i did not ctach ur point. so how about
1. rename default.aspx to another name, say, homepage.aspx
2. create a "default.htm" page, put the terms orwarining info on this page
and redirect the users to the homepage.aspx
br
ted
why do u need remove default.aspx page? it is a must for a sps area/site. If
u just want to show some terms infor before use go to default.aspx, i just
suggested to create a default.htm (u should use this name). when user click
"sarrr" wrote:
|
|
| Back to top |
|
 |
sarrr
Guest
|
Posted:
Wed Jan 12, 2005 9:05 pm Post subject:
Re: Intercept a request before SharePoint handles it. |
|
|
I'll try that, it may get rid of the problem of sharepoint showing the
default.aspx page even though I have removed it from the "Default
content pages" of the documents tab for the site in IIS. If this works
I could then see if I could set a virtual directory in the sites root
that holds the warning to allow annoymous access.
The warning has to be displayed before the login dialog to the rest of
the site. If I did not have to have this display before login It would
be easy.
To display before the login without authentication is tricky IIS
configuration.
Thanks again |
|
| Back to top |
|
 |
|
|
|
|