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 8645929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:40:34+00:00 2026-06-12T12:40:34+00:00

Is it possible to load same application called from different URLs? I have tried

  • 0

Is it possible to load same application called from different URLs?

I have tried different configs with mod_rewrite but its not working. I am currently trying with virtual hosts but not sure if it will work.

  • 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-12T12:40:35+00:00Added an answer on June 12, 2026 at 12:40 pm

    I am assuming that since you are mentioning that you are using mod_rewrite, you are fronting, Tomcat with Apache?
    If so, why not use Apache as a reverse proxy?

    An example config for Apache would be: Where Tomcat is assumed to run on Port 8080 with Tomcat’s ROOT context serving out the application.

    NameVirtualHost *
    <VirtualHost *>
        ServerName url1.com
        ProxyRequests Off
        <Proxy *>
            Order deny,allow
            Allow from all
        </Proxy>
    
        ProxyPass / http://localhost:8080/
        ProxyPassReverse / http://localhost:8080/
    
        <Location />
            Order allow,deny
            Allow from all
        </Location>
     </VirtualHost>
    
     <VirtualHost *>
        ServerName url2.com
        ProxyRequests Off
        <Proxy *>
            Order deny,allow
            Allow from all
        </Proxy>
    
        ProxyPass / http://localhost:8080/
        ProxyPassReverse / http://localhost:8080/
    
        <Location />
            Order allow,deny
            Allow from all
        </Location>
     </VirtualHost>     
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a mindmp file from a target's application crash. Is it possible for
Is it possible to load images from an array in jQuery? The array looks
Is it possible to load different LocalSettings.php in MediaWiki based on login.
Is it possible to load new lines from a text file to variables in
Is it possible to load a single plugin from outside the cake root using
In modern processors it is possible to load a register from memory and then
In my application,I need to load different .xib in different tableView cells depending upon
Is it possible to deploy multiple roles in the same instance? I have three
is it possible in Db4o to load new objects into persistent IObjectContainer? I have
Is it possible to have multiple versions of PHP running on the same box

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.