Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

programmaticaly changing the default directory page

Question posted by: rvj (Guest) on August 3rd, 2008 07:45 PM
Anyone know if its possible to create an ASP script to reset the default
page of a particular directory


Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Evertjan.'s Avatar
Evertjan.
Guest
n/a Posts
August 3rd, 2008
07:55 PM
#2

Re: programmaticaly changing the default directory page
rvj wrote on 03 aug 2008 in microsoft.public.inetserver.asp.general:
Quote:
Originally Posted by
Anyone know if its possible to create an ASP script to reset the default
page of a particular directory


What do you mean with resetting a page?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

rvj's Avatar
rvj
Guest
n/a Posts
August 3rd, 2008
08:35 PM
#3

Re: programmaticaly changing the default directory page
simply access IIS directory records and replace an existing document name
for the specified directory

even if that means removing any existing default document names
and then insert a new default document name

eg change the default document name from x.htm to y.xml



"Evertjan." <exjxw.hannivoort@interxnl.netwrote in message
news:Xns9AEFDD69F74DCeejj99@194.109.133.242...
Quote:
Originally Posted by
rvj wrote on 03 aug 2008 in microsoft.public.inetserver.asp.general:
>
Quote:
Originally Posted by
>Anyone know if its possible to create an ASP script to reset the default
>page of a particular directory

>
What do you mean with resetting a page?
>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)




Anthony Jones's Avatar
Anthony Jones
Guest
n/a Posts
August 3rd, 2008
09:45 PM
#4

Re: programmaticaly changing the default directory page
"rvj" <rvj@rolemodels.netwrote in message
news:ugGPJBa9IHA.3648@TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
Anyone know if its possible to create an ASP script to reset the default
page of a particular directory
>
>


It can be done use ADSI apis but the security context underwhich the script
runs will need to be at least an operator or even an administrator. IOW
the anonymous user will not do.

--
Anthony Jones - MVP ASP/ASP.NET



rvj's Avatar
rvj
Guest
n/a Posts
August 4th, 2008
07:55 AM
#5

Re: programmaticaly changing the default directory page
thanks again

"Anthony Jones" <Ant@yadayadayada.comwrote in message
news:eDg%23fGb9IHA.4820@TK2MSFTNGP06.phx.gbl...
Quote:
Originally Posted by
"rvj" <rvj@rolemodels.netwrote in message
news:ugGPJBa9IHA.3648@TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
>Anyone know if its possible to create an ASP script to reset the default
>page of a particular directory
>>
>>

>
It can be done use ADSI apis but the security context underwhich the
script
runs will need to be at least an operator or even an administrator. IOW
the anonymous user will not do.
>
--
Anthony Jones - MVP ASP/ASP.NET
>
>




 
Not the answer you were looking for? Post your question . . .
184,042 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors