Questions tagged [html]
The html tag has no usage guidance.
216
questions
0
votes
0
answers
204
views
nginx set up reverse proxy from subfolder to a port
I'm trying to set up a Nginx reverse proxy and I'm slowly losing my mind trying to figure it out.
I have my Nginx server listening at 80, and it performs great. I have a page with a form where I want ...
0
votes
0
answers
51
views
Confirm these 301 redirects are correctly setup in my htaccess file
i have in my root directory my english page and in subdirectory folder arabic page but the rule but as per https://htaccess.madewithlove.com/ :
RewriteCond %{HTTP_HOST} ^arianamedicaretour\.com$ [NC]
...
0
votes
1
answer
83
views
how to redirect entire my website in multilingual html website
i have a multilingual website, Arabic and English, my English pages its in rood directory and Arabic pages its in folder name ar; but i got my auditing report that; Search engines see
www....
0
votes
0
answers
47
views
add redirection to directory and subdirectory
A have a multilingual website in English and Arabic. I add the redirection code in .htaccess but only English pages are redirected and my (sub directory ar) its not working.
I want to know how I can ...
0
votes
1
answer
351
views
How to convert text file from BASH to HTML?
I already extract some text from bash using command "systemctl status ddos.service" bellow :
But, when I generate report in html for text that I extract above, it show all text in one line, ...
0
votes
0
answers
86
views
wordpress mixed content error - Is resolution on GCP possible?
I have a python flask-cors code that is run on GCP compute engine and presents its output on port 3001. Lets say the physical address of my server instance is x1.x2.x3.x4.
I have a Javascript file ...
0
votes
0
answers
160
views
Install correctly an website on nginx but showing 'Cannot GET /'
I am actually using a php website connect to another nodejs server like client side server side.
After many error and fix I get the error
404 Cannot GET /
Like the server want to get the index.php ...
0
votes
0
answers
134
views
Apache2: html_proxy does not kick in?
I am serving a webapp through reverse proxy (external https://myserver.com/test is proxied to that server's :8052/), and I would like to rewrite HTML links to make it functional; but they are left as-...
0
votes
2
answers
451
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 &...
0
votes
0
answers
57
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 ...
0
votes
1
answer
138
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 ...
0
votes
1
answer
158
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=$(...
0
votes
1
answer
2k
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 ...
1
vote
1
answer
1k
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-...
1
vote
0
answers
38
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 ...
0
votes
0
answers
77
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 ...
1
vote
0
answers
8k
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....
0
votes
1
answer
861
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 ...
1
vote
0
answers
312
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
...
0
votes
2
answers
965
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 ...
0
votes
0
answers
4k
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 ...
0
votes
0
answers
2k
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 ...
1
vote
0
answers
313
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 {
..
...
...
0
votes
2
answers
1k
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 ...
0
votes
1
answer
167
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 ...
3
votes
1
answer
551
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, ...
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 ...
0
votes
1
answer
2k
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....
0
votes
0
answers
42
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 ...
1
vote
1
answer
913
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 ...
0
votes
0
answers
768
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=...
3
votes
1
answer
3k
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 ...
0
votes
0
answers
956
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 ...
0
votes
1
answer
131
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="...
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 ...
1
vote
1
answer
253
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 ...
-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 ...
1
vote
2
answers
12k
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 ...
0
votes
1
answer
63
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 -...
0
votes
1
answer
641
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 ...
6
votes
2
answers
26k
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/...
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 ...
0
votes
0
answers
24
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 ...
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 ...
0
votes
0
answers
46
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 ...
0
votes
1
answer
3k
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;
...
3
votes
1
answer
2k
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 ...
2
votes
1
answer
2k
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>...
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/...
2
votes
2
answers
868
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">
&...