开发者

When you made alias in Apache Server you have to write Option: Indexes to Directiory?

开发者 https://www.devze.com 2023-01-19 00:37 出处:网络
When I don\'t give indexes option I all the time have forbidden message. When I give this option it works well, but I don\'t have starting page, but page with head: \"in开发者_如何学运维dex of\" and b

When I don't give indexes option I all the time have forbidden message. When I give this option it works well, but I don't have starting page, but page with head: "in开发者_如何学运维dex of" and below it there are links to files, which are in my directory.

Now, how to do, that I will have starting page? Without error.

One note: When I don't use Aliasing, the test Apache page working well (as starting page)


Try to add the following line in your "alias" config:

DirectoryIndex index.php index.html 
0

精彩评论

暂无评论...
验证码 换一张
取 消