Search results

  1. ckissi

    GeoIp filter, how to use ?

    I've configured the OLS to use GeoIP database on the server level. Is it possible to enter rewrite rules to filter out traffic from specific countries or can I do that only in e.g. PHP with a usage of the $_SERVER variable?
  2. ckissi

    OLS not responding

    Hi, Happened to me again. No response in front-end (domains on OLS) as well as OSL admin interface (ERR_TIMED_OUT) root@buyvm4:~# ps aux | grep lsws root 22894 0.0 0.0 4512 836 ? S 03:07 0:00 sh -c gdb --batch --command=/usr/local/lsws//admin/misc/gdb-bt...
  3. ckissi


    Is anywhere lsphp56-opcache library available somewhere or any other kind of opcode cache available for lsphp 5.6 under Ubuntu? I didn't find any.
  4. ckissi

    How to apply these rewrite rules?

    I've protected the wp-admin directory with basic auth but need to make an exception for one file located in this folder. The rules are as following: <Files admin-ajax.php> Order allow,deny Allow from all Satisfy any </Files> How to apply these rules?
  5. ckissi

    Custom error log for VHOST not working

    I have custom error log for VHOST defined like this: Unfortunately, OLS ignores it. It uses server error log instead.
  6. ckissi

    Cannot edit domain alias after domain was created

    Hi, in version 1.4.25... I was trying to edit domain aliases and add one more but it doesn't work. I had to delete entire virtual host and recreate it.
  7. ckissi

    Wordpress in subdirectory

    Hi, I'm having a hard time to make WP in subfolder work. I read all available help sources in this forum as well as on StackOverflow, unfortunately, nothing works for me. The WP is placed in subfolder blog so it should be accessible as The home is working but no...
  8. ckissi

    Add custom headers for domain

    Hi, I want to add following custom headers for domain: X-XSS-Protection: 1; mode=block Referrer-Policy: same-origin X-Content-Type-Options: nosniff X-Frame-Options: DENY Where can I implement them?
  9. ckissi

    Red marks next to virtual host items and listeners

    I've logged in to the admin area and noticed red marks next to the listeners as well as virtual host. Check the images please. Web sites are running ok, so it must be just some issue with a status check. After a graceful restart, it works ok.
  10. ckissi

    How to create new virtual host from command line?

    Hi, I would like to create a script that will be able to create a new virtual host from a command line. Can be template based, so I need just add a new site to an existing template from a command line. Is this possible and if so how?
  11. ckissi

    How to set up Cookieless domain?

    Hi, How can I set up cookieless domain on OLS?
  12. ckissi

    Cannot create new template

    Hi, I'm trying to create a new template within the admin area but cannot. I've created the file manually in the template directory but the lsws doesn't recognize it and even no "CLICK TO CREATE" link appears if the file does not exist.
  13. ckissi

    Cannot install ols1clk on Centos 7/32bit

    I've tried to install on Centos 7/32bit but getting the following error: failure: repodata/repomd.xml from litespeed: [Errno 256] No more mirrors to try. [Errno 14] HTTP Error 404 - Not Found Seems that repository file is missing...
  14. ckissi

    Page not found 404 issue (v 1.4.25)

    When I have webadmin opened and session expires (or not... it takes only about 5 minutes) and I click any link I get 404 page instead of redirect to login page (version 1.4.25).
  15. ckissi

    Graceful restart in webadmin console problem.

    Hi, I've created new virtual host using a template, it says I have to make a graceful restart. If I do it from web admin it doesn't run the virtual host. I have to go to command line and run this command: /usr/local/lsws/bin/lswsctrl restart ... then it works Why the restart from web admin...
  16. ckissi

    Curl issue on Debian and Ubuntu in 1Click install

    hello, I've tried 1click install with bash script on Ubuntu 14.04, 16.04 as well as Debian 8 and I was unable to get Curl working. One of the plugins in WP is using curl, unfortunately, PHP versions were compiled with shared curl. I read suggestions to use apt-get install php-curl to install...
  17. ckissi

    Cannot create new virtual host

    Hi, A few days ago I've installed OLS and added few virtual hosts by a template and then instantiated them, added Letsencrypt and everything worked fine. Today, I'm trying to add one more VH without any success. I got no errors, a graceful restart was successful. Unfortunately, the VH is not...
  18. ckissi

    Fatal error: Call to undefined function mysql_connect()

    I installed OLS beta from sources: cd openlitespeed-1.x.x ./configure make && make install and then installed PHP with these commands: yum install lsphp54-* --skip-broken ln -sf /usr/local/lsws/lsphp54/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5 Unfortunately the simple mysql_connect function...
  19. ckissi

    Is anybody running OLS beta in live environment ?

    I like version 1.4.x more and more and thinking to try it in the live environment. Is anybody here running it in the live environment?
  20. ckissi

    cant compile PHP on lowend VPS

    Hello, I'm trying to compile php with config: '--with-mysql' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--with-xml2' '--with-curl' '--with-libdir=lib64'...