Re: Solr admin Url issues

2015-01-26 Thread Shawn Heisey
On 1/26/2015 9:02 PM, Summer Shire wrote:
> Running solr (4.7.2) locally and hitting the admin page like this works just 
> fine http://localhost:8983/solr/ # 
>  
> 
> But on my deployment server my path is 
> http://example.org/jetty/MyApp/1/solr/# 
> 
> Or http://example.org/jetty/MyApp/1/solr/admin/cores 
>  or  
> http://example.org/jetty/MyApp/1/solr/main/admin/ 
> 
> 
> the above request in a browser loads the admin page half way and then spawns 
> another request at
> http://example.org/solr/admin/cores ….
> 
> how can I maintain my other params such as jetty/MyApp/1/
> 
> btw http://example.org/jetty/MyApp/1/solr/main/select?q=*:* 
>  or any other 
> requesthandlers work just fine.

Is this the scenario that got mentioned on the IRC channel?  That was
indicated to be behind a proxy.

If Solr is behind a proxy that changes the URL path (which is the only
way I can imagine this is working on port 80), the proxy must also
rewrite the URLs that the Solr admin UI sends to the user's browser.
Those URLs are embedded in the data (definitely javascript, and possibly
html) that the admin UI sends to the user's browser, and are created by
information available to Solr.  Solr will have no idea what the path on
the proxy is.

Thanks,
Shawn



Re: Solr admin Url issues

2015-01-26 Thread Summer Shire
jetty is not running on port 80
it is running on ports that I defined for my instances in sequence.
and no I do not have apache2 reverse proxy in front :(



> On Jan 26, 2015, at 8:18 PM, Dan Davis  wrote:
> 
> Is Jetty actually running on port 80?Do you have Apache2 reverse proxy
> in front?
> 
> On Mon, Jan 26, 2015 at 11:02 PM, Summer Shire 
> wrote:
> 
>> Hi All,
>> 
>> Running solr (4.7.2) locally and hitting the admin page like this works
>> just fine http://localhost:8983/solr/ # <
>> http://localhost:8983/solr/#>
>> 
>> But on my deployment server my path is
>> http://example.org/jetty/MyApp/1/solr/# <
>> http://example.org/jetty/MyApp/1/solr/#>
>> Or http://example.org/jetty/MyApp/1/solr/admin/cores <
>> http://example.org/jetty/MyApp/1/solr/admin/cores> or
>> http://example.org/jetty/MyApp/1/solr/main/admin/ <
>> http://example.org/jetty/MyApp/1/solr/main/admin/>
>> 
>> the above request in a browser loads the admin page half way and then
>> spawns another request at
>> http://example.org/solr/admin/cores >> ….
>> 
>> how can I maintain my other params such as jetty/MyApp/1/
>> 
>> btw http://example.org/jetty/MyApp/1/solr/main/select?q=*:* <
>> http://example.org/jetty/MyApp/1/solr/main/select?q=*:*> or any other
>> requesthandlers work just fine.
>> 
>> What is going on here ? any idea ?
>> 
>> thanks,
>> Summer



Re: Solr admin Url issues

2015-01-26 Thread Dan Davis
Is Jetty actually running on port 80?Do you have Apache2 reverse proxy
in front?

On Mon, Jan 26, 2015 at 11:02 PM, Summer Shire 
wrote:

> Hi All,
>
> Running solr (4.7.2) locally and hitting the admin page like this works
> just fine http://localhost:8983/solr/ # <
> http://localhost:8983/solr/#>
>
> But on my deployment server my path is
> http://example.org/jetty/MyApp/1/solr/# <
> http://example.org/jetty/MyApp/1/solr/#>
> Or http://example.org/jetty/MyApp/1/solr/admin/cores <
> http://example.org/jetty/MyApp/1/solr/admin/cores> or
> http://example.org/jetty/MyApp/1/solr/main/admin/ <
> http://example.org/jetty/MyApp/1/solr/main/admin/>
>
> the above request in a browser loads the admin page half way and then
> spawns another request at
> http://example.org/solr/admin/cores  >….
>
> how can I maintain my other params such as jetty/MyApp/1/
>
> btw http://example.org/jetty/MyApp/1/solr/main/select?q=*:* <
> http://example.org/jetty/MyApp/1/solr/main/select?q=*:*> or any other
> requesthandlers work just fine.
>
> What is going on here ? any idea ?
>
> thanks,
> Summer


Solr admin Url issues

2015-01-26 Thread Summer Shire
Hi All,

Running solr (4.7.2) locally and hitting the admin page like this works just 
fine http://localhost:8983/solr/ # 
 

But on my deployment server my path is http://example.org/jetty/MyApp/1/solr/# 

Or http://example.org/jetty/MyApp/1/solr/admin/cores 
 or  
http://example.org/jetty/MyApp/1/solr/main/admin/ 


the above request in a browser loads the admin page half way and then spawns 
another request at
http://example.org/solr/admin/cores ….

how can I maintain my other params such as jetty/MyApp/1/

btw http://example.org/jetty/MyApp/1/solr/main/select?q=*:* 
 or any other 
requesthandlers work just fine.
 
What is going on here ? any idea ?

thanks,
Summer