开发者

lighttpd default page will not go away [closed]

开发者 https://www.devze.com 2023-03-03 21:13 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

开发者_如何学运维

Closed 11 years ago.

Improve this question

I am running a web server using lighttpd, I have changed the default document directory and uploaded my new homepage, but the default page is still all that will load.

I have cleared my browser cache, etc. and even removed the default page from the directory. Nothing.

How do I fix this?


In your lighttpd.conf file, find the line which looks something like:

index-file.names           = ( "index.php", "index.html",
                               "index.htm", "default.htm",
                               "index.lighttpd.html" )

And get rid of the ', "index.lighttpd.html"' part, so that it looks like this:

index-file.names           = ("index.php", "index.html",
                               "index.htm", "default.htm")

Good luck - I hope that works for you!

0

精彩评论

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

关注公众号