vps – Using browser to run PHP file outside www directory – get public website “page not found” instead

I have a virtual private server on which I run two different WordPress websites.

I am now trying to install SuiteCRM on the same server. Following the SuiteCRM instructions, I’ve unzipped SuiteCRM files to a folder (/opt/SuiteCRM-7.11.18/) on the server. I’m now supposed to open a browser and enter:

http://<yourServer>/<yourSuiteCRMDirectory>/install.php

Which I believe in my case is:

http://<my server's IP address>/opt/SuiteCRM-7.11.18/install.php

However, the browser simply loads a “page not found” page from one of my 2 public websites. Any ideas what needs to happen to stop my public website machinery from interfering with this request? Thanks!

wp cron – How to Run Plugin on Server Without Web Browser

I have a function that requests product data from Amazon (get_product_data()) and would like to run this on my live site either on command or at regular intervals. To save the data into the database I need to use the Pods plugin.

I have thought of two ways to do this.

  1. Run as a wp cron job: The problem is the function takes several minutes to run and the unlucky visitor who loads the page and triggers the cron job will have to wait before seeing the page.

  2. Use a normal cron job/run on the server somehow (?).

Ideally I want the 2nd way but how can I use the Pods plugin if it’s a normal cron job? Is there some way to load WordPress in my server without a web browser (I’m using Siteground by the way)?

I’m relatively new so I appreciate all the help!

web browser – What happens if multiple Strict-Transport-Security headers are set in the HTTP response?

If multiple Strict-Transport-Security headers are set with different settings (e.g. different max-age values), how will the browser behave? Does the browser just follow one of them, or simply error out and discard all? Is this behaviour different across various browsers?

data transfer – How to download any file to iPad from a cloud drive through the browser?

Is there a way to download files from a cloud drive to the ipad through its browser?

I made a dummy text file and uploaded to a cloud drive with a public link,
https://tinyurl.com/6whmxito
and then accessed it through the iPad through both Chrome and Safari.
The link works, but I’m not able to download the text file (or any other file).

This download-via-browser was also confirmed successful in all other non-apple devices (PC, phone, etc.).
Is there a step missing?

multilingual – Does Angular browser language detection and redirection affect SEO?

I’m building an Angular app that supports English and Japanese.

  • The main site: domain.com, is displaying in Japanese.
  • The other one: domain.com/en, is displaying in English.

There’s a logic that detect first visit to domain.com and redirect the user to the right page based on user browser language.

There’s a Phantom-based pre-render server running behind it for SEO purpose.

hreflang tags and sitemap are configured properly.

When I search the domain using Google in English, it shows me the right result in English, the first result is domain.com/en.

But for some reason, when I search using Google in Japanese, the first result is domain.com (which is correct). But the title and description are in English. The interesting part is when I check the cache version of the site (there’s a little triangle icon next to the domain, clicking it will be able to see the cache version of the site), it’s in the correct language.

I have no idea why it behaves like that.

New SSL Cert now showing up for Postfix in browser (Ubuntu, Namecheap)

I’m a newbie trying to wing it after our Sys Admin left. I needed to update our wildcard certificate and copy it onto our mail server.

I renewed the cert at Namecheap, downloaded it, and installed it on our webservers. Everything is showing up fine in a browser for websites. However, when navigating to the browser portal of our mail server, it is still showing the old cert. I have restarted Postfix, but nothing has changed.

In my /etc/postfix/main.cf:

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/wc2_mydomain.com.combined.crt
smtpd_tls_key_file = /etc/ssl/private/wc2_mydomain.com.key
smtpd_use_tls=yes

However, in the browser, it still shows the old expiration date even after postfix reload (it should be 2022):

Issued On   Wednesday, February 20, 2019 at 6:00:00 PM
Expires On  Saturday, February 20, 2021 at 5:59:59 PM

What am I missing? It’s going to be very bad if this doesn’t show up correctly come Saturday at 6:00pm.

How to download videos from cisco webex browser viewer?

My university streams lectures using Cisco webex and then uploads a link for every single lecture so we can see the recorded video like this: https://imgur.com/a/aqzpGN0

There is no way to download the recordings using cisco’s site (the section recordings is empity), so i was wondering if i could manually download them or create a program to do so. I don’t know anything about video streaming so i wouldn’t know where to start.
In the imgur file there’s a picture of the network tab if that can help.
Thank you

exposed my browser cookie of my request header

I exposed my browser cookie of my request header in a web forum.

After I realized what I have done – I logged out, cleared my browser and logged in again.

am I safe now? Can someone still use that browser cookie to impersonate me?

Should progress be retained if browser Back button is pressed during a progress tracker task?

If I have 3 steps and I’m actually in the 2nd one, what should happen when I press on the back button?

Would a user expect to maintain the previous configuration of the 1st step, or should it reset and I have to set it up again?

example of back button

linux – nginx proxy_pass works via curl but does not work with my browser

I try to set up a reverse proxy with nginx and added the proxy_pass clause – for testing purposes I forward it to google.com. My nginx.conf looks like this:

user www-data;
worker_processes auto;
pid /run/nginx.pid;
#include /etc/nginx/modules-enabled/*.conf;

events {
    worker_connections 768;
    # multi_accept on;
}


http {
    ##
    # Basic Settings
    ##

    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;
    keepalive_timeout 65;
    types_hash_max_size 2048;
    # server_tokens off;

    # server_names_hash_bucket_size 64;
    # server_name_in_redirect off;

    include /etc/nginx/mime.types;
    default_type application/octet-stream;

    ##
    # SSL Settings
    ##

    ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
    ssl_prefer_server_ciphers on;

    ##
    # Logging Settings
    ##

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    ##
    # Gzip Settings
    ##

    gzip on;

    # gzip_vary on;
    # gzip_proxied any;
    # gzip_comp_level 6;
    # gzip_buffers 16 8k;
    # gzip_http_version 1.1;
    # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;

    server {
        listen  80 default_server;
        listen (::):80;
        server_name localhost;
        location / {
                proxy_pass http://www.google.com;
        }
    }


    ##
    # Virtual Host Configs
    ##

    #include /etc/nginx/conf.d/*.conf;
    #include /etc/nginx/sites-enabled/*;
}

However, when testing it with curl http://161.35.216.150 it works just fine but when I enter the IP in my browser this does not work. The error.logdoes not show any entry and nginx -t works well.

my system is:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

There are some questions around with similar problems, however the solutions provided don’t work for me. (e.g. are suse specific or relate to includes that override the conf-file)

Thank you!