The objective is to disable the HTTP methods other than GET and POST (such as PUT, DELETE etc.) in a WebLogic Server domain. We can restrict the access to HTTP methods such as PUT or DELETE using security constraints in the <application_name>/WEB-INF/web.xml: <security-constraint> <display-name>Constraint-0</display-name> <web-resource-collection> <web-resource-name>mytest</web-resource-name> <description>Test</description> <url-pattern>/*</url-pattern> <http-method>PUT</http-method> <http-method>DELETE</http-method> </web-resource-collection> <auth-constraint> <role-name>NONE</role-name> </auth-constraint> <user-data-constraint> […]
Apache
PHPMyAdmin :: Existing configuration file (./config.inc.php) is not readable
The Problem I have just installed LAMP on my CentOS machine and while trying to access phpMyadmin thorugh cPanel, get below error: Existing configuration file (./config.inc.php) is not readable. The Solution The above error is due to the misconfiguration of permissions of the phpMyAdmin configuration file – /usr/local/cpanel/base/3rdparty/phpMyAdmin. Follow the steps outlined below in order […]
How to Increase the File Download Size Limit in Apache
The Problem You may encounter a request to increase the file download size limit in Apache server. Attempting to call a URL to upload a file, the following error occurs in Browser: ERROR Request entity too large. Request exceeds the capacity limit Apache error_log has the following error: Request content-length of 294135 is larger than […]