programmaticaly changing the default directory page

R

rvj

Anyone know if its possible to create an ASP script to reset the default
page of a particular directory
 
E

Evertjan.

rvj wrote on 03 aug 2008 in microsoft.public.inetserver.asp.general:
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?
 
R

rvj

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
 
A

Anthony Jones

rvj said:
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.
 
R

rvj

thanks again

Anthony Jones said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top