简体   繁体   中英

Apache: I want to enable SSI. Can anyone furnish an example config file?

Yes - Google abounds with information about configuring Apache to support SSI.

But unfortunately, I still cannot seem to get it right.

My questions:

  • Can anyone furnish me a full-fledged example config file that enables SSI on an Apache server?

  • Also can you please tell me where I should drop this config file (ie which
    directory)?

Apache probably wouldn't run if you didn't already have a fully-fledged config file. Try an

apachectl configtest

and see what happens.

My site is hosted at 110mb.com.

Interestingly enough, here is the solution:

Rename all files which have server-side includes to *.shtml.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM