context

  1. naidutrk

    access denied for fast cgi URI

    Trying to add a fast cgi application and getting "access denied" and 403 error when URI is accessed. I registered my fast cgi app under external app. filled all requisite parameters. I added a context type fast cgi and added URI and selected the external app. I started the app in the...
  2. artertendean

    Virtual Host Context

    How can I use same path in the virtual host context? For example, I want to serve static files in /, but my / was used by my App Server, so I can't use that. I need to make a new context with a different path like /static/ to serve my static file. Is there any way that I can serve App...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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