Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8404585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:38:09+00:00 2026-06-09T22:38:09+00:00

I am running solr and I wanted to restrict access to the admin panel

  • 0

I am running solr and I wanted to restrict access to the admin panel since the url is localhost:8983/solr/#/core_1 and localhost:8983/solr/#/core_2

You see it has a # symbol where its the admin page and when you just want to do a normal search, you go to localhost:8983/solr/core_1browse?q=asdf There is no hash in here so i can omit it

In my webdefault.xml the line url-pattern works but it blocks people from using the web app alltogether, since * means any character. I have tried the following in place of the /* all of which did nothing, and yes I restarted the jetty server each time I tried these out.

Tried : /solr
Tried : /#/
Tried : #
Tried : s

<security-constraint>
<web-resource-collection>
  <web-resource-name>Solr authenticated application</web-resource-name>
  <url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
  <role-name>admin-solr3</role-name>
</auth-constraint>

<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Test Realm</realm-name>
</login-config>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T22:38:10+00:00Added an answer on June 9, 2026 at 10:38 pm

    The “#” symbol in your URL cannot be used as a url-pattern.

    The use of “#” in a URL indicates a URL fragment/anchor and as such, that part of the request URL is not sent to the server by web browsers (custom HTTP client libraries on the other hand can send the fragment/anchor portion)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking to get an instance of Solr search running on my localhost. The
I had Solr 1.2 up and running at port 8983 and using liferay 5.1.1
I'm using an app that has SOLR embedded. SOLR is running as a war
I have Solr running on my server on localhost in the Jetty container. This
Running Solr on Tomcat 7 on Win 2008 Server. I am looping through a
Does running multiple Solr shards on a single machine improve performance? I would expect
ok, I'm totally new to SOLR and Lucene, but have got Solr running out-of-the-box
I am running Tomcat Apache server for solr and I my web interface is
I have followed this guide to install Solr in TomCat running on Windows Server
I've followed the instructions from http://www.lucidimagination.com/blog/2009/03/09/nutch-solr/ Had solr up and running before that, could

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.