Subdomain .htaccess not working

July 4, 2014 902 views

Hello.

In the root (var/www/domain.tld) .htaccess working fine but in the subdomain root (var/www/sub.domain.tld) .htacces not working.

What should I do?

1 Answer

Solved.

I change:
DocumentRoot "/var/www/itsweird.net/publichtml" to DocumentRoot "/var/www"
and
<Directory "/var/www/itsweird.net/public
html"> to <Directory "/var/www">

Have another answer? Share your knowledge.