https://techglimpse.com For all your Tech Needs! Mon, 04 Sep 2023 11:53:23 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.6 No space left on device: Couldn’t create the rewrite-map mutex: Configuration Failed [Apache] https://techglimpse.com/restarting-apache-error-couldnot-create-rewrite-map-mutex/ https://techglimpse.com/restarting-apache-error-couldnot-create-rewrite-map-mutex/#respond Mon, 04 Sep 2023 11:51:01 +0000 https://techglimpse.com/?post_type=ht_kb&p=43559 Since my webserver (apache) wasn’t responding, I restarted the apache service. Most of the time restarting works, this time it didn’t! The error message was “No space left on device: Couldn’t create the rewrite-map mutex: Configuration Failed”. Let’s try to diagnose the issue and find the solution. Analyse why Apache restart...

The post No space left on device: Couldn’t create the rewrite-map mutex: Configuration Failed [Apache] appeared first on Techglimpse.

]]>
0
Configure Apache for WebSockets using Reverse Proxy https://techglimpse.com/configure-apache-for-websockets-using-reverse-proxy/ https://techglimpse.com/configure-apache-for-websockets-using-reverse-proxy/#respond Tue, 29 Mar 2022 05:28:50 +0000 https://techglimpse.com/?post_type=ht_kb&p=43192 I used WebSockify in my web application to connect to the VNC server using noVNC to enable remote access to Linux servers via the browser. It was an easy implementation as there was no firewall involved and the WebSocket port was opened. However, recently I had to migrate to another...

The post Configure Apache for WebSockets using Reverse Proxy appeared first on Techglimpse.

]]>
0
SELinux: Cannot write into “Config” directory! [OwnCloud] https://techglimpse.com/selinux-cannot-write-into-config-directory-owncloud/ https://techglimpse.com/selinux-cannot-write-into-config-directory-owncloud/#comments Tue, 15 Mar 2022 06:13:29 +0000 https://techglimpse.com/?post_type=ht_kb&p=43162 I installed owncloud with all the necessary pre-requisites and when tried to access over the browser encountered error: Cannot write into "Config" directory! Below is the complete error list. How to fix Cannot write into “Config” directory! [OwnCloud] The error above clearly conveys that, the webserver is unable to write...

The post SELinux: Cannot write into “Config” directory! [OwnCloud] appeared first on Techglimpse.

]]>
1
How to stop Apache mod_rewrite log message [Apache] https://techglimpse.com/stop-apache-mod_rewrite-log-message/ https://techglimpse.com/stop-apache-mod_rewrite-log-message/#respond Fri, 03 Dec 2021 08:48:45 +0000 https://techglimpse.com/?post_type=ht_kb&p=42641 I had written a few rewrite rules to disable HTTP TRACE and TRACK as part of VAPT. When looking at the httpd logs, a dozen of [rewrite:trace3] warning messages are logged per request and the actual error messages were lost. Below are the warning message snippets. This article will show...

The post How to stop Apache mod_rewrite log message [Apache] appeared first on Techglimpse.

]]>
0
How to Enable HSTS (HTTP Strict Transport Security) Policy in Nginx & Apache https://techglimpse.com/enable-hsts-nginx-apache-vapt-security/ https://techglimpse.com/enable-hsts-nginx-apache-vapt-security/#respond Fri, 26 Nov 2021 07:26:39 +0000 https://techglimpse.com/?post_type=ht_kb&p=42622 According to Netcraft’s study, 95% of HTTPS servers are vulnerable to Man-in-the-Middle attacks. Therefore, it is very important to implement HSTS properly. HSTS (HTTP Strict Transport Security) is a policy that protects websites against malicious attacks such as clickjacking, protocol downgrades, and man-in-the-middle attacks as explained in my earlier article....

The post How to Enable HSTS (HTTP Strict Transport Security) Policy in Nginx & Apache appeared first on Techglimpse.

]]>
0
How to disable HTTP TRACE/TRACK methods in APACHE https://techglimpse.com/http-trace-track-methods-disable-web-server-apache/ https://techglimpse.com/http-trace-track-methods-disable-web-server-apache/#respond Fri, 26 Nov 2021 07:11:05 +0000 https://techglimpse.com/?post_type=ht_kb&p=42613 VAPT testing by the security experts group suggested disabling HTTP TRACE/TRACK methods. TRACE and TRACK are HTTP methods that are used to debug web server connections. An attacker can create a webpage using XMLHTTP, ActiveX, or XMLDOM to make a client issue a TRACE request and capture the client’s cookies....

The post How to disable HTTP TRACE/TRACK methods in APACHE appeared first on Techglimpse.

]]>
0
Hide Apache and PHP versions from HTTP Headers https://techglimpse.com/hide-apache-php-versions-http-headers/ https://techglimpse.com/hide-apache-php-versions-http-headers/#respond Thu, 25 Nov 2021 07:39:23 +0000 https://techglimpse.com/?post_type=ht_kb&p=42608 Website security is the most important and critical component of web hosting and revealing Apache and PHP versions on the HTTP header helps hackers to attack your web server using version-specific security breaches. Earlier I had written an article on How to hide Nginx and PHP versions in the HTTP...

The post Hide Apache and PHP versions from HTTP Headers appeared first on Techglimpse.

]]>
0
Failed to open stream: Permission denied [Apache] https://techglimpse.com/failed-open-stream-permission-denied-apache/ https://techglimpse.com/failed-open-stream-permission-denied-apache/#respond Wed, 24 Nov 2021 10:05:33 +0000 https://techglimpse.com/?post_type=ht_kb&p=42586 Moved my local development files to the server after setting up Apache, PHP, and MySQL on my CentOS 7. When I tried to access one of the pages, noticed a “Failed to open stream: Permission denied” warning message in the error_log file. Below is the complete warning message: [Wed Nov...

The post Failed to open stream: Permission denied [Apache] appeared first on Techglimpse.

]]>
0
RewriteCond: NoCase option for non-regex pattern ‘-f’ is not supported [htaccess] https://techglimpse.com/rewritecond-nocase-warning-htaccess/ https://techglimpse.com/rewritecond-nocase-warning-htaccess/#comments Wed, 17 Nov 2021 11:38:55 +0000 https://techglimpse.com/?post_type=ht_kb&p=42582 After removing the .php extension from the URLs, I ended up seeing a warning “RewriteCond: NoCase option for non-regex pattern ‘-f’ is not supported and will be ignored” in the Apache error log. Below is the complete error message. [Wed Nov 17 09:34:36.521614 2021] [rewrite:warn] [pid 9311] AH00665: RewriteCond: NoCase...

The post RewriteCond: NoCase option for non-regex pattern ‘-f’ is not supported [htaccess] appeared first on Techglimpse.

]]>
1
[CentOS 7 Apache]: Permission denied: file permissions deny server access https://techglimpse.com/apache-webserver-permission-denied-error/ https://techglimpse.com/apache-webserver-permission-denied-error/#respond Fri, 12 Nov 2021 07:08:47 +0000 https://techglimpse.com/?post_type=ht_kb&p=42572 Whenever I configure Apache on CentOS 7, most of the time I get “(13) Permission denied: file permissions deny server access” error as below: [Fri Nov 12 06:29:24.901157 2021] [core:error] [pid 8287] (13)Permission denied: [client 192.168.10.12:15979] AH00132: file permissions deny server access: /var/www/html/admin/images/logo.png How to fix file permissions deny server...

The post [CentOS 7 Apache]: Permission denied: file permissions deny server access appeared first on Techglimpse.

]]>
0