Page 2 of 4 FirstFirst 1234 LastLast
Results 21 to 40 of 67

Thread: OpenLiteSpeed with DirectAdmin

  1. #21
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,474
    OK, thanks. I could not replicate the issue on my end afterwards, so can't say for sure what was it caused by. If I see the same misbehavior again I will definitely file a bug report.

    So far it looks fine.
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

  2. #22
    Join Date
    Feb 2014
    Location
    Vilnius, Lithuania
    Posts
    8
    Hi, is url rewriting migration handled automatically, or it has to be done manually per each VirtualHost?

  3. #23
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,971
    If you have rewrite rules in .htaccess, they're read automatically
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  4. #24
    Join Date
    Jun 2008
    Posts
    14
    Tell me how to set up cloudflare
    There is an instruction for webadmin https://www.litespeedtech.com/suppor...ind-cloudflare
    but webadmin disabled
    Or give instructions on how to enable webadmin?

  5. #25
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,971
    Access control list can be found in /usr/local/lsws/conf/httpd-accesscontrol.conf, just add all the CloudFlare IPs there, and don't forget to copy the config to /usr/local/directadmin/custombuild/custom/openlitespeed/conf, so that it wouldn't get overwritten. Another setting name is "useIpInProxyHeader 2". It can be added to /usr/local/lsws/conf/httpd-includes.conf which is not overwritten by CustomBuild Please let us know if you still have any questions on it.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  6. #26
    Join Date
    Jun 2008
    Posts
    14
    Thank you, it works.
    But still the question is how to activate the webadmin?
    As well as the question of how to deny access to the file to all and allow certain? In .htaccess records "allow,deny" do not work

  7. #27
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,971
    You may find accessDenyDir{} and accessControl{} examples in /usr/local/lsws/Example/html/httpd_config.conf. WebAdmin can be activated in /usr/local/lsws/conf/httpd-defaults.conf, but I strongly suggest not doing so for the reasons mentioned above
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  8. #28
    Join Date
    Jun 2008
    Posts
    14
    when I change the disableWebAdmin parameter to 0,
    WebAdmin does not work when I delete this parameter, it does not work either.
    netstat -na |grep 7080 and netstat -na |grep 7080 - no output

  9. #29
    Join Date
    Jun 2008
    Posts
    14
    found a solution
    cp /usr/local/lsws/admin/fcgi-bin/admin_php5 /usr/local/lsws/admin/fcgi-bin/admin_php
    ln -s /usr/local/lsws/admin/html.open /usr/local/lsws/admin/html

    and include /usr/local/lsws/admin/conf/admin_config.conf

  10. #30
    Join Date
    Nov 2006
    Posts
    54
    Is it possible to use this in combination with CloudLinux (CageFS/...)?

  11. #31
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,971
    Yes, it fully supports CageFS and components depending on it (PHP Selector).
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  12. #32
    Join Date
    Jun 2008
    Posts
    14
    tell me how to use recaptcha?
    All documentation is built on a web panel.
    https://openlitespeed.org/kb/recaptc...openlitespeed/

  13. #33
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,971
    What specific question/problem do you have with /usr/local/lsws/conf/httpd-lsrecaptcha.conf? Thank you!
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  14. #34
    Join Date
    Jun 2008
    Posts
    14
    I change in file httpd-lsrecaptcha.conf parametr enabled to 1
    and in .htaccess push

    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*
    RewriteRule .* - [E=verifycaptcha]

    then restart openlitespeed
    but captcha dont work

  15. #35
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,971
    Did you add recaptcha codes there? Anything in error log?
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  16. #36
    Join Date
    Jun 2008
    Posts
    14
    What other captcha code and where to add?

  17. #37
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,971
    /usr/local/lsws/conf/httpd-lsrecaptcha.conf has the following lines:
    Code:
    #  siteKey                 Your_SITE_KEY
    #  secretKey               Your_SECRET_KEY
    They should be uncommented and real site/secret keys should be placed there.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  18. #38
    Join Date
    Jun 2008
    Posts
    14
    Entered the keys, but does not work
    Also tried to make these settings in the user's personal virtualhost, also does not work.
    There is no captcha in the logs.

  19. #39
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,971
    Please make sure you're running OpenLiteSpeed 1.5.2, as 1.4.x did not have this feature at all. If you suspect it's a bug, I'd suggest contacting OpenLiteSpeed on this.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  20. #40
    Join Date
    Oct 2018
    Posts
    2

    two things

    1. how can i access to admin web console via port 7080
    2. lscache not working

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •