HostOnNet Blog

Category Archives: Apache

Page isn’t working. Currently unable to handle this Request.

Installed vShare server requirements and vShare script on Centos 7 server. After installation, website showed the following error: This page isn’t working sitename is currently unable to handle this request. So checked apache errors at /var/log/httpd.error_log I fixed it by


How to create MYSQL database using PhpMyAdmin in localhost

I was planning to develop a tourism website on WordPress. As a first step, I installed LAMP on my PC in which I am using Ubuntu 16.04. Then I installed PhpMyAdmin on my computer by following this tutorial. Then started


Apache Directory Listing

To enable Directory Listing in Apache, add following to .htaccess file. if you want to do this in httpd.conf file, in your virtual host entry, add something like


Enable htaccess in Apache

To verify mod_rewrite is enabled in your Apache server, run On CentOS On Debian/Ubuntu If the command shows “rewrite_module”, you have rewrite module enabled on your Apache server. On CentOS servers, rewrite module is enabled by default. On Ubuntu/Debian, you


Redirect OLD domain to NEW using .htaccess

When you move your web site form one domain to another, you need to redirect all visitors on your old domain to new one to avoid lose of traffic. Google recommend using 301 redirect when you change URL of a


Blocking Traffic With Apache GeoIP Module

To install GeoIP module in CentOS Apache server, run Now verify mod_geoip installed in apache by running Example [root@3blogger ~]# httpd -M | grep geoip geoip_module (shared) [root@3blogger ~]# Now edit /etc/httpd/conf/httpd.conf add following In your Apache VirtualHost, add This


Managing users with Apache htpasswd

htpasswd is used to create and update the flat-files used to store usernames and password for basic authentication of HTTP users. On Ubuntu server, you can install htpasswd with command To create a password file and add user, run In


Configuring SSL site in Ubuntu Server

Create file Add following content Enable the web site Enable Apache SSL module if not already enabled Restart Apache You can verify SSL module enabled by running Now web site will work with SSL certificate.


Apache Optimization

Configuring SSL site in Ubuntu Server Enable SSL in Apache VirtualHost php-fpm Blocking Traffic With Apache GeoIP Module CentOS 7 Apache Error AH01630: client denied by server configuration Enable htaccess (Rewrite Module) in Apache Apache Configuration Apache Directory Listing Apache


Windows could not start the Apache2 on Local Computer

Some of the local sites on my pc is not working. When i tried to access, its showing like Unable to connect Firefox can’t establish a connection to the server at hostonnet.co. The site could be temporarily unavailable or too