# Default doc type on windows server running PHP

**URL:** https://forum.kirupa.com/t/default-doc-type-on-windows-server-running-php/202333
**Category:** programming
**Created:** [September 29, 2006, 7:15pm UTC](https://forum.kirupa.com/t/default-doc-type-on-windows-server-running-php/202333 "2006-09-29T19:15:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zaid\_W1red](https://avatars.discourse-cdn.com/v4/letter/z/cab0a1/32.png) [@Zaid\_W1red](https://forum.kirupa.com/u/Zaid_W1red)
#### Post date: [September 29, 2006, 7:15pm UTC](https://forum.kirupa.com/t/default-doc-type-on-windows-server-running-php/202333/1 "2006-09-29T19:15:34Z")

</div>

Hey Guys,  
Does any one know how i can set the default doc type on a wiondows server running PHP?

Basically so that when an address is reached: [http://www.mysite.com/myfolder/](http://www.mysite.com/myfolder/) the server automatically serves index.php instead of displaying the directories content?

Zaid
