Apache
Apache2 name-based virtual hosting on Debian/Ubuntu
Submitted by webmaster on Wed, 08/27/2008 - 06:35.
Introduction
This tutorial will walk you through the configuration of name-base virtual hosting using Apache2 server in Debian and Ubuntu. The default configuration of Apache server in Debian/Ubuntu is limited only to one website based on your IP Address. We will setup a name-based virtual hosting to have multiple websites using only one machine. After this tutorial, you will have example.com, example.net, and example.org hosted in your computer.
Add password to website using apache web server
Submitted by webmaster on Tue, 06/10/2008 - 04:13.
Adding password to a website or web directory using Apache web server is easy, for CentOS and other RedHat-based distro, edit your /etc/httpd/conf/httpd.conf and find the line AllowOverride None under <Directory "/var/www/html"> and replace with AllowOverride All.
Then after this line Allow from all add these following lines:
AuthName "Login Message Here" AuthType Basic AuthUserFile /var/www/html/htpasswd.users Require valid-user















Recent comments
1 day 21 hours ago
1 week 2 days ago
1 week 3 days ago
2 weeks 1 day ago
4 weeks 4 hours ago
4 weeks 9 hours ago
4 weeks 5 days ago
4 weeks 6 days ago
5 weeks 20 hours ago
5 weeks 1 day ago