|
To use AEVCGI for correct processing of your web forms you
need to tune it up. You should edit AEVCGI.INI file. You may use any text editor
e.g. Notepad for this operation. The syntax should comply following
rules:
- parameter name entered without indentation -
parameter name and parameter value divided with '=' sign - '#' sign always
anticipates comment
Every parameter is extremely important for the script to
work correctly. Please, be careful when you edit the configuration file.
AEVCGI.INI must be placed in the same directory as AEVCGI.EXE or
AEV.DLL, depending on which one you use.
Sample AEVCGI.INI content:
Referers allows forms to be located only on servers which are defined in
this field. It is forbidden for anyone on to use the AEVCGI script on their web site. Without correct referers
you will get an error message like: 403 Forbidden.
referers = www.yourdomain.xxx, yourdomain.xxx, 255.255.255.255
Domain server 1 The primary DNS-server can be preset both as a domain
name or IP-address. You should use the same DNS server as that used for the
AEVCGI script is running on. If you administer the server with AEVCGI running on
it, you can determine the DNS-servers yourself with the IPCONFIG utility using
the key /ALL (Windows NT), or WINIPCFG utility (Windows 95/98). These utilities
are included with the OS.
Attention! If you are
using a virtual web host or do not have your own physical web server, you should
use the DNS server of your web host. To do this, you may use our Advanced
Administrative Tools module Whois. Enter your Web site name in "Host name or
IP" box (e.g., www.glocksoft.com) and press Start button. In the window at right
side you will see the stroke "Domain servers in listed order:", where the
desired DNS servers will be listed.
dns1 = ns1.yourdamain.xxx
Domain server 2 The additional DNS server. May be preset both as a
domain name or IP-address. Use only if the first DNS-server does not answer to
queries.
dns2 = ns2.yourdamain.xxx
Connection Timeout in second This field contains information about the
time needs to wait the answer from SMTP, in seconds, i.e. if during the given
period from SMTP has not sent any answer, the program will terminate the
connection to it and will mark it as connection broken by Timeout.
TimeOut = 30
Mail From E-mail address which is used in the search field «MAIL FROM»
for a mail server. It is recommended that you use a valid address. Otherwise,
servers with high levels of security may refuse to work with you.
MailFrom = verify@email.com
Domain for Helo When you send e-mail, the recipient's SMTP server asks
for your domain name. It is recommended that you use your real domain. If the
domain is not specified, the program will try to determine your domain itself.
If it cannot be done for some reason, the domain name "localhost" is used. The
use of somebody else's domain or localhost alias is allowed but not recommended
- servers with high levels of security may refuse to work with you.
Helo = yourdomain.xxx
Note: Any person known to be a spammer has e-mail address on a blacklist.
Many SMTP servers rely on that blacklist to refuse relaying messages from
spammers. So, make sure your e-mail address/domain is not banned as a spammer,
otherwise many SMTPs will refuse your connection. You also will be unable to
validate the addresses that belongs to the banned SMTP server.
Field Name in your Web Form, contains e-mail address
EmailFieldName = email
Redirect URL if e-mail address is not valid
BadEmailRedirectUrl = http://www.yourdomain.xxx/oops.htm
Redirect URL with your script for further address processing if e-mail
exists
GoodEmailRedirectUrl = http://www.yourdomain.xxx/cgi-bin/yourscript.dll (exe,
asp ...)
|