htaccess working with apache but not with litespeed

#1
Hi,

I know there are too many post about this topic that i've read most of them but cant solve problem. Using litespeed enterprise (trial) / cpanel, eveything is up to date.
Simply htaccess file is not working / recognized by litespeed. It works fine when i swith to apache but not with litespeed.

I've checked working rules with apache also failed it on purpose both is responsive. It seems like litespeed does not care if there is an htaccess file or not

Can someone point me to right direction ?
 
#3
Hey @Unique_Eric

There are bunch of;

Apache config:
<Directory "/">

      AllowOverride All

    Options ExecCGI FollowSymLinks IncludesNOEXEC Indexes
</Directory>
Apache config:
<VirtualHost 127.0.0.1:80>
    ServerName ws.serverdomain.com
    DocumentRoot /var/www/html
    ServerAdmin admin@serverdomain.com


    <Directory "/">
      AllowOverride All
    </Directory>


    <IfModule suphp_module>
        suPHP_UserGroup nobody nobody
    </IfModule>

</VirtualHost>
Apache config:
<VirtualHost server_ip:80>
    ServerName ws.serverdomain.com
    DocumentRoot /var/www/html
    ServerAdmin admin@serverdomain.com


    <Directory "/">
      AllowOverride All
    </Directory>


    <IfModule suphp_module>
        suPHP_UserGroup nobody nobody
    </IfModule>

</VirtualHost>
Apache config:
<VirtualHost *>
    ServerName ws.serverdomain.com
    DocumentRoot /var/www/html
    ServerAdmin admin@serverdomain.com


    <Directory "/">
      AllowOverride All
    </Directory>


    <IfModule suphp_module>
        suPHP_UserGroup nobody nobody
    </IfModule>

</VirtualHost>
Apache config:
<VirtualHost 127.0.0.1:443 server_ip:443 *:443>
    ServerName ws.serverdomain.com
    DocumentRoot /var/www/html

    ServerAdmin admin@serverdomain.com
    <IfModule suphp_module>
        suPHP_UserGroup nobody nobody
    </IfModule>
    <Directory "/">
        AllowOverride All
    </Directory>
Also there is one AllowOverride None required by cpanel
 
#8
Well i've fixed it using a primitive method. Fix is not right word i guess since all i do is terminating account which has been created before installing litespeed and re-create account.

Litespeed was running before re-creating account i dont know if it has anything to do with problem.

But i still dont know what caused the problem. I'd be very happy to find it cuz i've another server which has over 300 accounts running without litespeed and i'm planing to change that too. I can not terminate and re-create 300+ accounts :)

Dropping this reply here in case if anyone has same problem and did not try terminating account and re-creating account.

Server details :
whm & cpanel latest on centos 6.9
litespeed enterprise latest (trial)
csf (just in case)
apache 2.4

Regards.
 
Top