You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows系统下Lucee/Boncode的BIN文件夹路径迁移方案咨询

Customizing Lucee/Boncode's BIN Folder Path to Avoid Conflicts

Absolutely! You can easily reconfigure Lucee and Boncode to use a custom folder (like _BIN or BIN_Lucee) instead of the default BIN directory—this is a common fix for site code conflicts. Here's how to implement it step by step:

Step 1: Locate the Boncode Connector Configuration File

For each manually configured Lucee site, you'll find a BoncodeAJP13.settings file. This is typically stored in:

  • The root directory of your IIS site, or
  • The inetpub\wwwroot\[your-site] folder (depending on your deployment setup)

Step 2: Modify the BinFolder Setting

Open the BoncodeAJP13.settings file with a text editor (like Notepad++), then look for the <setting name="BinFolder"> entry. By default, it will look like this:

<setting name="BinFolder" value="./BIN" />

Change the value attribute to your desired folder path. You can use either a relative path (relative to your site root) or an absolute path. For example:

<!-- Using a relative path to a custom folder -->
<setting name="BinFolder" value="./_BIN" />

<!-- Or an absolute path if you prefer -->
<setting name="BinFolder" value="C:\inetpub\wwwroot\your-site\BIN_Lucee" />

Step 3: Create the Custom Folder and Set Permissions

  • Create the new folder (e.g., _BIN or BIN_Lucee) in your site's root directory.
  • Ensure the IIS application pool user for your site has read and write permissions on this folder. Boncode uses this directory for temporary files, logs, and runtime resources, so proper permissions are critical for smooth operation.

Step 4: Restart the IIS Site/Application Pool

To apply the changes, restart your site's application pool in IIS Manager, or recycle the site itself.

Extra Notes

  • If you have multiple Lucee sites needing this fix, repeat these steps for each site's individual BoncodeAJP13.settings file (since you're manually configuring each one).
  • Pick a folder name that's unique to Lucee/Boncode to avoid future conflicts with your site's codebase—BIN_Lucee is a clear, descriptive choice that's unlikely to clash with existing site files.

内容的提问来源于stack exchange,提问作者user1824596

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 07:56:19