Search results

  1. N

    Chmod is broken with Litespeed

    I can't find that file in my jailed shell. Is it available online somewhere so I can get a copy of default.php? download the latest standard version(current 4.0.14) lsws to your site's host(or local PC). extract the .tar.gz file, default.php located at lsws-4.0.14/share/autoindex/default.php
  2. N

    admin password failed?

    /usr/local/lsws/admin/misc>../fcgi-bin/admin_php genjCryptionKeyPair.php Using php to generate keys, please be patient ... to update /usr/local/lsws/admin/conf/jcryption_keypair not sure if this helps. usually admpass.sh is the last way to try. :)
  3. N

    [Resolved] htaccess file directives in subdirectories

    tested, apache is same behavior as litespeed. my simple test show lsws not support "allow from env=" yet but should be able to do it through rewrite. regarding "SetEnvIf", lsws not support it directly but can set env through rewrite rule. for example. RewriteRule (.*) - [env=myenv:1]
  4. N

    [Resolved] htaccess file directives in subdirectories

    appache 2.2.14 when AllowOverride Options/FileInfo/AuthConfig/Indexes (one of them) return when AllowOverride All/Limit (one of them) return when AllowOverride None ,return normal result. -- "deny from all" is ignored. summary for apache, when virtual host level AllowOverride is...
  5. N

    [Resolved] htaccess file directives in subdirectories

    I did more tests on 4.0.14 standard, using exactly same lines as yours: <Files config.php> order allow,deny deny from all </Files> in vhost level when AllowOverride any one of Limit/Auth/FileInfo/Indexes/Options is checked, "deny from all" will take effect, return 403 Forbidden...
  6. N

    Chmod is broken with Litespeed

    please try: 1. copy the default.php to your home folder cp /usr/local/lsws/share/autoindex/default.php /home/myusername/test/myindex.php 2.edit .htaccess in your document root -- assume it's ~/public_html/.htaccess add one line: alias /_autoindex/default.php...
  7. N

    Failed To Find Flength File -upload file !

    tested uber-uploader, it's working with lsws 4.1RC2 please refer: http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:uploadprogress_bar this uber-uploader can work without the uploadprogress extension mentioned in above wiki. upload progress bar is one of the main...
  8. N

    [Resolved] htaccess file directives in subdirectories

    yes, lsws suport these directives. if you experience "not working", please refer http://www.litespeedtech.com/docs/webserver/config/general/#allowOverride to check AllowOverride setting for "Limit", "FileInfo" etc.
  9. N

    php and memcache

    may need build memcache from source. please refer http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:opcode_cache 2) Download/Expand APC 3.0.11+ it's same procedure to build an php extension.
  10. N

    How to setup Litespeed LSWS for a shared environment?

    1.LSWS is compatible with apache .htaccess 2.the example directives are from apache too. Yes, LSWS compatible with them. since you're running trial LSWS, it should be easier for you to verify these directives one by one, to see if it works fine as expected as apache. if not, please report us.
  11. N

    [Resolved] Magento/CPANEL/LiteSpeed issue

    1. is it working under apache? 2. if it is, have you done "Build Matching PHP Binary" in Litespeed Web Server" plugin, without error? 3.if 2 is ok, run phpinfo(), ensure lsphp has built correctly. in a trouble shooting a few days back, a wordpress site return 503 error. lsphp is latest...
  12. N

    Chmod is broken with Litespeed

    got to understand your situation. your php run in suEXEC mode, which has same uid/gid as your home folder. so auto directory indexing happens on a folder which has least 500 permission, include 750. unless you set the directory's permission to 000. there is a possible way to implement...
  13. N

    Chmod is broken with Litespeed

    >Is there anything else I can check on my end? #ps -ef|grep lsphp
  14. N

    Chmod is broken with Litespeed

    my test: if chmod 750 path/to/mydir [ERROR] Can not open directory for URI: path/to/mydir >I chmod'd to 750 in the shell and directory listing is still working if I navigate there with a browser. litespeed use lsws/share/autoindex/default.php to generate directory index. so check if the...
  15. N

    OpenSUSE user to choose on Install?

    please re-download 4.0.14 and test.
  16. N

    [Resolved] How to Install and Compile PHP with MailParse?

    build from MailParse source. please refer http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:opcode_cache it's the same procedure to build a php extension for lsphp.
  17. N

    [Resolved] Upload Issue - Is it Litespeed or PHP?

    this wiki http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:uploadprogress_bar summarize some upload config options in PHP. there is a limit there since PHP 5.2.1 max_file_uploads 20 PHP_INI_ALL Available since PHP 5.2.1
  18. N

    [Resolved] mime.properties - js=application/x-javascript vs js=application/javascript

    GZIP Compression --> Compressible Types --> application/x-javascript Expires Settings --> Expires By Type --> application/x-javascript=A604800 application/x-javascript already there, should add application/javascript i.e., GZIP Compression --> Compressible Types -->...
  19. N

    Typical settings for these environments

    regarding benchmark, please refer our blog. We have run some benchmarks a few months ago, and the result were good and encouraging. litespeed don't connect to MySQL directly, PHP make connections with MySQL. For large volume traffic, MySQL used to be bottle-neck. I experienced an example of...
  20. N

    configure: error: libjpeg.(a|so) not found.

    don't think following hack is necessary: what's the output of the server: # ls -l /usr/lib64/libj*
Top