FAQ-Bereiche
Beliebte FAQs 
- Wie kann ich Nameserver-Einträge ändern?
- Wie können wir ein Gästebuch installieren?
- Wie richten wir einen Cronjob ein?
- UNIX-/LINUX-Kommandos
- Wie können wir für mySQL einen User einrichten?
- Wie nutzt man 'formmail.pl' zum Versenden von Formulardaten per ...
- Ich habe mein Backroom-Passwort vergessen
- Was ist Multidomainhosting?
- Wie lege ich einen virtuellen Host (vhost) an?
- Wie beantragen wir ein SSL-Zertifikat?
Die SWISH-E Konfigurationsdatei
![]()
SWISH gibt Ihnen die Möglichkeit über verschiedene Optionen unterschiedliche Fähigkeiten zu nutzen. Diese Einstellungen werden über die untenstehende Konfigurationsdatei durchgeführt.
Erstellen Sie eine eigene Konfigurationsdatei für jedes Suchformular auf Ihrem Server. Dadurch können Sie für jede Domain auf Ihrem Server eine eigene Konfiguration nutzen um nur in den jeweiligen Verzeichnissen zu suchen. Danach nutzen Sie die jeweilige Konfigurationsdatei um eigene Indexdateien für jedes Suchformular zu erstellen.
ACHTUNG:
Machen Sie sich mit den jeweiligen Sucheinstellungen der Konfigurationsdateien vertraut. Als Voreinstellung indexiert SWISH keine Verzeichnisse mit einer ".htaccess" Datei. Wenn Sie ein (passwortgeschütztes) Verzeichnis, das eine ".htaccess" Datei besitzt, indexieren möchten, so kommentieren Sie die entsprechende Sucheinstellung durch das Vorsetzen eines "#" Zeichens in der entsprechenden Zeile aus.An den rot gekennzeichnet Stellen sollten Sie Ihre individuellen Einstellungen vornehmen.
Natürlich sollten Sie auch die anderen Einträge entsprechend modifizieren (empfohlene Stellen sind hier grün markiert). Die unter FileRules gesetzten Bedingungen zeigen die Verzeichnisse/Dateien die nicht(!) indexiert werden.
# Sample SWISH configuration file # hostNET Technical Support, support@hostnet.de, 4/11/96 IndexDir /home/httpd/docs/MEINEDOMAIN # This is a space-separated list of files and # directories you want indexed. You can specify # more than one of these directives. IndexFile /usr/local/bin/swish-e/index.swish # This is what the generated index file will be. IndexName " hostNET Web Page Index" IndexDescription "This is a full index of the hostNET web site." IndexPointer "http://www. hostnet.de /cgi-bin/search.cgi" IndexAdmin " hostNET Technical Support (support@hostnet.de)" # Extra information you can include in the index file. IndexOnly .html .htm .txt .gif .xbm .au .mov .mpg # Only files with these suffixes will be indexed. IndexReport 3 # This is how detailed you want reporting. You can specify numbers # 0 to 3 - 0 is totally silent, 3 is the most verbose. FollowSymLinks yes # Put "yes" to follow symbolic links in indexing, else "no". NoContents .gif .xbm .au .mov .mpg # Files with these suffixes will not have their contents indexed - # only their file names will be indexed. ReplaceRules replace "/home/httpd/docs/*" "http://www.hostnet.de/" # ReplaceRules allow you to make changes to file pathnames # before they're indexed. FileRules pathname contains admin testing demo trash construction confidential FileRules filename is index.html FileRules filename contains # % ~ .bak .orig .old old. FileRules title contains construction example pointers FileRules directory contains .htaccess # Files matching the above criteria will *not* be indexed. IgnoreLimit 50 100 # This automatically omits words that appear too often in the files # (these words are called stopwords). Specify a whole percentage # and a number, such as "80 256". This omits words that occur in # over 80% of the files and appear in over 256 files. Comment out # to turn of auto-stopwording. IgnoreWords SwishDefault # The IgnoreWords option allows you to specify words to ignore. # Comment out for no stopwords; the word "SwishDefault" will # include a list of default stopwords. Words should be separated by spaces # and may span multiple directives.
Verwandte Artikel: