Questions tagged [html]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

how to parse some mails from html code

i want to build a little bashscript to detect some mails in a html-code. currently i am not sure how can i build the right regex to auto detect mails from html. i tried this regex with curl: egrep -o &...
0
votes
1answer
607 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 ...
1
vote
1answer
49 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
0answers
22 views

Web site is getting redirect to white page

My web site(http://ddfacebook.com/index.php had continued to run successfully so far. But Recently it is showing a white page and I do not know the reseason for that. When calling the PHP files it ...
0
votes
1answer
66 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
20 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
0answers
25 views

htaccess redirection duplicating /foo/foo/foo

I'm digging all resources but cannot find the solution. My website has multiple languages. It is basically adding ?lang=cn etc. and I'm turning it to a fake folder via htaccess with following code. ...
0
votes
1answer
44 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; ...
1
vote
0answers
105 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
0answers
27 views

Specific time range intervals for the user

While using a start_time and end_time in an HTML file for django application. I have used the time tag as follows: <div>Start Time <input type="time" min="" max="" id="" name="start_time">...
0
votes
1answer
239 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
69 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
265 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
440 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
77 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
86 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
167 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
846 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
27 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 ...
0
votes
1answer
203 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
393 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
5k 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
1k 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
158 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
8k 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
750 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
2k 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
7k 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
577 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
3k 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-...
0
votes
0answers
109 views

My Cloudflare-connected website is not updating

I have a website hosted via ByetHost and the site is connected to Cloudflare, I want to update the site after a month of publishing. When i uploaded the updated HTML files via Filezilla, the site ...
-5
votes
1answer
2k views

How to make custom router login page? [closed]

I am trying to make a custom router login page. I want the user to ridirected to the login page when he/she connects to the wifi network. How can i make such a login /registration system?
0
votes
0answers
793 views

Nginx nodejs site static content - 404 error but works when access direct via ip

I am trying to use nginx with my nodejs site, but i am having issues with the nginx configuration. Initially i couldn't get my css or images to display but i fixed that by adding: location /images { ...
-3
votes
1answer
86 views

Create a server to host a website using old pc

Good Afternoon, sorry if its not the right place to ask this question. I have to make a project, a website, for university, and the client wants to see the progress until the project is finished. ...
0
votes
0answers
219 views

Outlook HTML message going to Spam

I have a 3 or 4 users in our company whose emails consistently goes the recipient's spam folder. Whether it's gmail, yahoo, or another email provider. We run an in house Exchange 2010 server. None of ...
-1
votes
1answer
362 views

MRTG - HTML buttons to index page

My goal is to include HTML buttons in the Index page in order to classify my MRTG page in different subcategories. Right now what I have done is to make 6 empty graphs with a .png created by myself ...
1
vote
2answers
865 views

How to deny access to a certain HTML file

I know how to deny access to all websites but I want to know how to deny access to an IP to the website test.html using NGINX
0
votes
0answers
173 views

Using IIS, is it possible to use URL Rewrite to direct it to a specific HTML page?

I am configuring a web map application using IIS and GeoServer (installed through OpenGeoSuite) on an AWS EC2 instance. Using this tutorial (http://www.cartoninjas.net/post/Installing-GeoServer-on-...
0
votes
1answer
446 views

Contact form from ubuntu to Zoho email address

I would like some support in order to get my Postfix configuration working with my Zoho email account. What I am trying to do is to send a message from my contact form in http://www.g3eo.com/#!/...
-3
votes
1answer
71 views

What is a light-weight OS X server? [closed]

After writing foo.html with some CSS and some JavaScript, I test it on Safari, Firefox, and Chrome, and see that all is well. I'd now like to debug the files on iOS and Android. What is the lightest ...
0
votes
1answer
244 views

Nginx serving index.html fine, but requests for assets are bad

i have the following nginx config: server { listen 80; listen [::]:80; listen 443; listen [::]:443; server_name oreqizer.com; ...
1
vote
1answer
296 views

SeaFile HTML Customization

I have installed Seafile on Windows Server 2012 R2 Successfully. I am now currently branding the install and have changed the logo/colours fine. However, I wish to override some of the HTML (Like ...
1
vote
1answer
895 views

Problems with GoDaddy DNS masking and html viewport

I set up a DNS masking for my GoDaddy domain so that my Amazon EC2 url wouldn't be shown to the user. Instead of the original index.html returned by Nginx the user now gets it wrapped in some GoDaddy ...
0
votes
1answer
2k views

How to use NGINX with templating?

Is there any way to do templating in nginx? For example, if I have a file like this: {header} <h1>This is a header</h1> This is not a header {footer} and then use NGINX to replace {...
0
votes
1answer
2k views

Webserver running very slow

I am going to attempt to post all relevant information to my problem so I don't get downvoted. Any help/guidance will be much appreciated. 2 days ago, my website: http://ianon.info , http://ianon....
0
votes
1answer
2k views

images not displaying with squid proxy page

We are using a Red Hat 6 squid server to redirect HTTP request for custom notifications. Squid provides several built in splash pages however we are using a slightly customized one taken from a built ...