Search results

  1. R

    Using include directive in configuration with wildcard or rejex includes

    Hi, The wildcard only works on one level folder that means include /usr/local/lsws/conf/myconf.d/*.conf <= This works include /usr/local/lsws/conf/users.d/*/vhost/*.conf <= this does not work. I confirm it.
  2. R

    OLs version 1.7.14 lscache not working

    If so one more request . The cache module doesn't obey suexec . If we use private cache and the domain cache to vh_root/lscache , those cache folder will be created with the ols user instead of the vhost user. So the vhost user can't remove those cache files to control his private cache
  3. R

    Openlite speed 1.7.14 bug with uwsgi sockets via proxy

    I understand . This solution won't help. I cant share this app with other domains due to suexec restriction . Also I can't use it in a multi server environment . May be in future OLS team can add an extprocesor for uwsgi apps like the proxy . Just copy and paste the proxy code and change...
  4. R

    OLs version 1.7.14 lscache not working

    i thought it will cache .html too by default . So was testing it on wrong way,. The cache is working fine with public and private cache for php file . I can purge the public cache , I can't purge the private cache from server. Tested the following , Public Cache Purging : The following will...
  5. R

    Purge the cache by URL

    Hi, You can use the following curl command from server to purge cache Purge a url cache /usr/bin/curl --connect-timeout 10 -X PURGE https://foo.com/phpinfo.php Purge all cache /usr/bin/curl --connect-timeout 10 -X PURGE https://foo.com PS : This sees clear all public cache , I have no...
  6. R

    OLs version 1.7.14 lscache not working

    It is a plain html site for testing the cache . There is no rewrite rules thoug. There is no cache generated on the server cache folder . it is supposed to show the cache headers even if there is no cache , am I right ?
  7. R

    Openlite speed 1.7.14 bug with uwsgi sockets via proxy

    There is a serious issue with openlitespeed using as a extprocess with proxy protocol over unix domain socket. The extprocessor proxy mode send the the packets as http protocol instead of uwsgi , which may result in 500 error on a shared application environment with nginx , apache or...
  8. R

    Cant access Openlitespeed Webadmin using any ports.

    Just install the netstat command usin apt or use the command ssh as follwos, # ss -pant | grep litespeed
  9. R

    Cant access Openlitespeed Webadmin using any ports.

    You need ssh after that run the command . If the command is not found install the following in server for RHEL/Centos server # yum install net-tools
  10. R

    Cant access Openlitespeed Webadmin using any ports.

    Could you run the following command see the admin port is listening by ols # netstat -pant | grep openlite If you see the admin port ( geenral 7080 ) , it is already there . The server fire wall is blocking access to the admin port . You need to open that port
  11. R

    OLs version 1.7.14 lscache not working

    Hi, The lscache module is not working with version 1.7.14 . I tested on ubuntu server and a directadmin server. It is simply not showing the headers # bin/openlitespeed -v LiteSpeed/1.7.14 Open module versions: modgzip 1.1 cache 1.62 modinspector 1.1 uploadprogress 1.1...
  12. R

    Looking for Alternative to Proxy pass or a websocket solution

    OK, Again , I found a solution use a websocket proxy So that I can use the same proxy in all vhosts . The socket /var/lib/myapp-web.sock was a django uwsgi socket connection, A Mailman 3 web interface runing on server side. The mailman 3 service is runing as different user and group and...
  13. R

    Looking for Alternative to Proxy pass or a websocket solution

    What is the alternative of the following apache configuration in OLS ProxyPass "unix:/var/lib/myapp-web.sock|uwsgi://localhost/myapp/" I tried the websocket method , it only rerun 404 websocket /myapp/ { allowBrowse 1 address...
  14. R

    Alias context as another user

    Here is the solution I used Aim : I need to use a set of common script like /phpmyadmin , /webmail ,etc,. which are located on my server . Those scripts are not owned by the web server user. So I need to run those scripts under a different user on each virtual hosts url...
  15. R

    Alias context as another user

    Is it possible to run a context ad another suexec user than the vhost user ? I have vhost user and group as foo and foo respectively. I have a context /webmail/ and I need to run the scripts under this context as another user. Please suggest the possible solutions ?
  16. R

    Understanding hotlinkCtrl in OpenLitespeed

    Hi, I used the feature of ols to setup the hotlink protection as follows, hotlinkCtrl { allowedHosts mysite.com www.mysite.com foo.com enableHotlinkCtrl 1 suffixes jpeg, jpg, png, gif, svg, tiff, bmp, webp, bpg, css, ico, js, woff, woff2, ttf, ttc, otf, eot...
  17. R

    Adding custom lsapi php handler with proper mime support

    Sorry for this post . It was a typo error or my side it is fixed. now
  18. R

    Adding custom lsapi php handler with proper mime support

    HI, I have the following php handler setup with a custom name "my-apps" extProcessor my-apps{ type lsapi address uds://run/openlitespeed/lsphp-my-apps.sock path /usr/local/php/bin/lsphp autoStart...
  19. R

    OpenLS version 1.7.14 pagespeed module is not loading

    I managed to fix this issue. The modpagesped.conf need to include in main configuration then only we can control it inside a domain vhost
Top