How to disable Case Sensitivity in Apache?
Apache is case sensitive. When you application is hosted in case-insensitive webserver(like IIS) and moved to case-sensitive webserver (like Apache) you may get some problems related to non availability of URLS(HTTP 404 error). Apach provides a module which helps to make URLs case-insensitive.
Open httpd.conf(your apache configuration file) and find out the below line
LoadModule speling_module modules/mod_speling.so
If the above module is avilable with your apache, turn on the CheckSpelling directive
How to monitor Apache server status?
There is a built in module mod_status available in apache which helps to get server status from a web browser
To monitor Apache webserver,
Open httpd.conf(Placed at <Apache Install Dir>/conf/httpd.conf)
Set the Location directive as below. It will alow only from 18.104.22.168
Deny from all
Allow from 22.214.171.124
Set ExtendendStatus to on
Save the httpd.conf and restart the webserver
Now you can monitor your apache webserver with http://servername/server-status from 126.96.36.199 browser
How to know whether a library is built on 32-bit or 64-bit?
Type below command at shell
The output of above command is,
/usr/local/apache2.2.11/lib/libapr-1.so.0.3.3: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
The output tells that the libapr-1.so.0.3.3 file is built on 32-bit machines