lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fuad Efendi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2262) 404 on
Date Fri, 03 Dec 2010 18:18:14 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966609#action_12966609
] 

Fuad Efendi commented on SOLR-2262:
-----------------------------------

As a workaround for different containers, you can explicitly define
{code}
  <requestHandler name="/admin/file/"       class="org.apache.solr.handler.admin.ShowFileRequestHandler"
>
{code}

(additionally to default "/admin/file")



We can also:
1. Use "startWith" instead of full String comparison 
2. Use "longest match" to find registered request handler

(see SolrCore.getRequestHandler(String handlerName))


> 404 on 
> -------
>
>                 Key: SOLR-2262
>                 URL: https://issues.apache.org/jira/browse/SOLR-2262
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: Tomcat/7.0.4
>            Reporter: Sean Timm
>            Priority: Trivial
>
> Config and schema links from the admin page do not work with Tomcat 7.  Apparently Tomcat
7 doesn't like the extra slash in the URL: file/? and returns a 404.  Removing the extra /
resolves the problem.
> Does not work:
> http://localhost:8080/solr/admin/file/?file=schema.xml
> Works:
> http://localhost:8080/solr/admin/file?file=schema.xml
> I stumbled across a blog post that provides a bit more detail.  http://androidyou.blogspot.com/2010/09/tomcat-7-with-solr-14-http-status-404.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message