Search results

  1. M

    virtual host -> clone

    It's be nice to be able to clone virtual hosts through the web GUI (on the Virtual Hosts listing page, next to View/Edit and Delete).
  2. M

    Logs: Rotation, Management & External Applications

    Sounds perfect. That should be easy to add to init scripts. Yes, standalone log files could be overkill. Logging to vhost is just as good. But when you say log everything, do you mean server level applications too? For example, if you have a server-level lsphp-5 external application and...
  3. M

    Logs: Rotation, Management & External Applications

    I have a couple of requests to improve log management. My first request is pretty simple. Presently, there's no way to stop the server from rotating its error log when LiteSpeed restarts (presumably to give a clean copy to the Web UI). Could you please add an option (Yes/No - Rotate Log on...
  4. M

    lsperld.fpl always times out

    The new version fixed it. The perl scripts are behaving as in 2.2.6 now. Thanks!
  5. M

    lsperld.fpl always times out

    I upgraded from 2.2.6 to 3.0RC2. A simple hello world script and the awstats.pl both work using CGI daemon, but both hang using lsperld.fpl. I upped the logging to INFO and receive this for the hello world script (awstats.pl is the same): 2007-02-11 21:22:29.680 [INFO]...
  6. M

    Rails, LSAPI, Rewrites, Contexts, Authentication

    Very clever and it works perfectly. It doesn't even give the wrong HTTP response code. Thank you.
  7. M

    Rails, LSAPI, Rewrites, Contexts, Authentication

    I have a Rails LSAPI serving multiple virtual hosts (so the LSAPI is at the server level). Each virtual host operates off a single template, which has this for the template-wide rewrite rules: RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteCond %{REQUEST_FILENAME}...
  8. M

    lsperld.fpl always times out

    I use an instance of lsperld to serve old-style awstats on one of my servers and I noticed that on 2.2.6 it works fine, but on 3.0 RC2 it times out. I don't know the reason for the hang, because there are no errors I can see in any of the logs. I use exactly the same settings in both. Here is...
  9. M

    Ruby LSAPI warnings

    LSAPI warnings At least for the ENV problem, I presume it appears because you are adding some LiteSpeed specific values to ENV. If you are doing this in Ruby, just wrap your constant resetting with this code: old_verbose, $VERBOSE = $VERBOSE, nil (set constant here) $VERBOSE = old_verbose...
  10. M

    Apache Rewrite to LiteSpeed Contexts

    Here's what the Debug set to HIGH gives: 2006-11-04 16:40:22.687 [DEBUG] [*:80] New connection from xxx.xxx.xxx.xxx:34571. 2006-11-04 16:40:22.687 [DEBUG] [*:80] 1 connections accepted! 2006-11-04 16:40:22.687 [DEBUG] [xxx.xxx.xxx.xxx:34571-0] HttpIOLink::handleEvents() events=1! 2006-11-04...
  11. M

    Apache Rewrite to LiteSpeed Contexts

    Ok. Using a Static Context with only these settings: URI: exp:^/help/sections/([1-9][0-9]*)\.html$ Root: $DOC_ROOT/help/showsection.php?section=$1 Accessible: Yes I only ever get the source of showsection.php. When I enter the URL manually, it works and I can see the lsphp instance run in...
  12. M

    Apache Rewrite to LiteSpeed Contexts

    I cleared out the browser cache and tried both Static and CGI contexts. Same result. The php file is executable, overrides are allowed but not for this context, and the VHost has scripts enabled, restrained and symbol links allowed. As a side note, I don't use the per-directory .htaccess file...
  13. M

    Apache Rewrite to LiteSpeed Contexts

    I am converting an old site which relies heavily on 'pretty URLs' and Apache Rewrite rules. I understand that LiteSpeed can have Static or CGI contexts which use regular expressions. At the VHost level, I already have a lsapi PHP looking at php, html and php3 extensions, but the following Static...
  14. M

    Graceful restarting specific Rails app

    Seconded I would like to second that request for selective restarting. With a number of persistent external applications like Rails in a shared hosting environment, it's an unnecessary burst of CPU to reload all of the applications each time one of them needs to be uploaded. This is...
  15. M

    Apache vs LiteSpeed permissions

    So to confirm, this is the appropriate setup: drwxr-xr-x root admin /srv drwxr-xr-x root admin /srv/www drwxr-x--- root admin /srv/www/logs -rw-r----- root admin /srv/www/logs/access.log -rw-r----- lsws lsws /srv/www/logs/error.log In other words, any access by lsws to access.log...
  16. M

    Apache vs LiteSpeed permissions

    Addendum Litespeed only actively changes the ownership of error logs; access logs take on whatever permissions they have. Is this intentional and if so, why?
  17. M

    Apache vs LiteSpeed permissions

    After converting some sites from Apache 1.3 to LiteSpeed 2.2.2, the one hitch I noticed was that the access and error logs created by LiteSpeed were owned by the web server whereas Apache creates file descriptors before changing user. Isn't the web server supposed to own as little as possible...
Top