Htaccess and sub domains (or sub folders)

If you have sub domains on same account on which vshare installed, sub domains will not work as .htaccess conflict with sub domains.

The problem can be solved by creating sub domain as its own account with cpanel user name and password. This is possible only if you have WHM (reseller or root access on the server) or installing vshare on a sub folder or sub domain.

You can also do it with the help of .htaccess file.

If your sub domain is

http://gallery.yourdomain.extn

Open .htaccess file

FIND

Code:
RewriteRule ^install/(.*) - [L]
ADD BELOW

Code:
RewriteRule ^gallery$ - [L]
RewriteRule ^gallery/(.*) - [L]

HOWTO