In windows : httpd.conf
In Ubuntu : apache2.conf
Apache path : /etc/apache2
- contains httpd.conf, apache2.conf
Apache service path : /etc/init.d/apache2root path : /var/www
1. Create a file phpinfo.php with:
<?php phpinfo();?>
http://localhost/phpinfo.php
'Loaded Modules', should contain 'mod_rewrite'.
If no, enable it in your apache configurationv : $ sudo a2enmod rewrite
2. Add these lines: /etc/apache2/httpd.conf
<Directory "/var/www/Drupal_Directory">
AllowOverride All
</Directory>
<?php phpinfo();?>
http://localhost/phpinfo.php
'Loaded Modules', should contain 'mod_rewrite'.
If no, enable it in your apache configurationv : $ sudo a2enmod rewrite
2. Add these lines: /etc/apache2/httpd.conf
<Directory "/var/www/Drupal_Directory">
AllowOverride All
</Directory>
No hay comentarios:
Publicar un comentario