Search results

  1. M

    mod_rewrite and aliases

    it changes (redirects) the URL to domain.com/webmail/, I want URL DOMAIN.COM/mail/ shows the content of DOMAIN.COM/webmail/ without redirecting, thanks,
  2. M

    mod_rewrite and aliases

    Thanks for the answer: 1. how about access domain.com/webmail directly ? yes, it works fine when loaded in browser: # curl -I DOMAIN.COM/webmail/ HTTP/1.1 200 OK Set-Cookie: roundcube_sessid=j0o5l5iegegrujgrkud07k07g0; path=/; HttpOnly Expires: Thu, 17 Aug 2017 11:22:03 GMT Last-Modified: Thu...
  3. M

    mod_rewrite and aliases

    Hi, We use LiteSpeed in directadmin panel and it uses the Apache configuration to handle the shared services by default, there are some alias addresses which are connected to public web programs in /var/www/html, example: Alias /webmail "/var/www/html/webmail/" now one of our clients wants to...
  4. M

    Real-Time Statistics in shell

    thanks for the answer, the command you mentioned only shows the raw established connections and ports, but we need more detailed information about each connection, in litespeed web interface following information is shown: Client - Ka - M - R - In/Total - Out/Total - VHost - Handler - P -...
  5. M

    Real-Time Statistics in shell

    Hi all, list of current web sessions is available in web interface (Real-Time Statistics > Requests), is there any chance to have it by entering a shell command? Thanks, Abed
  6. M

    autoindex php handler

    would you please make sure about that ? I know that the apache configuration is used in such cases, but I think litespeed uses some of its own modules like "autoindex"
  7. M

    autoindex php handler

    Hi, I'm using Litespeed on my directadmin machine, would you please let me know if the configuration of this file "/etc/httpd/conf/extra/httpd-autoindex.conf" works for litespeed as well? I thought that Litespeed has its own directory index system, thanks,
  8. M

    autoindex php handler

    Hi, Would you please let me know if it's possible to change the php handler for "autoindex" separately ? I mean if I can have a dedicated php handler for "autoindex" ?
  9. M

    autoindex php handler

    Hi, I'm using litespeed on directadmin system (Apache configuration) would you please let me know following questions about litespeed autoindex system: 1- which user autoindex script (/usr/local/lsws/share/autoindex/default.php) is run by in each virtual account? 2- where i can set (or change)...
  10. M

    mod_rewrite and mod_alias

    thanks, Please notice that if you use these rules in a <directory> tag: RewriteEngine On RewriteRule dir.* /TestURI [L] then you have to disable (or remove) mod_rewrite rules in ".htaccess" otherwise all the configuration will be overwritten by the ones in .htaccess. as far as I checked...
  11. M

    mod_rewrite and mod_alias

    thank you for your consideration, that's true, seems that mentioned mod_rewrite rules work only when they are entered directly in "VirtualHost" tag in litespeed, as far as I checked, the rules not working even in "directory" or "location" tags as well, is there any chance to have them work in...
  12. M

    mod_rewrite and mod_alias

    Sure, here is the logs: apache 2.4 logs: # curl domain.com/PublicLink -I HTTP/1.1 200 OK Date: Sat, 14 May 2016 23:08:06 GMT Server: Apache Last-Modified: Sat, 14 May 2016 22:50:48 GMT ETag: "c-532d538f8d4d7" Accept-Ranges: bytes Content-Length: 12 Vary: User-Agent Content-Type: text/html...
  13. M

    mod_rewrite and mod_alias

    Thanks again for your time, the apache result is "200 OK" for both URLs: domain.com/TestURI ("200 OK" in apache) domain.com/PublicLink ("200 OK" in apache) but litespeed return "404 Not Found" for the url that matches mod_rewrite rules: domain.com/TestURI ("200 OK" in LiteSpeed)...
  14. M

    mod_rewrite and mod_alias

    thanks for your time and attention, let me explain the issue in more detail, Assume that, we have this shared account here (based on direct-admin shared hosting structure): /home/accountname/domains/domain.com/public_html/ (our account name is accountname and the domain is domain.com ) this...
  15. M

    mod_rewrite and mod_alias

    Hi, I'm using litespeed over Directadmin and use "Apache Configuration File" for vhosts configurations, I just define this alise rules in apache config file: Alias /TestURI "/var/www/html/test.html" mentioned rules function properly when I use it directly by a domain...
  16. M

    new RewriteOptions

    Hi, Seems that some new mod_rewite options such as InheritDownBefore are not supported in litespeed web service, Is it possible to provide such options in new updates ? thanks,
  17. M

    Could not chown to lsadm:{PHP_USRGROUP}

    same issue to build php-5.3.29 thanks
  18. M

    Cached memory

    Thanks for the answer, the server has already been in load, However seems that the issue has been resolved by changing some of kernel parameters: vm.zone_reclaim_mode was disabled, Thanks anyway.
  19. M

    Cached memory

    Hi, Recently, I noticed that most of server memory is "free" in new litespeed servers, we usually have the reminder of the RAM used by kernel as "Cached Memory", with low cached memory, the server I/O usage will increase significantly and it'll lead to hardware issue consequently, Server has...
  20. M

    all Php are run with apache

    please note that "PHP suEXEC" is set to "User's Home Directory Only", but it seems that suEXEC is not working
Top