Questions tagged [web-development-server]

Use this tag for questions related to a Web-development Server, i.e. the backend/server side of a web application, when it comes to its development.

can be used in several situations, so please use one or more additional tags to better describe your case.

1473 questions
3
votes
1 answer

ValueError: unable to configure handler 'loggers'

I was writing code in vscode that logs user activity(logins and logouts) using signals on my django website but it keeps showing this error Exception in thread django-main-thread: Traceback (most recent call last): File…
3
votes
1 answer

"[nodemon] clean exit - waiting for changes before restart": while trying to start the server

I keep running into this error while trying to run my code... [nodemon] 2.0.15 [nodemon] to restart at any time, enter `rs` [nodemon] watching path(s): *.* [nodemon] watching extensions: js,mjs,json [nodemon] starting `node server.js` [nodemon]…
3
votes
1 answer

IntelliJ IDEA: make HTTP/2 requests with HTTP client

There is HTTP client in IDEA. It allows to save HTTP requests to web servers in a files and run its later. It helps in development very well. Simple GET request: ### GET request with a header GET https://httpbin.org/ip Accept: application/json But…
Alex Gusev
  • 1,526
  • 3
  • 16
  • 35
3
votes
1 answer

FastAPI import routers from separate file

I am trying to import routers from a separate file instead of mentioning app.include_router() for each router in the FastAPI app file. I want to avoid the include router statement for each router in the main file and would like to split it into…
3
votes
1 answer

Prevent flask app's development server from unwanted reloads

I was running a flask app at http://127.0.0.1:7000/ with the command py main.py. In my file, the last line is app.run(debug=True, port=7000). I have declared the app = Flask(__name__). I need the server to restart each time. But the server reloads…
Parvat . R
  • 751
  • 4
  • 21
3
votes
1 answer

"Confirm Form Resubmission " on pressing back in the chrome browser in my django project

This is my first web development project. It is basically an e-voting website. The index page is the login page. So, when the user login using valid credentials, the website will take the user to the voting page where that contains a voting form and…
3
votes
1 answer

Make parallax work on iOS without background-attachment:fixed

Does anyone know if there is a reasonable way to make this parallax background scrolling effect work on iOS devices? Here is the page I am working on. http://districtdentalontheouachita.com/new/ Right now all I am doing to achieve this effect is to…
Kenny Johnson
  • 452
  • 5
  • 15
3
votes
1 answer

I am getting 500 internal error when giving url as dir/file/file

When I am trying to give url as https://example.com/dir/file/file then the request is getting into loop and 500 error comes while it should give file does not exists. I am using LAMP Stack. I am hiding .php in my .htaccess ## hide .php extension #…
3
votes
2 answers

How to create a static skeleton of a map using folium with over layers(markers) changing every hour which is hosted over a website using flask?

I am sorry if the question is confusing or doesn't make sense, this is my first project and I'll try to explain it to the best of my capabilities. At first, I thought I would just be hosting a single map that I created using folium and inherited the…
3
votes
1 answer

Get the value of (Set-Cookie) and store it in the browser angular 8

I'm a new web developer, working with spring boot and angular 8. When I try to login with the username and password the server generate a token and send it back to the http response, so my question is how to get the value of the cookie and store it…
3
votes
1 answer

X-Robots-Tag - Noindex several files in .htaccess

I found on Google that I can noindex/nofollow using the X-Robots-Tag. There are plenty of webpages where they tell me how to do that on single files, entire websites, and directories. This is the way I’m supposed to do it for a single file: …
3
votes
1 answer

Form validation in Racket

I'm new to Racket though I've managed so far to play around with servlets and make few things work. What I would like to do now is to validate a simple username/password POST request. I've had success in doing it so through the "web-server/formlets"…
N001
  • 51
  • 5
3
votes
1 answer

What is WebRTC (Is it baked into the browser?)

The explanation for WebRTC online in the docs says it is an "An open framework for the web that enables Real-Time Communications (RTC) capabilities in the browser." Is this developed by individual vendors (Chrome, Safari, ect) and then built into…
nuxer
  • 438
  • 1
  • 6
  • 20
3
votes
2 answers

REST best practice for updating an item in an array of items

In my single page application that uses RESTful services, I want to know what the best practice is for updating one item in an array of items. Prerequisites 1. Front-end makes a GET request to fetch a list of items 2. Front-end formats the list of…
3
votes
2 answers

C++ web development

I understand that as C++ isn't dynamic, its not seen as a particularly great base to build a website, but I believe it partly falls down to support. Are there any servers that run C++ programs as like a root, for example node.js creates the server…
Will03uk
  • 3,346
  • 8
  • 34
  • 40