Questions tagged [html]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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
2answers
67 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
1answer
47 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 ...
2
votes
1answer
68 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
2answers
526 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
1answer
36 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
0answers
28 views

postfix on ubuntu can only send plain text email instead of HTML

I have a digitalocean VPS with postfix installed. I got the multidomain email going with virtual aliases, but i was only able to send out plain text email. HTML formated emails are being send but ...
0
votes
0answers
28 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 ...
0
votes
0answers
143 views

NGINX not serving a maybe static HTML File

About my setup: I have an npm-app running that is using React and the index.html file is located in /var/www/example.com/new/frontend/public. I'm using Debian 10 with the app listening on port 8080 (...
1
vote
1answer
93 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
0answers
65 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=...
1
vote
1answer
53 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
0answers
16 views

How do I need to organize the file structure of my VPS so that my "Hello World!" gets printed on example.com?

Noob here. I have a VPS, which has a folder path /var/www/html. If I place a .html there, it gets displayed on example.com. But, I want to use the further-down-pasted nodejs instead. Now the html ...
0
votes
0answers
325 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
1answer
35 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
0answers
83 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
1answer
73 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
1answer
132 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
2answers
3k 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
1answer
41 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
1answer
609 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 ...
2
votes
1answer
3k 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
1answer
70 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
0answers
17 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
0answers
21 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
0answers
23 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
1answer
430 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; ...
2
votes
1answer
437 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 ...
0
votes
1answer
623 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
1answer
70 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
2answers
361 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"> &...
1
vote
0answers
705 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 ...
0
votes
1answer
135 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 ...
1
vote
0answers
27 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 ...
2
votes
1answer
158 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. ...
-1
votes
1answer
182 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(...
0
votes
0answers
2k 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 ...
-1
votes
1answer
104 views

Relative URL is relative to wrong absolute URL on web

Background I am building a website. The files are: /index.php /pic.jpg /dir/index.php /dir/pic.jpg As we know, people can visit my site's dir/index.php page using different URLs: 1. site.com/dir ...
0
votes
0answers
62 views

Was My Wordpress Site Hacked? [duplicate]

I just checked my WordPress site (Wherehouse MKE) and there is this bar that runs across the top of the page and when you click anywhere on the site it wants to open a spam page. Lucky the ...
1
vote
1answer
551 views

How to prevent other websites from loading resources from our webserver?

I have some icons and images on my server. How can I prevent that other websites can use them? Let's assume the website www.evil.com is loading our images on their site e.g. <img src="www.oursite....
1
vote
1answer
469 views

Nginx webserver com html static website redirect 500 internal error

I have a static html website on a Nginx web server. For a contact form I use the Formspree service. <form action="https://formspree.io/your@email.com" method="POST"> <input type="...
0
votes
1answer
7k views

Apache custom 404 page not loading

I am trying to set up a custom error page for 404 error on my apache server. Here is what I am included in the Virtualhost <VirtualHost *:80> ErrorDocument 404 /var/www/html/mant.html </...
0
votes
1answer
2k views

Cannot run php within html on nginx

I am trying to run php within html on an nginx server. What happens is that the php code within the html just gets printed, not executed. I can run php stanadalone scripts fine. but not ones within ...
1
vote
1answer
190 views

After switching site to https, form submission stops working

I have a simple HTML form on my site: <form action="/evaluation_form" method="post" enctype="multipart/form-data"> ... <input type="submit" name="save" value="Submit" id="submit-id-save"> ...
0
votes
1answer
10k views

Redirect tomcat default page to directly open application

I want to redirect tomcat to directly open my application. Example: http://localhost:8080/myapp should directly open as http://localhost:8080/. I read various articles and solutions from the web and ...
1
vote
1answer
1k views

Why HTACCESS RewriteCond %{HTTP_COOKIE} only for php and not working for html?

I was trying to redirect all direct access in my subfolder using this code RewriteEngine on RewriteCond %{HTTP_COOKIE} !user_cookie=[^;] RewriteRule .* http://webhost.org/ [R=301,L] I realise it ...
1
vote
1answer
3k views

Nginx not applying CSS file

I'm using the dynamic module 'fancyindex' on Nginx and am attempting to load an external css file into these fancyindex 'ed pages. The following is the config file in my sites-available directory : ...
0
votes
1answer
8k views

Powershell send-mail message, how to put line break in body variable

I am searching for a string in multiple files within a folder. If I get that string, then I would like to email all these folders which have this string. I have figured all that out and have adjusted ...
1
vote
2answers
677 views

Regex works everywhere ( tried regex101 and regstorm.net) except Powershell

I have tried various different combos and already checked other similar posts, but can't find my answer. I have a .config file and I need to exclude the comments from the file when I do my search, ...
2
votes
2answers
5k views

Launch HTML file in Chrome with parameters

I want to create a shortcut that launches chrome with an HTML file in the same directory as the shortcut. I also need it to launch chrome with the following parameters --new-window --disable-web-...