开发者

Problem: Swish-e escapes the / in links to a subdirectory?

开发者 https://www.devze.com 2023-01-21 18:18 出处:网络
I\'m running swish-e on a subdirectory htm/. On any search results page, the urls have the directory separator escaped, giving unusable links like htm%2Fpage.htm.

I'm running swish-e on a subdirectory htm/. On any search results page, the urls have the directory separator escaped, giving unusable links like htm%2Fpage.htm.

How do I get swish-e or search.cgi to not escape the urls in the results? I'm using the standard search.tt in search.cgi that came with the distribution, and my swish.config file says:

IndexOnly .htm .html
DefaultContents HTML*
StoreDescriptio开发者_运维知识库n HTML* <body>
MetaNames swishtitle swishdocpath
IndexDir htm

I run this in the parent directory: swish-e -c swish.config

Other than the unusable urls, the indexing and search.cgi work fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消