Posts

Showing posts from September, 2018

Apache Http Server Configuration using httpd.conf

Hi, I am Malathi Boggavarapu working at Volvo Group and i live in Gothenburg, Sweden. I have been working on Java since several years and had vast experience and knowledge across various technologies. In this post, we discuss about various options that are available in Apache Http server configuration file httpd.conf. ServerTokens ServerTokens Prod - Server sends (ex, ): Server: Apache ServerTokens Major - Server sends (ex, ): Server: Apache/2 ServerTokens Minor - Server sends (ex, ): Server: Apache/2.0 ServerTokens Min - Server sends (ex, ): Server: Apache/2.0.41 ServerTokens OS - Server sends (ex, ): Server: Apache/2.0.41 (Unix) ServerTokens Full (or not specified) - Server sends (ex, ): Server: Apache/2.0.41 (Unix) PHP/4.2.2 MyMod/1.3 ServerRoot - Root directory of Apache http server PidFile - [Run time directory]/httpd.pid - The file in which the Server should record its Process identification number when it starts. Timeout - 60 - The number of

Working with Linux command line

Hi, I am Malathi Boggavarapu working at Volvo Group and i live in Gothenburg, Sweden. I have been working on Java since several years and had vast experience and knowledge across various technologies. This post explain different commands used in Linux environment. I use Cygwin to interact with Linux server remotly and access and process different files over there. Let's get started. ssh [remote_server_ip_address] - Connect to the remote server. scp -r  xxx.pl  user@127.0.0.0:/tmp - Connects to the remote server with specified IP address with user and copy the file xxx.pl to the folder tmp on remote server. scp -vp user@127.0.0.0:/var/logs/audit\* /cygdrive/c/logs/auditlogs - Connects to the remote linux server with specified IP address as user and copy all the files from the folder /var/logs/audit to the destination windows folder c/logs/auditlogs . As i was working with Cygwin to connect to remote linux server, the destination folder should be prece