Posts

Showing posts from September, 2023

Unblock the block port in ubntu

sudo lsof -t -i:8000 This command will return a process ID sudo kill -9 565934  

Laravel application's error logs & access tracking individually

Add two lines bottom of the Virtual Host tag. <VirtualHost *:80>     ErrorLog ${APACHE_LOG_DIR}/error_application.log     CustomLog ${APACHE_LOG_DIR}/access_application.log common </VirtualHost> This command is for showing the logs (-n 100 means the last 100 logs) tail -n 100 access_application.log

Fixed: Requested URL Was Not Found on this Server Apache2 Ubuntu

When you install Apache2 on a Linux server. At that time mod_Rewrite module is not enabled by default on apache 2. And of which website or app you run on the server, and you open any url of this, then you see the message “the requested url was not found on this server apache2 ubuntu”. So in the tutorial “the requested url was not found on this server apache2 ubuntu” you will learn how to enable rewrite_module and solve this error. The apache Mod_rewrite is very popular for rewriting human-readable URLs in dynamic websites. This makes the URL’s look cleaner and SEO-friendly on websites. In this tutorial, we will show you how to enable the apache/2.4.5 ubuntu mod_rewrite module and configure it for use .htaccess files available with apache 2 ubuntu web server at port 443, 80. Step 1 – Update dependencies sudo apt-get update If you want to enable mod_rewrite apache in ubuntu. So, you can connect your instance or web server to ssh terminal. And then type a2enmod command to enable any modul