Jump to Navigation

configuration

294 - mod_rewrite mod_alias

1. mod_rewrite

This module uses a rule-based rewriting engine (based on a regular-expression parser) to rewrite requested URLs on the fly. It supports an unlimited number of rules
and an unlimited number of attached rule conditions for each rule, to provide a really flexible and powerful URL manipulation mechanism.
The URL manipulations can depend on various tests, of server variables, environment variables, HTTP headers, or time stamps.
Even external database lookups in various formats can be used to achieve highly granular URL matching.

281 - Create Private CA (Certificate Authority)

For a web-server to be able to accept 'https://' requests, a private/public key-pair (for Apache2 w/ mod_ssl) needs to be generated
and stored in the proper location(s). To create a self-signed private/public 1024 bit key-pair that will be valid for 365 days...

1. Create a private CA

277 - Configure Apache Reverse Proxy Server

Apache can be configured in both a forward and reverse proxy (also known as gateway) mode.

A reverse proxy (or gateway) appears to the client just like an ordinary web server.
No special configuration on the client is necessary. The client makes ordinary requests for content in the name-space of the reverse proxy.
The reverse proxy then decides where to send those requests, and returns the content as if it was itself the origin.

275 - Apache 301 How to redirect

Search engines consider http://mydomain.com and http://www.mydomain.com different websites.
As a result, if your website has been linked to from other websites using a mix of the two URLs you are effectively
splitting the potential benefit of valuable link popularity.

253 - How to install Apache Solr 3.6 for Drupal 7

Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project.
Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering,
database integration, rich document (e.g., Word, PDF) handling, and geospatial search. Solr is highly
scalable, providing distributed search and index replication, and it powers the search and navigation
features of many of the world's largest internet sites.

1. Install Java

drupal:

230 - nagios statuswrl.cgi problem

When I click the "3-D Status Map" link in nagios web UI, the browser tries to download and save the statuswrl.cgi file.

This will happen if you do not have a VRML client / plugin installed for your web browser.
Installing a VRML plugin should resolve this issue.

The folowing plug-in is good for a windows client.

http://www.cortona3d.com/Products/Viewer/Cortona-3D-Viewer.aspx

223 - java.lang.OutOfMemoryError (Tomcat)

You ran out of memory and GC stands for Garbage Collector. If your garbage collector is spending too much time freeing memory
because of a memory shortage, you'll get this error.

* java.lang.OutOfMemoryError: GC overhead limit exceeded

To solve this issue :

Edit the file /usr/local/apache-tomcat-6.0.26/bin/catalina.sh and alter the following line, substituting for the desired values.

217 - mod_ossl: Child could not open SSLMutex lockfile

Intermittently, over a period of several days or weeks, HTTP Server will suddenly lock up - neither processing connections, nor rejecting them. 
The error_log may contain thousands (typically one per user click) of the following entries :

190 - How to do Password Protect for awstats

awstats does not have a functionality on like login password protection.
You could configure that on the Apache Server. The following sample is that you installed awstats in the custom directory.

1. awstats URL

http://mywebsite/awstats/awstats.pl?config=mywebsite

2. Register a user for Apache Server

140 - Tomcat Installation on RedHat OS

1. Installation

# yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps

* tomcat5 root directory :  /usr/share/tomcat5

All directory should be symbolic links

Pages

Subscribe to RSS - configuration


Main menu 2

by Dr. Radut