Paul Konstanski
asked on
Angular 7 Folder Access Does Not Work
I have an Angular 7 Website that I developed on my local machine that works fine when I do a direct link to a page on my localhost.
http://localhost:4200/sign in
But when I then deploy the site to a public server, the site only works when I go to the root.
This Works:
http://makeyourlifecount.o rg
This Does NOT Work!
http://makeyourlifecount.o rg/signin
I get an error message on the NOT work link that reads:
Not Found
The requested URL /signin was not found on this server.
Apache/2.2.34 Server at makeyourlifecount.org Port 80
I am not sure where to begin looking to try to solve the problem. There is no .htaccess file on this server. Do I need one?
Why would the direct access work on my local machine and not on the public server. Thanks.
http://localhost:4200/sign
But when I then deploy the site to a public server, the site only works when I go to the root.
This Works:
http://makeyourlifecount.o
This Does NOT Work!
http://makeyourlifecount.o
I get an error message on the NOT work link that reads:
Not Found
The requested URL /signin was not found on this server.
Apache/2.2.34 Server at makeyourlifecount.org Port 80
I am not sure where to begin looking to try to solve the problem. There is no .htaccess file on this server. Do I need one?
Why would the direct access work on my local machine and not on the public server. Thanks.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.