How to configure Apache

xiaoxiao2021-03-06  78

Ÿ

1. Modify the parameter settings in the httpd.conf file (equivalent to Web sharing)

(Sun) /etc/apache/httpd.conf

(HP) /opt/apache/httpd.conf

Set DocumentRoot, Alias ​​and Scriptalias

You need to restart Apache after modifying the parameter configuration.

Round file name and path:

(Sun) / usr / apache / bin

(HP) / OPT / Apache / bin

Apachectl.exe

Ÿ About the LINK directory

(For security, it is not allowed to directly modify the directory and files in the installation directory)

ln -s a b

Among them, A is the source directory name, b is the directory name of the link.

The directory of the WebClient link is (HP and Sun) in the PostInstall script.

Ÿ ÿ 内容 内容

Comclient: Comclient, Icon, and Help files.

Imode: Imode CGI

WebClient: Common CGI.

Ÿ About resources

(Sun)

(Jp) / usr / openwin / lib / local / ja / app-defaults

(C) / usr / openwin / lib / local / c / app-defaults

(HP)

(Jp) /usr/lib/x11/ja_jp.eucjp/app-defaults

(C) / usr / lib / x11 / app-defaults

Ÿ Location of the two configuration programs

CGiconfig: / usr / local / webclientr11_1 / cfg

Ceditor: / usr / local / WebClientr11_1 / Comclient

Ÿ linux installation

1 SWAP partition, the size is equivalent to memory;

1 EXT2 partition;

The above two add together 4G partition; and the version before installation 7.1 needs to be loaded in the first 8g partition.

Install OpenMotif (two Tools to use)

GCC (Redhat comes)

KDevelop (C )

AutoConfig and Automake Tools

Uname -All can get the version number.

Ÿ Debug CGI

UX can be used on UX

LOG information;

GDB or DBX

1. Make - f Mk Capt (where -f specifies the compilation file, MK is compiled; the default compilation file is madefile; CAPT is compiled)

2. CP CGI -> In the Run Directory, you can describe the previously running environment and results by running the build .env file so that Debug is

3. Make -f mk debug generates a Debug version of the CGI program.

4. Place the DEBUG version of the CGI and .env files, you can debug.

转载请注明原文地址:https://www.9cbs.com/read-91483.html

New Post(0)