# htaccess Çalışmıyor

> Kaynak: https://www.tasarimrehberi.net/htaccess-calismiyor/
> Yazar: Nurettin Sezer
> Yayın: 2022-01-27 · Güncelleme: 2022-01-27

htaccess Çalışmıyor

 

/etc/apache2/apache2.conf

 

<Directory /var/www/>  
Options Indexes FollowSymLinks  
AllowOverride All  
Require all granted  
</Directory>

 

service apache2 restart

 

sudo a2enmod rewrite

 

<Directory /var/www/html>  
AllowOverride All  
</Directory>
