Search results

  1. G

    PHP 7.0.0alpha1 and SuEXEC

    Hi, PHP 7.0.0alpha1 has been released today. Because we'd like to test PHP 7 in our environment, could you add "php70" and "php7" to the list of suEXEC-capable suffixes as soon as possible? Also, could you reconsider making this list configurable? Thanks!
  2. G

    [Resolved] PHP 5.6 and suEXEC

    Hi, PHP 5.6.0 has been released today. Could you add "php56" to the list of suEXEC-capable suffixes as soon as possible? Also, could you reconsider making this list configurable? Thanks!
  3. G

    Setting environment variables in .htaccess

    It seems environment variables don't work as expected on LiteSpeed and aren't compatible with the way Apache does things. I have this, which works on Apache: SetEnvIf Request_URI "^/path/to/admin.*$" adminUri AuthName "Password protected" AuthType Basic AuthUserFile ./.htpasswd...
  4. G

    [solved] suExec not working for specific External App

    We have Litespeed running with 3 External Apps (php4Lsapi, php5Lsapi, php53Lsapi), all of them doing suExec and workign as expected. However, I have just added a new external all called phpDebugLsapi with script handler phpdebug to debug an issue we've been experiencing with a specific PHP...
  5. G

    lsphp: suPHP-like paranoid mode

    I would like to know if there is something available like suPHP's paranoid mode (see http://www.suphp.org/DocumentationView.html?file=INSTALL) where a script will only be executed if the group and owner match those in the configuration file. If not, is such a feature considered for future...
  6. G

    Debian kFreeBSD

    I would like to know if there are any plans to support Debian kFreeBSD? I tried installing the FreeBSD version on it but it fails with "ELF interpreter /libexec/ld-elf.so.1 not found", which is indeed not present in Debian kFreeBSD. Thanks!
  7. G

    Variable containing document root

    We are trying to have a default system-wide php.ini to which values can be added per virtual host by having a php.ini in that host's document root. The PHP_INI_SCAN_DIR variable is ideal for that. We tried setting that variable to $VH_NAME, $VH_ROOT or $DOC_ROOT, unfortunately none of them...
  8. G

    SetEnv alternative

    Since LSWS doesn't seem to support the SetEnv directive, I tried using RewriteRules to achieve the same result. However, it doesn't seem to work: # # FLOW3 context setting # # Enable URL rewriting RewriteEngine On # Set flag so we know URL rewriting is available #SetEnv...
  9. G

    LSWS + {Tomcat,Resin,...} on shared hosting

    Currently we have an LSWS setup running on our shared hosting platform with PHP4 and 5 with SuExec. This works perfectly. We would like to offer JSP support as well. Is there an howto available for this? I saw on the wiki that there are plans to create one. What are the best practices for...
  10. G

    PHP6: Working, but no SuExec

    I managed to get PHP6-dev more or less working with the Litespeed LSAPI. I had to comment out all references to php_end_ob_buffers() in lsapi_main.c, because that is apparently not supported in PHP6, but aside from this it compiled cleanly. Would there be any chance for the Litespeed dev's...
  11. G

    htaccess + 404 leads to ignoring of custom error documents

    Our custom error documents are defined globally as follows: Alias /cust_err_doc/ "/var/http/" ErrorDocument 301 /cust_err_doc/errors/301.php ErrorDocument 302 /cust_err_doc/errors/302.php ErrorDocument 400 /cust_err_doc/errors/400.php ErrorDocument 404 /cust_err_doc/errors/404.php...
  12. G

    RewriteRule regression in 3.3.9 -> 3.3.10

    Hello, We are experiencing a problem with the update to 3.3.10. The RewriteRule in use is the following: RewriteEngine On RewriteRule ^(index.html)*$ - [L] RewriteCond %{REQUEST_URI} !^.*(admin).*$ [nc] RewriteCond %{REQUEST_URI} !^.*(uploaddata).*$ [nc] RewriteRule...
  13. G

    Custom error documents

    We use the following to create custom error documents to remove the LiteSpeed footer in these and use our own: Alias /cust_err_doc/ "/config/var/http/" ErrorDocument 400 /cust_err_doc/errors/400.php ErrorDocument 404 /cust_err_doc/errors/404.php ErrorDocument 403...
  14. G

    Logging with Apache vhosts file

    We are trying to get Litespeed to act as our current Apache setup. We got almost everything to work as we want, however, there is one issue we can't seem to solve: logging. We use the following files: /etc/apache/sites.conf - VirtualHost definitions /etc.apache/httpd.conf - Apache main...
Top