Directory directive bug

Hello,
I upgraded my lsws from 3.0pre to 3.0rc1. I found a bug. In httpd.conf (cPanel) is line:
<Directory "/usr/local/apache/htdocs">
When I enter the site by default VH (e. g. by the IP) then lsws redirect in loop to http://virtual_host//. When I change the line to:
<Directory "/usr/local/apache/htdocs/">
then it is working properly.

I have also another problem in 3.0rc1. LSWS works for some time and after that it hangs up - lshttpd process consume 90-100% cpu and don't respond for requests. I turned debuging on and I will try to get more informations.

For the Directory directive problem, please download the updated package again, should be fixed.

For the hanging problem, you can "strace <pid>" or attach to the process with GDB, with command "attach <pid>", then "bt", post the backtrace of stack. Or, you can try "kill -BUS <pid>" to let it dump a core file, send the core file to "bug @ litespeedtech ..."

1. In new rc1 I have some notices like:
[/usr/local/apache/conf/httpd.conf:3697] Unsupported ErrorDocument URL: , must start with '/' or 'http'.
In httpd.conf the entry is good:
ErrorDocument 400 /400.shtml

2. When I do the upgrade (install lsws), I see an error:
Installing, please wait...

Now every thing looks ok. Currently lsws doesn't hang also. Today I installed it at 8 cPanel servers and every thing is working good and fast. In next week I will try to install lsws at DirectAdmin server. Thanks for good work.

Checked the .htaccess problem in /cgi-bin/ dir, it is because there is another ScriptAlias directive for "/cgi-bin" pointing to /usr/local/apache/cgi-bin/ in the default vhost, and that directory has "AllowOverride None" in it. So, our httpd.conf parser was confused.