33,387 questions
-3
votes
0
answers
33
views
Netplan: ens20 loses internet connectivity when bond0 (active-backup) interfaces go down [closed]
I am configuring a Linux server (Ubuntu/Proxmox) with three network interfaces using Netplan. My goal is to have two interfaces (ens18, ens19) bonded in active-backup mode managed by networkd, and a ...
1
vote
0
answers
63
views
How does routing work in custom modules in Webtrees?
A Joomla installation and a Webtrees installation share the same domain (joomladomain/webtrees). I need to send HTTP requests to a custom module in Webtrees and I don't know how Webtrees handles ...
1
vote
2
answers
65
views
How can I translate page slugs in routes
I want translate page slugs in Laravel routes.
My code is something like this:
<a href="{{route('pages.get',['slug' => $page->slug])}}" target="">{{__($page->title)}}...
1
vote
2
answers
114
views
Next.js 16 App router internationalization root error
After following the guide on: https://nextjs.org/docs/app/guides/internationalization
The translation logic itself seems to work, but the redirection from the root will never happen.
When visiting ...
0
votes
1
answer
52
views
ASP.NET Core site can't find Default route on startup
I add a route named default with the pattern
{controller=Assets}/{action=Index}/{id?}
but I get an http 404 "Not Found" error.
If I type in /Assets in the browser, it finds the view, it's ...
3
votes
1
answer
116
views
Rails8/Devise custom action found in routes, but 404 when called
I'm extending the Devise invitations controller to lookup the email of the invitee to pre-populate the registration form. I'm getting an error:
#<AbstractController::ActionNotFound: "Could not ...
2
votes
2
answers
144
views
No route to host Error 65: Python not able to fetch frame from Reolink IP camera
I would appreciate it if someone could take a look at this issue:
I am using a Reolink IP camera to regularly query a still image via Python. The camera is connected to a TP Link switch via a LAN ...
1
vote
2
answers
114
views
Update Excel formulas between a path in local folder and owncloud in another computer
I have a lot of Excel archives with lots of formulas which reference other Excel files, all in the path H:\Fold\Data\physics on a computer, and at the same time, on another computer, I have an ...
0
votes
1
answer
161
views
OSRM Indian map extraction fails on 32GB RAM system, partitioned zones still can’t create cross-zone routes
I’m trying to set up OSRM with the latest India map (india-latest.osm.pbf). My system specs are:
RAM: 32 GB
CPU: Intel i7 11th Gen (8 cores / 16 threads)
When I try to extract the map (osrm-extract), ...
1
vote
1
answer
77
views
How to directly test ActionController::RoutingError for an invalid path in Ruby-on-Rails-7.1?
In Rails Controller tests of an invalid route, this used to work before Rails-7.1 (in Minitest):
assert_raises(ActionController::RoutingError){ get "/non_existent" }
In Rails-7.1 (or later),...
1
vote
1
answer
165
views
Migrating from vanilla html to Astro: keep route name legacy
I built a site manually, without the help of any framework.
Each page is a html file, so the routes end with html, such as https://example.com/location.html
I am currently migrating it to Astro. But ...
2
votes
1
answer
65
views
how to create a function that recieves a path compatible with the resolve fn
I'm creating a component that will receive several RouteId and create links
I want to use the resolve fn to validate them
see: https://svelte.dev/docs/kit/$app-paths#resolve
If I declare a prop (or a ...
0
votes
0
answers
128
views
ASP.NET Core Web API returns 404 on all endpoints despite correct routing and configuration
##Program.cs
```
app.UseHttpsRedirection();
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
app.MapGet("/", () => "API is alive");
````
...
1
vote
2
answers
92
views
How to synchronously read route data in AppComponent before first render
In our Angular application, our AppComponent template decides whether to show the full app layout (topbar, banner, ) or a standalone login screen.
Roughly, the template looks like this:
<ng-...
0
votes
1
answer
198
views
How to redirect requests locally from one domain to another on mac
I need to test accepting requests from a custom domain to my local web server.
The idea is I have a main app domain
main-app.com
I provide a subdomain for users
user-1.main-app.com
Then the user can ...