Sunday, October 20, 2013

Forbidden error before installing drupal

Before starting Drupal installation, if we type http://localhost/sitename in the adress bar and hit enter, sometimes we may get Forbidden error. This happens mostly on Linux boxes.

Cause    : Permissions
Solution : 

  1. sudo chmod -R 777 /var/www/
  2. sudo chmod 777 /var/www/sitename/sites/default/files

If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

No comments:
Write comments