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

  • Home
  • SEARCH
  • 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 3667350
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:59:22+00:00 2026-05-19T01:59:22+00:00

The question seems relatively simple, what I want is that when the user goes

  • 0

The question seems relatively simple, what I want is that when the user goes to:

http://somesite.ex/

they get the same content as if they had gone to:

http://somesite.ex/func1

That is, I want func1 to be the “home page” for this site. Obviously I do not want to have a func1.html and an index.html which are just copies (or symlinks) of each other.

I have tried using the “welcome-file-list” section in web.xml, but that seems to be ignored. I am guessing that it should be an option that is specified in Boot, however I cannot find what that option would be.

I have tried the following snippet in Boot, but it did not do what I wanted:

LiftRules.statelessRewrite.prepend(NamedPF("BaseRewrite") {
  case RewriteRequest(ParsePath(Nil, _, _, _), _, _) =>
    RewriteResponse("func1" :: Nil)
})
  • 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-05-19T01:59:23+00:00Added an answer on May 19, 2026 at 1:59 am

    It seems that the correct redirect is:

    LiftRules.statelessRewrite.prepend(NamedPF("BaseRewrite") {
      case RewriteRequest(ParsePath("index" :: Nil, _, _, _), _, _) =>
        RewriteResponse("func1" :: Nil)
    })
    

    Thanks to the comment of coubeatczech which led me to the right answer.

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

Sidebar

Related Questions

I have a relatively simple question that I cannot seem to find the answer
I have a relatively simple question that I cant figure out and I cant
I have what should be a relatively simple question that I can't seem to
I have to create an application for testing that is relatively simple. If a
I have a relatively simple case. I basically want to store data about links
I'm sure this is a relatively simple question, and there must be a good
A relatively simple question. I have a datagridview, which all it does is displays
My relatively simple Window Application seems to crash as soon as it gets to
I am having an issue that is stumping me. I have a relatively simple
I'm relatively new to iPhone programming so I apologize if this seems a simple

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.