Check hits for single page from apache logs
#grep -roh contentname path for logs file | wc -w
A Pandit of Server Tech
#grep -roh contentname path for logs file | wc -w
If you have new website and you want to redirect that website to another domain url you need to add the virtual conf in apache configuration file and reload the … Continue Reading →
In .htaccess you need to add the below content and say the file. Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yeswedo\.in RewriteRule ^(.*)$ http://www.yeswedo.in$1 [R=permanent,L] Note: Be sure that … Continue Reading →
Q: – What is location of log files for Apache server ? Ans- /var/log/httpd Q: – What are the types of virtual hosts ? Ans- a. name-based b. IP-based. Name-based … Continue Reading →