Questions tagged [webserver]

A web server is a program that responds to network requests over the HTTP or HTTPS protocol.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

How to have .html files pass through the PHP preprocessor?

I would like to configure an Apache webserver 2.4.37 to hide the fact that it is serving PHP files. For this, I renamed all .php files to .html and inserted the following directive: AddType ...
1
vote
0answers
30 views

linux server sudden slow downs without high load

I have a web server with the following specs: i7-4770K, 32GB RAM, 500GB SSD (1000 Mbit/s connection). The server is dedicated for the server side of an Android dating application. The app has around ...
0
votes
1answer
14 views

When I access my page I have a 403 Forbidden error LiteSpeed Web Server

I'm trying to install Wordpress using OpenLiteSpeed webserver. Wordpress is installed in /usr/local/lsws/Liveragi/html/{wordpress files} When I access the page using http the page has a 404 Not Found ...
-3
votes
1answer
36 views

Is there a script for configuring DNS? [closed]

I'm making my own web hosting panel for a few projects of mine and I can't find a bash/C++/Python script that can configure (set, show and delete) DNS records on an Apache webserver. The records I'm ...
0
votes
1answer
13 views

How to upgrade lighttpd on Windows 10 using Cygwin/Mingw

There is this project I took from a client who my friend who owes Gym. They have a POS security scan every month because they use the credit card machine. if they don't pass the security scan, they ...
0
votes
0answers
11 views

How can I use a second nginx web app (swizzin) alongside virtualmin nginx site?

I have a goal of using my VPS for web host and seedbox. I cant figure out a way to get it to work with it. Currently every subdomain (including the one I configured swizzin to use) goes straight to ...
0
votes
0answers
5 views

After installing SSL Certificate VTiger is giving an error?

We recently installed the latest available version of vtiger Kernal version : 2.6.32-954.3.5.lve1.4.78.el6.x86_64 Version used : VTiger CRM 7.3 (Open Source) Hosting : GoDaddy Deluxe Linux Hosting ...
0
votes
0answers
12 views

Unlock encrypted partition via web interface

I want to encrypt my Jellyfin Database. Due to the lack of an encryption feature on Jellyfin itself I consider just encrypting the whole db partition via the OS. But I want to be able to unlock the ...
0
votes
0answers
31 views

How to compile lighttpd .tar file using cygwin to run executable file in Windows 10

I have downloaded lighttpd tar file and I need it to compile it using cygwin for Windows 10 machine. I did some extensive research on how to compile lighttpd files using cygwin in google but most of ...
0
votes
0answers
28 views

How to set up apache server for public domain on linux?

I am running Arch Linux on my computer. tl;dr I have portforwarded apache and the router on port 80 and disabled all firewalls on my computer and router. Apache has started and started with no visible ...
0
votes
0answers
37 views

Add a Linux Package to PATH for Python

I am using the Python package sox, and needed to install the linux/ubuntu package SoX to be able to use it. This was done by running sudo apt-get install -y sox. However, an error comes up saying that ...
0
votes
0answers
21 views

vlc's so not found (ld -laxvlc -llibvlc -llibvlccore -lnpvlc) not found

I am trying to build a Qt web app, but it is giving me linking error for certain VLC libraries /usr/bin/ld: cannot find -laxvlc /usr/bin/ld: cannot find -llibvlc /usr/bin/ld: cannot find -llibvlccore /...
0
votes
0answers
17 views

how to add complete website on nginx

Hello I recently install nginx on ubuntu 20.4 LTS and everything works fine I just installed nginx and setup a basic config to get the nginx welcome page. My question is I already have a fully ...
0
votes
1answer
20 views

Doing health check on port 443 from bash

I have requested my network colleague to setup F5 Global Traffic Manager (GTM) for my webservers at 443 port. But he has reported the GTM has not received any reponse from my webservers. But I know ...
0
votes
1answer
50 views

How to start Jetty using start.jar from the console?

Having installed Jetty through apt how do I start the web server to get to a welcome page? Trying: java -jar /usr/share/jetty9/start.jar results in: ERROR : Nothing to start, exiting ... Usage: java ...
0
votes
1answer
167 views

systemctl start nginx fails

Disclaimer: I have 0 server administration experience, so forgive my terminology and apparent lack of effort in describing the issues. I just don't really know what I'm doing. Anyway, I was following ...
0
votes
1answer
16 views

Download list of directory/file names only from web server index

I'm trying to curl/wget a list of directories/files names available in a directory listing of a webserver. For example from (randomly chosen) http://prodata.swmed.edu/download/, I'm trying to ...
1
vote
1answer
68 views

How to revert symlink from /var/tmp to /tmp

I created a symlink from /var/tmp to /tmp folder but this seems to create issues with Apache PrivateTmp=true using /var/tmp folder. How can I fully revert the below commands and restore the same ...
0
votes
0answers
77 views

Apache failed to start with PrivateTmp=true after I changed the /tmp folder

Apache service cannot start and I know the reason but not sure how to fix it: Apache error: apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; ...
2
votes
1answer
175 views

Problem running CURL with the dns option

I'm using curl for a while now to debug my non-prod web services. When I'm using the --dns-servers option, I always receive an error that this feature was not found: curl --dns-servers ...
0
votes
1answer
31 views

Apply AllowOverride in global for all files conf of apache2

Is it possible to apply the AllowOverride directive globally? (without, therefore, going to every single configuration file and adding the directive)
0
votes
1answer
56 views

Problem with apache2 with ProxyPass (serviio)

I have this configuration: <VirtualHost *:80> proxypass / http://127.0.0.1:23423/console/ proxypassreverse / http://127.0.0.1:23423/console/ proxypassmatch "/(.*)" http://127.0.0.1:...
2
votes
1answer
108 views

nginx configuration: how to load static files other than index.html

I'm trying to figure out how to load static files, other than index.html, in nginx with Ubuntu 18.04.4 Desktop. I added to /etc/nginx/conf.d/default.conf the following lines: server { location /...
0
votes
2answers
74 views

Apache2 won't run cgi files based on shebang

I'm trying to use Python as the server-scripting language instead of PHP. I've configured localhost and php files run fine under it. If I create a file .../localhost/temp/test.cgi (making it ...
0
votes
0answers
31 views

Daemon Issue: Unable to start Apache on Pop OS (Ubuntu 18.04)

So, I've uninstalled and reinstalled Apache2. However, when I try and start it, I get a very generic error message. So I run the following: sudo journalctl | tail And I get this mammoth response: ...
-2
votes
1answer
35 views

Tomcat failed to start when shut down port changed to -1

When I tried to change tomcat shut down port from 8005 to -1 and starting tomcat, it did not start and threw an "invalid port number" exception. Is there any process for changing tomcat shutdown port ...
1
vote
0answers
38 views

Why is my webserver visible on port 80, but not on port 5000 EVEN if explicitly 'sudo ufw allow 5000'?

I have a digital ocean droplet with ubuntu 18.04 and attempting to follow this guide on creating a flask app and hosting with gunicorn + nginx. https://www.digitalocean.com/community/tutorials/how-...
-2
votes
1answer
236 views

dig: parse of /etc/resolv.conf failed

I tried using dig and I got the error in the title. My /etc/resolv.conf is this nameserver 67.207.67.2 nameserver 67.207.67.3 nameserver ns1.name.com nameserver ns2.name.com nameserver ns3.name.com ...
0
votes
0answers
27 views

How to access an Angular App created on CentOs7 in a Windows 10 VM?

I created an angular app in CentOs7 and was able to open it in a web browser in my CentOs7 VM using http://localhost:4200/. I need to be able to access it my Windows 10 VM, but when I tried changing ...
0
votes
0answers
97 views

How do I configure Apache to use UPnP?

In home networks based on modern routers supporting UPnP, torrent clients just work: they ask the UPnP gateway to open a port for them when needed. Yet, every guide I have seen about setting up a web ...
2
votes
1answer
791 views

What is the difference between AmbientCapabilities and CapabilityBoundingSet?

I am trying to create a systemd service for a web server process that has to bind to port 80 and 443. I found some examples setting AmbientCapabilities=CAP_NET_BIND_SERVICE and setting both ...
0
votes
1answer
48 views

I have a 50GB server SSD and 40G ram, running Ubuntu, my tmpfs is taking 2 partitions of 15GB of my SSD? [duplicate]

How do I get some space back? I have no space. Edit: Clarification, I did run at least a few different Conda environments, could then be the source of this tmpfs files ? Filesystem Size Used ...
0
votes
0answers
18 views

PostFix get EMails with php and write it into HTML

I Have a PostFix Server where i installed apache2 and php7.2. Now i am creating a WebPage where i want to display all my received EMails. What code do i Need to view the EMails? I tried echo "type ...
0
votes
0answers
28 views

SELinux: Preventing Command Execution from Webserver

I realize this may be a strange request but I am doing testing to see what selinux can do to secure web applications and I can't seem to disable command injection. I have looked through the httpd ...
0
votes
0answers
15 views

How to redirect/proxy some ports to different server (Apache2)

I have two servers with Apache2 installed: Server 1: Running Apache2 on ports 80 and 443, virtualhost foo.example.com Server 2: Running Apache2 on ports 80 and 443 and another server on port 25565 I ...
0
votes
2answers
181 views

Crontab for starting no-IP does not work [closed]

I have problems with my webserver. Normally you start the No-IP-DUC via sudo noip2. I tried to automate it with a cronjob. Using crontab -e, I created this file: # Edit this file to introduce tasks ...
0
votes
1answer
44 views

Accessing system utilities from docker

I'm building a docker container that should show information on the system status on a webpage. I have an PHP-fpm and NGINX container running. If I use shell_exec or exec the .sh script I made is ...
0
votes
1answer
32 views

How can I transfer a process from a terminal on my linux PC to an SSH portal terminal on the other side of my house?

I am running a server on my Linux PC, and every once in awhile I have to change things, or fix things through the terminal. Whenever I do that I have to go to the other side of the house, to fix the ...
0
votes
0answers
28 views

elegant way to sync file between local machine and server (in real time) [duplicate]

I am looking for a "local Dropbox" to sync files between local and server. For complex reason I couldn't install Dropbox on the server. I thought about rsync but it doesn't work bi-directionally. ...
2
votes
0answers
52 views

Where should I put web application code in the file-system hierarchy [closed]

What would be the most FHS compliant and standard location for putting the source code of a web-app, let's say a Flask app, be? I've looked around and haven't found any definitive and satisfactory ...
0
votes
0answers
12 views

How to broadcast audio stream to particular application?

The context here is that I'm trying to build a cross platform application to further my knowledge, I was attempting to build a walkie-talkie like application, for that particular use case i would ...
0
votes
3answers
139 views

How can I start a long running background process, via ssh, and immediately disconnect?

I want to write a bash script which can ssh into a server, start a continuous background process (infinite python script) and exit the server. Here is what I have tried: ssh user@domain "python3 ...
0
votes
1answer
31 views

I have a server that I can ssh into using the public address but I can not access the apache2 web server that it is hosting

I have a personal computer with Ubuntu 18.04 running an apache2 web server and OpenSSH. I have port 80 and port 22 forwarded and I have not changed the default port for apache2. I am able to access my ...
0
votes
0answers
13 views

Share folder via hotspot

I teach a small class. I would like to find an alternative to a projector/beamer because it is sometimes logistically impractical. So, I would like to "project" PDF slides / a local HTML file to my ...
2
votes
1answer
215 views

Invalid SSL certificate only on my Linux machine

I'm hosting a website and my DNS server is from NameCheap, I bought an SSL certificate over there and configure it through nginx, everything were fine, but one day chrome started to complain that the ...
1
vote
1answer
49 views

How to set two domain names on one server?

I have a debian server right now that is hosting a webserver along with a couple of other services. Currently its domain is "website.com", but I want to name it also "www.website.com". I am hoping it ...
0
votes
0answers
29 views

Why fg command within an infinite while loop works like a “keep alive” watchdog?

Recently, I've run into this implementation of a handicraft "keepalive" watchdog for a custom HTTP server: | | keepalive.sh | init.sh |_ main.py There are three files. The first one being ...
0
votes
2answers
134 views

What folder contents are okay to delete from sda2 /var folder

We have some 30 + websites hosted on a dedicated server . The Server disk partions are /dev/sda2 and dev/sda3 Dev/sda2 has only 20GB space in it and we are frequently running our of space literally ...
1
vote
1answer
20 views

User Creation From Web Server

I'm creating a web app which will allow me to setup shared hosting environments. Everything has to be done programmatically and i'm questioning whether i'm approaching things in a completely insecure ...
0
votes
1answer
23 views

curling ESP8265 status Is:no such file or directory

I'm on OSX Mojave 10.14.6 I'm a trying to flash a newer firmware via OTA on an ESP8265 SoC embedded on a smart switch. I created a network with specific SSID and PSW. The ESP is connected to the ...

1
2 3 4 5
10