Jump to content

Apache2 localhost document root url configuration

BrownZeus

Hey guys

 

I;m having some trouble setting my Apache2 document root. 

 

currently it goes to localhost/#/<endpoint>

 

i just want localhost/<endpoint>. This change must be accomplished through apache configuration only, I cannot alter it on the application end.

 

TIA

Link to comment
Share on other sites

Link to post
Share on other sites

Let me see if I understand right: You want to make a request to "<host>/<endpoint>" and you want the application receiving it to see the URL as "<host>/#/<endpoint>"?

 

Other question: any chance this is an HTML application such as Vue/React/Angular?

Link to comment
Share on other sites

Link to post
Share on other sites

13 hours ago, Regner said:

Let me see if I understand right: You want to make a request to "<host>/<endpoint>" and you want the application receiving it to see the URL as "<host>/#/<endpoint>"?

 

Other question: any chance this is an HTML application such as Vue/React/Angular?

Essentially I was trying to change the Apache document root/alias. But I found that I'm barking up the wrong tree

 

It was a React application. Upon further inspection of my task at hand I found that I was messing with entirely the wrong parameter.

Link to comment
Share on other sites

Link to post
Share on other sites

Thats what I figured. Glad you were able to figure it out.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×