Apache and Node.js on the Same Server

Great question! There are many websites and free web apps implemented in PHP that run on Apache, lots of people use it so you can mash up something pretty easy and besides, its a no-brainer way of serving static content. Node is fast, powerful, elegant, and a sexy tool with the raw power of V8 … Read more

How to enable mod_rewrite for Apache 2.2

In order to use mod_rewrite you can type the following command in the terminal: sudo a2enmod rewrite Restart apache2 after sudo /etc/init.d/apache2 restart or sudo service apache2 restart or as per new unified System Control Way sudo systemctl restart apache2 Then, if you’d like, you can use the following .htaccess file. <IfModule mod_rewrite.c> RewriteEngine On … Read more

Error message “Forbidden You don’t have permission to access / on this server” [closed]

Update October 2016 4 years ago, since this answer is used as a reference by many, and while I learned a lot from security perspective during these years, I feel I am responsible to clarify some important notes, and I’ve update my answer accordingly. The original answer is correct but not safe for some production … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)