context

  1. B

    Problem with changing static context location

    Hi. I'd like to ask a question about a problem that I've been facing with OpenLiteSpeed. Here's the full problem. So I'm running a deployment script on my VM. When there's new version of the app, the scripts runs this sequence: Create a backup folder for the current production web folder...
  2. IndraprasthaDesign

    Node.Js Website stalling after MongoDB module required

    I created a website using the normal CyberPanel options and edited the context menue in OLS (:7080) to run node. The website runs fine but the moment I try to connect it with my MongoDB instance either using Mongoose or the native MongoDB Driver, the website stalls. I can't access the error...
  3. Y

    Whitelist admin-ajax.php from Realm auth

    Hi, I have protected the wp-admin directory by following the below method but some of my plugins needs admin-ajax.php file to accessible without authentication. How can I exclude it from the static Context? https://openlitespeed.org/kb/user-authentication-through-realms/ Any help will be...
  4. slowaways

    Help sub-URIs in Context of type Proxy

    I created the configuration for External App in my Virtual Host: Name * : NodeJS Address * : localhost:3000 And the configuration for Context with type "Proxy" URI *: / Web Server *: [VHost Level]: NodeJS Ok... When acessing the sub-URI "/foo/bar" The proxy point to localhost:3000/foo/bar and...
  5. slowaways

    Access-Control-Allow-Origin Multiple Origin Domains

    Is there a way to allow multiple cross-domains using the Access-Control-Allow-Origin header in OpenLiteSpeed? I try this code in Rewrite but without success: SetEnvIf Origin "http(s)?://(www\.)?(domain1.example|domain2.example)$" AccessControlAllowOrigin=$0$1 Header add...
  6. L

    Example vhost - Getting upload progress bar to work

    In the Example vhost you have a pop-up that let's us test file upload capabilities. The upload itself works fine but I cannot get the progress bar to work. I get the error: "ERROR -- uploadProgress module not enabled?" At first I thought this had to do with the uploadprogress module for PHP...
  7. A

    Context help needed

    I've recently installed OpenLiteSpeed and have been trying to transfer everything over from a shared host. I'm trying to turn my .htaccess files into working contexts but haven't been able to work out how to do so, if I visit my website it always returns a 404. Is anyone able to point me in the...
Top