Questions tagged [html]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
126 views

telnet to port 80 (nginx), with forward to apache2 at port 8080, fails with 'connection closed by foreign host' and no explanations seemingly anywhere

i'm running an Kubuntu 22.04 server, and want to shuttle LAN-only traffic from port 80, served as far as i can tell by nginx, to port 8080 served by apache2 (for PHP purposes). but i'm getting this &...
Rene Veerman's user avatar
0 votes
0 answers
35 views

I want to add a custom 404 to all my URLs following a relevant pattern using .htaccess file

Hello, Google is currently indexing query string URLs of my website. Google has currently indexed almost 112k URLs that all of are duplicate versions of other URLs causing my website to slow down and ...
mehtab fatima's user avatar
0 votes
0 answers
78 views

Stripe Custom PHP & JavaScript Stripe Integrations: form refuses to load

I'm attempting to create a webpage for my startup, which is subscription-based. We have Stripe in live mode, and are essentially storing cards for future use, allowing us to have different payment ...
JimmyP624's user avatar
0 votes
1 answer
83 views

Where can i find the 404 template from OpenLiteSpeed?

I want to change/customize the standard 404 (Not Found) page/template from OpenLiteSpeed. But where can i find the 404 file via terminal? I'm searching in: cd /usr/local/lsws/ But can't find it. Can ...
DSTUDIOS's user avatar
0 votes
1 answer
94 views

Odd behavior of bash array

I've recently encountered a strange script behavior and still don't understand y the array behaves this way. Here is a piece of the script: for nCDATAReg in $(seq 1 4) do sTestBuffer1=$(...
Talcott Parsons's user avatar
0 votes
1 answer
1k views

HaProxy redirect to internal URL

I have a configuration with two backend servers I need to redirect 301 to each server with an internal URL on HTTP. It's hard to use SSL because I can't install SSL on the Report Server in that ...
Dr.Fr05t's user avatar
1 vote
1 answer
689 views

NGINX can't find the index.html in any location

I'm new at nginx and i'm trying to deploy a react application but things is not working very well. I have my dist folder with my static files (index.html, css and js) in /home/ec2-user/difo/digital-...
Guilherme Castello's user avatar
0 votes
0 answers
27 views

Does javascript on the front end require a javascript hosting?

I have a few javascript in my code which help with image slider, I also have an external file I connected to the HTML file which helps with scrolling up. It's all on the front-end, do I need to ...
Atman Atos's user avatar
0 votes
0 answers
302 views

Adding image to video in python with flask

I can add pictures to the video in the normal python editor. When I write the codes for flask, the video works but the pictures I added are not visible. from flask import Flask, render_template, ...
Ahmet Koray Sonal's user avatar
0 votes
0 answers
33 views

How to view htm file that with vbscript without IE?

It's audit time here again, and as per usual, I remote into servers, and run gpresult /h to generate a human-readable RSoP to include in my audit evidence. Unfortunately, the security guy says that I ...
Chuck Herrington's user avatar
1 vote
0 answers
6k views

How to show python console output to website using flask

This is the flask file from flask import Flask, redirect, render_template, request from subprocess import call app = Flask(__name__) @app.route('/') def mai(): return render_template('homepage....
Rahul's user avatar
  • 13
0 votes
1 answer
433 views

Multiple nested HTML include directives with a nginx server

I have index.html: <!--#include virtual="/includes/Framework.inc"--> Inside Framework.inc I have: <!--#include file="/includes/HTML.inc"--> However, when I open the ...
MightyMouse's user avatar
1 vote
0 answers
246 views

Error configuring ACME ssl for ejabberd

I would like to know if there is a way to add a sucure ssl certifacte to ejabberd? Someone reccomeneded ACME, but I run into an error: root@uosib:~ ejabberdctl request-certificate all Error: error ...
FNW's user avatar
  • 11
0 votes
2 answers
788 views

301 redirect url based off of a category in the url

Does anyone know how to redirect a url that contains a parent category of a product? Basically I want to redirect a ton of products to a simple landing page that I created, so instead of making ...
nightcrew's user avatar
0 votes
0 answers
3k views

How can I resolve "HTTP Error 500.19 error code 0x8007000d - Internal Server Error"?

I'm currently trying to redirect errors on my Tomcat project. Currently I'm using this method of redirecting the errors by using httpsError in the web.config file. Here is the code and error that I ...
Jed's user avatar
  • 1
0 votes
0 answers
1k views

Redirected Too Many Times on Apache2

I'm using apache2 to host a website on Ubuntu Server. When I try to load the page from a browser, I get the "this page redirected you too many times" error. I don't have any duplicate files ...
Wilson T.'s user avatar
1 vote
0 answers
232 views

Nginx error_page not working for ngx_http_limit_conn_module

I have an http block where i define limit_conn_zone like so: limit_conn_zone $host zone=test:10m; and i have a reference to another .conf file where I have my server configuration server { .. ... ...
Nish R's user avatar
  • 11
0 votes
2 answers
697 views

How should I set my nginx configuration to use subdomains with CNAME host record?

running Debian 11. How should I add my subdomain to my site using my CNAME DNS records? My website directory is located at /var/www/ and I'm wondering if I can make a subdirectory for the subdomain ...
linux_corgi_man's user avatar
0 votes
1 answer
129 views

Outlook: Invalid signature of mixed HTML/Plaintext E-Mails

while testing new security GPOs, i've found the problem that with E-Mails that contain HTML and Plaintext, Outlook always complains about invalid signatures or tempered messages, even though with the ...
Björn Max Jakobsen's user avatar
3 votes
1 answer
356 views

Large file download from self hosted website

Sorry if the question is simple, I am new to web development and self-hosted servers. We have a self hosted website, which is supposed to have a button to download a large zip file (1 GB). For this, ...
eugenio_chisari's user avatar
1 vote
2 answers
3k views

Outlook not properly displaying html emails

After a power outage (possibly complete coincidence but suspicious) Outlook 365 (desktop version) on 3 different Windows 10 machines (same Windows account), will load but not display HTML emails. Non ...
Rik's user avatar
  • 11
0 votes
1 answer
924 views

Need help configuring NGINX to serve both html & php files

I'm really out of luck today. I don't know what it is, but I can't get NGINX to do, what it should do. I want to achieve the following: domain.com shows index.html (/var/www/domain/index.html) domain....
lxxrxtz's user avatar
0 votes
0 answers
41 views

httpd - operating source html in compressed format

For the sake of storage limitation I was wondering if the webpages stored in my open source router firmware could be individually compressed to reduce demand on flash. So index.html would be stored as ...
rs232's user avatar
  • 105
1 vote
1 answer
666 views

Display html files with another file extension on Apache server

One of our systems generates files with an .asp extension that actually only html. I need to display those files on an Apache httpd server, which doesn't like asp files. Is there a way to indicate to ...
Alexis Dufrenoy's user avatar
0 votes
0 answers
528 views

How can I retrieve a specific value in nginx from the form data..?

I am a newbie in Nginx. I want to fetch a particular value "en" from this form data in Nginx ($request_body) "csrfmiddlewaretoken=...
aks's user avatar
  • 57
3 votes
1 answer
2k views

Why is my .htaccess and .htpasswd not working?

I have .htaccess and .htpasswd files in the directory that has png files that I want to protect. .htaccess AuthType Basic AuthName "Co to za nielegalne grzebanie w plikach, juz dzwonie na ...
Wungiel's user avatar
  • 31
0 votes
0 answers
816 views

php returns error code 127 persistently from exec/shell_exec python script even though script file is found in php by ls-al

I'm using a CentOS x86-64 Linux server, trying to run a python script from a php script called by an html-script. This is a well-covered topic on the internet, however nothing of the instructions and ...
Anthony's user avatar
0 votes
1 answer
100 views

Image displaying in a browser but not in a HTML compiler

My image is displaying correctly in a browser, but when i use the image link inside an HTML compiler, its showing a broken image symbol. Image link : http://winterminer.com/glogo.png <img src="...
Ragav's user avatar
  • 98
1 vote
0 answers
92 views

WordPress+HTML -> Moodle

One has a site with a lot of (a lot of a lot of) pages in HTML. The pages are managed through WordPress and includ motions, different fonts, videos, images, etc., ie, are elaborated pages. Because of ...
Quiet_waters's user avatar
1 vote
1 answer
164 views

Encoding error on just one server

I run several servers, one for development, one for client testing and another for production. I have a character encoding issue (the old "question marks in diamonds" appearing instead of ...
John Korchok's user avatar
-3 votes
1 answer
153 views

Upload website in a rented cloud server [closed]

I have access to a cloud server by IONOS. My domain has been connected to this server. Now the next step is to create a website and upload it. I have no experience in doing that. I use FileZilla to ...
ParisIo's user avatar
  • 13
1 vote
2 answers
10k views

HOW To set htaccess to enable embed in iframe from another website [closed]

I have these 2 servers, one with virtual tour folder in it eg: 1st server: somevirtualserver.com/vr/propertygood then other server: virtualviewer.com/virtualpage/index.html and I want to embed it in ...
Jay Chou's user avatar
0 votes
1 answer
56 views

how to parse some mails from html code [closed]

I want to build a little bash script to detect some mails in a HTML-code. currently, I am not sure how can I build the right regex to auto-detect emails from HTML. I tried this regex with curl: egrep -...
cyno's user avatar
  • 3
0 votes
1 answer
629 views

CentOS: convert HTML `<br>` tags to bash `\n\r` on the fly?

this is a tough question to pose and i'm not entirely sure this is the right place for it, but my question is this: how can i convert <br> tags to \n\r characters on the fly when running a PHP ...
WhiteRau's user avatar
  • 107
4 votes
1 answer
14k views

How do I copy/paste to a VM console window in the VMware ESXi HTML interface?

I have an Ubuntu VM in an instance of VMware ESXi 6.7.0. I am using Chrome to access the VM console in the HTML interface of VMware ESXi. (I do not have SSH access to the VM.) I would like to copy/...
pacoverflow's user avatar
0 votes
1 answer
77 views

Api request that return virtualHosts list name or ip

Is there a way for send a request to apache web server and it be returned list of all virtualHosts, name or ip address? Can be done it with some api? I Know that executing apache2ctl -S I get info on ...
zab nicola's user avatar
0 votes
0 answers
23 views

Weekly automated check to see if a script is still present in a homepage

I work with several hotels that installed a script (unique for each) in their website to add some tools offered by my company. Sometimes they change their home page or their booking engine without ...
Lorenzo's user avatar
0 votes
0 answers
25 views

Loading site within a site

I have a question because I'm not sure how to approach this and don't know if my thinking is correct. I have a Linux Server (CentOS/RHEL 7). On that server I have an application - r-shiny. It creates ...
Moorti's user avatar
  • 3
0 votes
0 answers
37 views

How do I block site redirects from injections ads?

I have a site where I have various advertisements from a few advertiser , and from time to time my site is redirected how many other porn sites etc ... I installed anti adblock script because I gain ...
Andrei Constantin's user avatar
0 votes
1 answer
2k views

Nginx handle multiple htmls in different for different locations in same server

I want to deploy my react app's in nginx under the same server, serving different html's for different locations, I have tried below configuration but it din't work for me server { listen 8080; ...
Sumanth Madishetty's user avatar
2 votes
1 answer
1k views

Google Cloud Services Content Security Policy Issues

I have a static web site hosted in a bucket that I serve up via the Google Platform. This site has been running with no problems for about 6 months but over the last month I have had intermittent ...
evoelise's user avatar
2 votes
1 answer
1k views

nginx SSI: how to echo html?

As a sanity test, at the head of my HTML page, I'm trying to do a very simple SSI echo to indicate to the browser that SSI is working: index.html: <script>var ssi_enabled = false</script>...
Ryan Griggs's user avatar
0 votes
1 answer
73 views

How could this URL possibly be working?

I have inherited a system I am trying to reverse engineer to make modifications. There is a program that generates a URL to listen to recordings. It looks like this: http://recordings.myserver.com/...
jerryrig's user avatar
  • 141
2 votes
2 answers
664 views

Force a HTML form to submit over IPv4

I have a web page that has a simple HTML form in it, like so: <form method="POST" action="/something"> <input type="text" name="something"> <input type="submit" value="Send"> &...
Florian Bach's user avatar
1 vote
0 answers
1k views

AWS Lambda: How to install linux dependency packages?

I'm trying to perform HTML to PDF conversion with class library in AWS lambda function. The HTML converter has some dependency packages to be installed in the environment where the conversion takes ...
Prakash 's user avatar
0 votes
1 answer
371 views

IIS .php file strange behaviour

I need to host a php based website on IIS and I have come across some strange behaviour of .php files. When I try to open index.php, I get the white screen of death. There are no error logs (I ...
Solilim's user avatar
  • 101
1 vote
0 answers
34 views

IIS backup physical path

I am new to IIS and currently doing a lab on company. So I have 2 volumes, each stored the same html files that use to display the IIS web. Is there a way to set my physical path to point up to both ...
Duy Le's user avatar
  • 25
2 votes
1 answer
484 views

How to edit files from localhost via lynx?

I want to optimize a site for viewing with lynx. If I view any HTML file from outside of the DocumentRoot, I am able to edit and save these files inside lynx with keystroke e, which invokes vim. ...
John Goofy's user avatar
-1 votes
1 answer
197 views

Why html output aborts before the php code execution?

I have a file named x.php in /var/www/html that looks like <html> <head> <title>-_-</title> </head> <body> <h1>Table</h1> <?php mysqli_report(...
John Goofy's user avatar
0 votes
0 answers
3k views

error: rewrite or internal redirection cycle while internally redirecting to "/index.html"

I have a problem with nginx configuration. Everything worked fine in Docker, but I had to resign from Docker, and things started to happen. Actually I get an 500 internal server error when trying to ...
hc0re's user avatar
  • 101

1
2 3 4 5