Kurinchi Blogger Scribbles …


Posts Tagged ‘linux tricks’

Jan 08
2009

How to find if mod_rewrite is enabled in Apache server?

Last updated: January 8th, 2009

Different hosting locations have different settings for mod_rewrrite module. In some locations it is turned ON by default and for some it isn’t.

If you are hosting your application in your local host or on a dedicated server, then it is a matter of editing httpd.conf file within Apache server folder. Ensure that (more…)

Dec 24
2008

Apache Server – Where to set folders, files for hosting applications?

Last updated: December 24th, 2008

There will be a link in httpd.conf file stating the document root where all our web application files need to reside though there can be symbolic links pointing to other locations.

[root@user Desktop]# vi /etc/httpd/conf/httpd.conf
……….
……….
DocumenRoot “/var/www/html”
……….
……….

Based on the configuration setting, we need to identify the location where we need to create folders that will serve as the root for the applications that we would want to host.

Dec 24
2008

Apache server installation on CentOS, RedHat Linux

Last updated: December 24th, 2008

Apache web server referred to as simply Apache is a public-domain open source Web server developed by open community of developers. The application is designed to run on a wide variety of operating systems like Unix, FreeBSD, Linux, Mac OS X, OS/2. Visit http://www.apache.org for more details.

In your terminal, issue the following command (by default, httpd is installed). This will install apache if it was not installed. (more…)

Dec 11
2008

How to create shortcuts in Linux?

Last updated: December 11th, 2008

SciTE is one of the IDE’s available under Freeware category in the market for PHP/ASP/Ruby/++ scripting. I have used that as an example to answer the above question.

Once the software is downloaded and configured in your system, you might want to create a shortcut for that application in the desktop. Creating a symbolic link would help you in that.

[root@user Desktop]# ln -s /usr/local/bin/SciTE $HOME/Desktop/scite

i.e.

[root@user Desktop]# ln -s [path-to-executable-file] [TARGET-location-where-shortcut-is-to-be-created]


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict