How to enable .htaccess in Apache HTTP server

.htaccess A .htaccess file is a directory-level configuration file for Apache HTTP server, which allows one to override the web server’s system-wide settings without modifying the global configuration file (e.g., httpd.conf or apache2.conf). Things like per-directory access control, password protection, URL redirection or hotlink prevention can be configured in the .htaccess file. You should avoid using file.htaccess completely if you have […]

Running several name-based web sites on a single IP address.

If your server has multiple hostnames that resolve to a single address, and you want to respond differently for www.example.com and www.example.org. Creating virtual host configurations on your Apache server does not magically cause DNS entries to be created for those hostnames. You must have the names in DNS, resolving to your IP address, or nobody else will be able to see your website. You […]