|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Kostin Ilia 2:5020/400 03 Jun 2003 09:38:37 To : Victor Wagner Subject : [part 2] Re: Mnogosearch+Mysql -------------------------------------------------------------------------------- * Continuation 1 of a split message * # Can be used before every "Server" command and # takes effect only for next one "Server" command! # It should be also before "Proxy" command. # Examples: #ProxyAuthBasic somebody:something ######################################################################### #Proxy your.proxy.host[:port] # Use proxy rather then connect directly #One can index ftp servers when using proxy #Default port value if not specified is 3128 (Squid) #If proxy host is not specified direct connect will be used. #Can be set before every "Server" command and # takes effect till the end of config file or till next Proxy command. #If no one "Proxy" command specified indexer will use direct connect. # # Examples: # Proxy on atoll.anywhere.com, port 3128: #Proxy atoll.anywhere.com # # Proxy on lota.anywhere.com, port 8090: #Proxy lota.anywhere.com:8090 # # Disable proxy (direct connect): #Proxy ######################################################################### #AuthBasic login:passwd # Use basic http authorization # Can be set before every "Server" command and # takes effect only for next one Server command! # Examples: #AuthBasic somebody:something # # If you have password protected directory(ies), but whole server is open,use: #AuthBasic login1:passwd1 #Server http://my.server.com/my/secure/directory1/ #AuthBasic login2:passwd2 #Server http://my.server.com/my/secure/directory2/ #Server http://my.server.com/ ############################################################## # Mirroring parameters commands. # # You may specify a path to root dir to enable sites mirroring #MirrorRoot /path/to/mirror # # You may specify as well root dir of mirrored document's headers # indexer will store HTTP headers to local disk too. #MirrorHeadersRoot /path/to/headers # # MirrorPeriod <time> # You may specify period during wich earlier mirrored files # will be used while indexing instead of real downloading. # It is very useful when you do some experiments with mnoGoSearch # indexing the same hosts and do not want much traffic from/to Internet. # If MirrorHeadersRoot is not specified and headers are not stored # to local disk then default Content-Type's given in AddType commands # will be used. # Default value of the MirrorPeriod is -1, which means # "do not use mirrored files". # # For <time> format see Period command description above. # # The command below will force using local copies for one day: #MirrorPeriod 1d ######################################################################### #Server [subsection] <URL> [alias] # This is the main command of the indexer.conf file. It's used # to add servers or their parts to be indexed. It also inserts # given URL into database. # For example: Server http://www.samopt.ru/ # # You can also specify some path to index server section: #Server http://localhost/subsection/ # or concrete one page: #Server http://localhost/path/main.html # # Use optional subsection parameter to specify server's subsection. # It specifies which part of Server command argument is to be compared # with and URL. Check follow.txt for details. # Values of subsection are the same with "Follow" command arguments. # If subsection is not specified current "Follow" value will be used. # If subsection is specified it does not change current "Follow" value # for next "Server" commands without subsection argument. # This example will add /path/ section on localhost: #Server path http://www.samopt.ru # This example will add whole server: #Server site http://www.samopt.ru/ #Server site http://www.samopt.ru/1/ #Server site http://www.samopt.ru/2 #Server site http://www.samopt.ru/3 # # You can also specify optional parameter "alias". This example will # index server "http://search.mnogo.ru/" directly from disk instead of # fetching from HTTP server: #Server http://samopt.ru/ # # You may use "Server" command as many times as a number of different # servers you want to index. # #Server http://www.samopt.ru/ ######################################################################### #Realm [String|Regex] [Match|NoMatch] <arg> [alias] # It works almost like "Server" command but takes a regular expression or # string wildcards as it's argument. String wildcards is default match type. # For example, if you want to index all HTTP sites in ".ru" domain, use: Realm http://www.samopt.ru/* # The same using "Regex" match: #Realm Regex ^http://www.samopt.ru/ Realm Regex http://www.samopt.ru/ # Another example. Use this command to index everything without .com domain: Realm NoMatch http://www.samopt.ru/squid/ #Realm NoMatch http://www.samopt.ru/manual # # Optional "alias" argument allows to provide very complicated URL rewrite # more powerful than other aliasing mechanism. Take a look into alias.txt # for "alias" argument usage explanation. ######################################################################### #URL http://localhost/path/to/page.html # This command inserts given URL into database. This is usefull to add # several entry points to one server. Has no effect if an URL is already # in the database. When inserting indexer does not any checking and this # URL may be delated at first indexing attempt if URL has no correspondent # Server command or disallowed by rules given in Allow/Disallow # commands. # #This command will add /main/index.html page: C уважением, Костин Илья. URL http://www.samopt.ru/ --- ifmail v.2.15dev5 * Origin: IAC Samara-Internet, Ltd. (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/10277c2495bd8.html, оценка из 5, голосов 10
|