Questions tagged [web-applications]

369 questions
0
votes
0 answers

Ubuntu 22.04 Server (no GUI) and autostart X

I have a PC acting like a small web-application server with onboard HDMI and VGA outputs and fresh installed Ubuntu 22.04 server with no GUI After that installed browser, apache, php and other basic stuff. I can run startx command manually but it…
0
votes
1 answer

Can apache return multipe ErrorDocuments for the same response code depending on a header value?

So let's say I have a 403 page but if the request header has a custom value in it - I want to return a different 403 with a bit more information in. So the normal 403 location may be /error_403 and the custom one may be /error_403_x. How would you…
0
votes
0 answers

Can a cloud-based instance of a Jakarta Servlet web app be launched for each customer, then closed after their session?

Please help an old man understand the new cloud technologies. I understand the old-school way of deploying a Jakarta Servlet app written in Java: Buy a big server with lots of RAM and storage, more than needed. Obtain a Servlet container such as…
Basil Bourque
  • 801
  • 1
  • 11
  • 22
0
votes
2 answers

Run a perl script in a browser via a link

I'm attempting to get a perl script up and running on Oracle Linux 8.5. My Apache server and virtual hosts work with static html. My test virtual host, fnu, has a very basic perl script named hw.pl in /var/www/fnu: #!/usr/bin/perl print…
SKaye
  • 1
  • 1
0
votes
0 answers

serving react out folder with "pm2 serve"

Hope you are doing great. We have one react(NextJS) app, we used yarn export to build an out folder. When I am serving a out folder with command "pm2 serve out/ port --name "react-app", application is getting up but giving below error's for some…
Satish Lamak
  • 31
  • 1
  • 5
0
votes
0 answers

Are MySQL/MariaDB and Postgresql compatible?

I want to install multiple applications on my web server. For most of them, using PostgreSQL is possible or the only option. But in one of them's installation guide, only MariaDB is mentioned. If I create a PostgreSQL database, will it work on the…
Yav
  • 1
  • 1
0
votes
0 answers

EC2 instance crashing randomly early morning

I have a java application running on an ec2 instance. Nginx and mongodb is also running on the instance. The application is accessed through ELB which forwards requests to the instance. I have 2 versions of the exact same instance running with one…
0
votes
1 answer

Events ID 2297 and 2307 in IIS (IIS-W3SVC-WP)

For a couple of weeks, some applications in IIS have stopped responding, when trying to access the site, the app return the error: On Windows Event Log, I found 2 events in the Application Log: 2297 and 2307: The worker process for application pool…
Alberto Medina
  • 299
  • 1
  • 9
0
votes
0 answers

asp.net web api jwt token expiry on plesk server

I'm having an issue with my asp.net web api where the jwt token expires with no valid reason after few api requests. this issue only occurs on production environment, it doesn't happen in my dev env nor in my local IIS. The hosting company tried…
0
votes
1 answer

Sed issue!! i tried to trigger this command cat test.txt | gf xss | sed ‘s/=.*/=/’ | sed ‘s/URL: //’ | tee testxss.txt

i tried to trigger this command cat test.txt | gf xss | sed ‘s/=.*/=/’ | sed ‘s/URL: //’ | tee testxss.txt but getting error as sed: -e expression #1, char 1: unknown command: ' sed: -e expression #1, char 1: unknown command: ' please help resolve…
0
votes
0 answers

Host Header Redirect to another domin when Host is changed to another domina in HTTP Request

Click for the image of issue for HOST Header Redirect Please Refer to the image The issue arise only on 302 and 301 Redirect request On Apache Server. What i did is selected one 302 and 301 redirect request and then change the Host to another…
0
votes
0 answers

Setup a second Tomcat8 instance as a service in Windows

I'm working with a Windows machine that is used for many production applications. There's already a Tomcat8 instance running as a service and located at C:\Apache Software Foundation\Tomcat8.5 . I can't by any means edit anything (scripts,…
0
votes
0 answers

Apache web server: Kill process/thread automatically that consumes too much RAM

We're running an Apache web server (version 2.4.51 on Debian 11) which delivers a huge website with lots of scripts, all written in Perl. The problem is that no one can can really figure out how the code works and the functionality is being…
manifestor
  • 5,329
  • 5
  • 21
  • 33
0
votes
1 answer

Is it okay to use core ruleset v3.3 on modsecurity v2.9

I am just a beginner in the field of security. I have installed ModSecurity v2.9 on my server using this link. But GitHub repository for the core rule set in the link was outdated, so later I removed the ruleset with the official ruleset. Is it okay…
0
votes
0 answers

Is it possible to define "excludes" for check-static in uwsgi settings?

I have an application which I don't want to modify. It has multiple directories with static files which are defined as static via check-static directive in uwsgi's .ini-file. My problem is that each request to /api endpoint checks all directories…