IIS Settings method
1, open the Internet Information Services window, expand the "User name" "web" option, right-click, select the Properties menu command on the pop-up shortcut menu, open the Web Site Properties dialog box, click the Documents tab, and click the Add button under the Enable Default document option. Enter a new document name in the Open dialog box, and then click the OK button.
Apache Settings Home
Set the default page
Method 1 Sets the global:
The code is as follows |
Copy Code |
<ifmodule dir_module> DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml default.php </IfModule> |
Method 2 can be set for a directory:
code is as follows |
copy code |
Alias /aidd2008 "d:/php/web/aidd2008" <directory "d:/php/web/aidd2008" > Options Indexes multiviews allowoverride none Order allow,deny allow from all DirectoryIndex default.php </directory> |
Tip: 403 errors are common error prompts during web site access. The resource is not available. The server understands the customer's request, but refuses to process it. Typically, the resolution sets the site permissions directly because of the permissions set on the file or directory on the server.