From: Ulisse S. <ul...@ti...> - 2003-11-27 19:06:19
|
Pardon my terrible english. I' m a newbie. I have installed HTdig Script = ( Release of 3.2.0b5 ) such as /root with Linux RedHat 9. I' have no = error for the moment. ...=20 I have installed all in /opt/www/htdig32/ bin cgi-bin conf htdocs include lib share var But my problem now is that i would like a script html/cgi/perl or php to = use directly in my site. Accessible with a direct link by all people = http://www.eulisse.com/cgi-bin/search.cgi or = http://www.eulisse.com/htdig/search.php or=20 http://www.eulisse.com/htdig/search.html . I ' do not find the mode = to use HTDIG directly in my site.=20 Have you a system or an easy simple (i'm a newbie) guide link to make my = search external to the user of my site ? I would like a search engine = for all user of my site. What is the system to put HTDIG search directly = in my site. Can i access to HTdig only such as root in my server ? In = intranet ? I think not. But where is the script to use it in my site. = Where is search.pl (or search.cgi or search.php or search.html) to copy = in a directory accessible by external people in my site ? http://www.accessreports.com/statutes.html use htdig in a direct link = but what is the system to make this statutes.html ? http://www.affaires-publiques.org/ac/phpdig/index.php where can i find = this index.php to copy in my www site ? http://websearch.alfred.edu/cgi-bin/htsearch?Submit222=3DHTDig&config=3D&= restrict=3D&exclude=3D&words=3Dsite+search It is sufficient copy = htsearch ( /opt/www/htdig32/bin/ ) in my directory cgi-bin external ( = :/home/httpd/vhosts/eulisse.com/cgi-bin/htdig32/ ). Not. I' suppose. What is the system to make my search engine accessible such as this site = ? =20 http://gbi.aotea.org/bin/qwiki.pl?search Where this site find = qwiki.pl?search . To solve this problem. .... I' have installed configdig http://configdig.sourceforge.net/ without = error and at the end of the procedure i have the message : [root@air092 HtDig-Config-1.01]# perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for HtDig::Config [root@air092 HtDig-Config-1.01]# make cp installer.pl blib/lib/HtDig/installer.pl cp Config.pm blib/lib/HtDig/Config.pm AutoSplitting blib/lib/HtDig/Config.pm (blib/lib/auto/HtDig/Config) cp Site.pm blib/lib/HtDig/Site.pm AutoSplitting blib/lib/HtDig/Site.pm (blib/lib/auto/HtDig/Site) Manifying blib/man3/HtDig::Config.3pm Manifying blib/man3/HtDig::Site.3pm [root@air092 HtDig-Config-1.01]# make install Writing = /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/HtDig/Config/= .packlist Appending installation info to = /usr/lib/perl5/5.8.0/i386-linux-thread-multi/perllocal.pod [root@air092 HtDig-Config-1.01]# perl installer.pl ConfigDig CGI Installation and Initialization Please provide the full path to your base ht://Dig installation = directory (usually something like /opt/www/). This is where your ht://Dig conf, share, bin, and cgi-bin directories are located. Enter path:/opt/www/htdig32/ ConfigDig uses a small registry file that is usually placed in your ht://Dig configuration files directory (although you can technically = place it anywhere you wish). Please enter the full path to your ht://Dig configuration files directory (the default ht://Dig conf file is "htdig.conf"). The path is usually something like /opt/www/conf/ by default. The ConfigDig registry file, will be created here. Enter path:/opt/www/htdig32/conf/ =20 ConfigDig also creates log files that can be useful for reviewing the outcome of index creation and dig processes. Please provide a directory where ConfigDig can place these log files. A good choice is to create a "logs" directory in your ht://Dig base directory and use it (such as /opt/www/logs/"=20 Enter path:/opt/www/htdig32/logs/ Successfully created registry file. Now we need to know where you'd like the CGI files to go. Please provide a valid directory where the CGI files can be placed. It should be marked cgi executible in your web server's configuration. Preferably, it should be empty, as the files will be placed directly in this location, so please be careful not to overwrite files that may already exist! Enter path:/home/httpd/vhosts/eulisse.com/cgi-bin/htdig32/ CGI installation successful. If you installed the ConfigDig perl modules in a custom directory, your CGI scripts must know about it. If you wish, the local_inc.pl file that is in your ConfigDig CGI directory can be updated to add this directory = to the module search path for the CGI scripts. Either enter the directory now, or hit [enter] to skip this part. Enter path (or hit [enter] to skip): Configuration is now complete. Problems in installation or usage can be logged on the ConfigDig bug tracking system found at http://configdig.sourceforge.net We hope you find ConfigDig useful! ---------------------- It sound good. All WELL !!! Victory !!! ... But when i try the link :=20 http://www.eulisse.com/cgi-bin/htdig32/index.cgi I have the error : Internal Server Error The server encountered an internal error or misconfiguration and was = unable to complete your request.=20 Please contact the server administrator, and inform them of the time the = error occurred and anything you might have done that may have caused the = error.=20 More information about this error may be available in the server error = log.=20 -------------------------------------------------------------------------= ------- Apache Server at eulisse.com=20 I make chmod 755 and chmod 644 but error continue ! |