php server için ubuntu 20.04 içine apache2 kurdum fakat .htaccess dosyamı görmüyor internetten araştırma yapınca
 /etc/apache2/apache2.conf 
dizininde
<Directory /var/www/>    
Options Indexes FollowSymLinks    
AllowOverride All    
Require all granted </Directory>
olarak değiştirince sorun düzeliyor fakat ben yapınca bu sefer sunucu http 500 hatası veriyor