|
網誌存檔
熱門網志
|
|
|
This lighttpd module provides for mapping different parts of the host filesystem in the document tree. You can use it for mapping various directories. For example cgi-bin directory mapped to /var/lib/cgi-bin. ConfigurationOpen your lighttpd configuration file: vi /etc/lighttpd/lighttpd.conf Append/add mod_ alias to list of server modules: ExamplesAdd cgi-bin alias for doamin theos.in Browse all documents installed at /usr/share/doc/ directory with following alias: Open a browser and type url http://theos.in/docs/ or http://your-domain.com/docs/ |
-------------------------------------------------
| 上一篇:巧用tmpfs加速你的linux服务器 | 下一篇:lighttpd configure java web server |

