Bonsoir !
Voila j’ai un petit souci avec script cgi cc_whois, dans ça configuration tout va bien.
- mon whois.conf n’existe pas dans etc/whois.conf
- chemin whois usr/bin/whois j’ai fait ps aux mais je ne le trouve pas dans la liste
Comment le démarrer.
Merci.
Voici le fichier cc_whois
[quote]#!/usr/bin/perl
####################################################################
FILENAME - “cc_whois.cgi”
####################################################################
CGI CITY’S CC WHOIS
Copyright © 1998-2099 - CGI City - All rights reserved
Author: Peter N. Go - cgicity@icthus.net
This program may be used for free on non-commercial and
non-profit web sites. Usage of the program on commercial
sites require a small registration fee of $15. Registration
information is found within the “installation.html” file.
####################################################################
DISCLAIMER:
In no event will CGI City be liable to the user of this script
or any third party for any damages, including any lost profits,
lost savings or other incidental, consequential or special
damages arising out of the operation of or inability to operate
this script, even if user has been advised of the possibility
of such damages.
####################################################################
INSTRUCTIONS:
1. Modify the first line of this file to point correctly
to your server’s Perl interpreter.
2. Assign the variables below (1-6).
3. Upload to your cgi-bin directory and chmod to 755.
4. View the INSTALLATION.HTML file for more information.
####################################################################
###########################################
ASSIGN THE FOLLOWING VARIABLES (1-6)
###########################################
#########
1. DECLARE THE URL TO YOUR COPY OF CC_WHOIS.CGI.
#########
$me = “http://xxxxxxxxx/cgi-bin/cc_whois.cgi”;
#########
2. INDICATE THE PATH TO YOUR SERVER’S WHOIS PROGRAM.
YOU CAN DETERMINE THIS BY TYPING “which whois” AT THE TELNET PROMPT.
#########
$which_whois = “/usr/bin/whois” ;
#########
3. ASSIGN A NAME OR TITLE FOR YOUR WHOIS PAGE.
#########
$pagetitle = “” ;
#########
4. ASSIGN THE NECESSARY SPECIFICATIONS FOR THE TAG OF THE
CGI-GENERATED PAGES. ALL QUOTATION MARKS MUST BE PRECEDED BY A
BACKSLASH LIKE THIS: "
#########
$bodyspecs = " BGCOLOR="#171c20" TEXT="#bed7e6" LINK="#018BC1" VLINK="#00FF00" ALINK="#FF0000\ ";
##########
5. IF YOU ARE USING A BACKGROUND IMAGE FOR YOUR “GOODBYE” PAGE,
PLACE THE FULL URL HERE.
##########
$bgdimage = “http://xxxxxxxxxxxx/images/body_top_bckg.jpg”;
##########
6. ASSIGN THE DOMAINS AND IPs YOU WISH TO ALLOW PERMISSION TO RUN THE
CC WHOIS PROGRAM. ANY DOMAIN/IP NOT LISTED IN THE ARRAY WILL GET AN ERROR.
ENCLOSE EACH DOMAIN/IP IN AN OPEN AND CLOSE QUOTE; SEPARATE EACH WITH A COMMA.
##########
@referers=(“internic.net”,“psi-usa.info”,“whois.networksolutions.com”,“whois.afilias.net”,);
[/quote]