It is currently Sun Dec 22, 2024 12:41 pm

News News of Lik`s forum

Site map of Lik`s forum » Forum : Lik`s forum

cPanel/WHM/OpenVZ/Xen/Linux/IPMI Lik`s forum

Translate .htaccess Content to IIS web.config

http://learn.iis.net/page.aspx/557/tran ... webconfig/


Introduction

Many PHP applications are distributed with configuration files for the Apache Web server. These configuration files (usually called .htaccess files) contain a number of settings that can be used for integrating the application with the capabilities of the Web server.

IIS 7 uses a file called Web.config to hold settings for integration with applications. The Web.config file contains information that control module loading, security configuration, ...
Read more : Translate .htaccess Content to IIS web.config | Views : 3285 | Replies : 0 | Forum : Interesting links


Customize Apache2 Mod_Bwlimited Module Error Message

First, Login to your server through ssh and backup the following files, just in case you need to restore them later.

Code: Select all
/home/cpeasyapache/src/mod_bwlimited.c
/usr/local/apache/modules/mod_bwlimited.so


To make a backup of these files, execute the following commands.
Code: Select all
cp -Rpf /home/cpeasyapache/src/mod_bwlimited.c /home/cpeasyapache/src/mod_bwlimited.c.bak
cp -Rpf /usr/local/apache/modules/mod_bwlimited.so /usr/local/apache/modules/mod_bwlimited.so.bak


Now that we have the backups, it’s time to modify the mod_bwlimited.c file.

Go to the cpeasyapache source directory.

Code: Select all
cd /home/cpeasyapache/src


Open the mod_bwlimited.c using your favorite ...
Read more : Customize Apache2 Mod_Bwlimited Module Error Message | Views : 2248 | Replies : 0 | Forum : Server Side Actions


Adaptec RAID controller monitoring

Download the Storage Manager RPM for your card model and architecture from the official site http://www.adaptec.com/en-US/support/raid/.
If you run /usr/StorMan/arcconf and get this error:
./arcconf: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

You need to preload additional library:
Code: Select all
export LD_PRELOAD="/usr/StorMan/libstdc++.so.5"

Help information can be obtained with the help of the following command:
Code: Select all
/usr/StorMan/arcconf

| UCLI | Adaptec uniform command line interface
| UCLI | ...
Read more : Adaptec RAID controller monitoring | Views : 8587 | Replies : 1 | Forum : Linux specific




This RRD was created on another architecture

When you want to copy/move from one platform to another, you can use
"rrdtool dump" to convert them to a portable XML format, then "rrdtool
restore" to restore them to a binary format appropriate for the
localhost.

See "man rrddump" and "man rrdrestore" for details.

Code: Select all
for i in *.rrd; do rrdtool dump $i > `basename $i .rrd`.xml; done
for i in *.xml; do rrdtool restore $i `basename $i .xml`.rrd;done

or use find if you ...
Read more : This RRD was created on another architecture | Views : 2599 | Replies : 0 | Forum : Server Side Actions


RIP Timers

RIP Timers

In addition to the update timer (default 30 sec), the IOS implements three additional timers for RIP:
Invalid
Flush
Holddown

Invalid Timer. If an update has not been received to refresh an existing route after 180 seconds (the default), the route is marked as invalid by setting the metric to 16. The route is retained in the routing table until the flush timer expires.

Flush Timer. By default, the flush timer is set ...
Read more : RIP Timers | Views : 4696 | Replies : 0 | Forum : Cisco tips


Default administrative distance (AD) values

Default administrative distance values
Read more : Default administrative distance (AD) values | Views : 2735 | Replies : 0 | Forum : Cisco tips


Routing Table Principles

Let's introduce three routing table principles, as described by Alex Zinin in his book, Cisco IP Routing.

Principle 1:
"Every router makes its decision alone, based on the information it has in its own routing table."
Principle 2: "The fact that one router has certain information in its routing table does not mean that other routers have the same information."
Principle 3: "Routing information about a path from one network to another does not ...
Read more : Routing Table Principles | Views : 5293 | Replies : 0 | Forum : Cisco tips


Disabling CDP

If you need to disable CDP globally, for the entire device, use this command:

Router(config)#no cdp run

If you want to use CDP but need to stop CDP advertisements on a particular interface, use this command:

Router(config-if)#no cdp enable
Read more : Disabling CDP | Views : 2316 | Replies : 0 | Forum : Cisco tips


Unsolicited Messages from IOS

The IOS often sends unsolicited messages similar to the changed state to up messages. The IOS message does not affect the command, but it can cause you to lose your place when typing.

Logging Synchronous

In order to keep the unsolicited output separate from your input, enter line configuration mode for the consoled port and add the logging synchronous command, as shown. You will see that messages returned by IOS no longer interfere with your ...
Read more : Unsolicited Messages from IOS | Views : 3179 | Replies : 0 | Forum : Cisco tips


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22

cron