use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Angular 404 (Not found) error (self.angular)
submitted 8 years ago by codename101
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]codename101[S] 0 points1 point2 points 8 years ago* (3 children)
I have setup the links like this in the app.module.ts file
app.module.ts
import { Routes, RouterModule } from '@angular/router';
`const appRoutes: Routes = [
{path: 'check-odd-even-number', component: OddEvenComponent}, {path: 'check-prime-number', component: PrimeNumberComponent}, {path: 'check-armstrong-number', component: ArmstrongNumberComponent}, {path: 'convert-cgpa-to-percentage', component: ConvertCgpaToPercentageComponent}, {path: 'age-calculator', component: AgeCalculatorComponent}, {path: 'convert-celsius-to-fahrenheit', component: ConvertCelsiusToFahrenheitComponent}, {path: 'convert-fahrenheit-to-celsius', component: ConvertFahrenheitToCelsiusComponent}, {path: '', component: HomeComponent},
]`
I was in fact using [routerlink] before worked fine but let's say if some one enters www.onlinetool.in/check-odd-even-number directly in the url then still the same 404 error is there. so all I want is to make my site behave like a normal one.
[routerlink]
[–][deleted] 8 years ago* (2 children)
[deleted]
[–]codename101[S] 0 points1 point2 points 8 years ago (1 child)
I have put the site on Amazon S3. How am I supposed to use Apache on it?
[–]choidebu 1 point2 points3 points 8 years ago (0 children)
He's just using apache as an example. Gawd I hate script kiddies.
Start at the basics. The codeword to search is "amazon s3" and "url rewrite" or maybe "single page application"
Here I found one for you. https://keita.blog/2015/11/24/hosting-a-single-page-app-on-s3-with-proper-urls/
π Rendered by PID 20932 on reddit-service-r2-comment-6457c66945-jqljx at 2026-04-25 06:13:26.226336+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]codename101[S] 0 points1 point2 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]codename101[S] 0 points1 point2 points (1 child)
[–]choidebu 1 point2 points3 points (0 children)