Score:0

How to configure Apache2.4 to get URL path from distribution (dist) directory?

in flag

I am trying to get URL resource loaded using Alias but it is not working for dynamic URLs

DocumentRoot /var/www/dist/ Alias / /var/www/dist/

But when we refresh the page The requested URL was not found on this server. shows up, so can anybody suggest me how to work it out so that if even the page is reload the the content of the URL stays there itself

example:-

(Currently) URL abc.com/services/list (At present after reloading the page the The requested URL was not found on this server. shows up)

(Expected) Even after the URL abc.com/services/list is reloaded the content on the page stays there and a single configuration which works for dynamic (Any URL mentioned in the code) URL.

Dennis Nolte avatar
us flag
check your apache logfile, for debian its usually at /var/log/apache2/error.log This should give you some hints why this isn't working.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.