We help IT Professionals succeed at work.

Web Servers

32K

Solutions

21K

Contributors

A web server refers to the software that helps to deliver web content that can be accessed either through the Internet or through an intranet. The primary function of a web server is to store, process and deliver web pages to clients. The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP). The most common use of web servers is to host websites, but there are other uses such as gaming, data storage, running enterprise applications, handling email, FTP, etc.

Is there a way on a Linux Server to set up a monitor to watch all incoming and outgoing traffic?

Kind of like watching a running log of all of the inbound requests and then what is being sent out?
0
Hi,

This is related to https://www.experts-exchange.com/questions/29173852/phpmailer-mailbox-unavailable.html

I’m testing sending out automated emails from http://selfregistration.iwscc.ca/email_test/index.php but not all are going through. For example, when I send to aleks@iwscc.ca I get “..mailbox unavailable or not local…”.

Please ignore “email sent” in this instance, because I quickly wrote the script without any error testing. However, it is sending to the following

aleks@aces-project.com (hosted by Microsoft, also mailbox is not local, but working)

apdcompany@gmail.ca (hosted by Google, not local and working)

One thing that I found strange when receiving the credentials for aleks@iwscc.ca as user is that said that if I want to encrypt emails, I need to purchase SSL. I know usually the SSL is for the server side, not client side. I am thinking that maybe that the iwscc.ca is some type of a budget server, but I cannot see how this relates to my script, which is at another server, and it should come down to sending a regular email. Manually, you are  able to email aleks@iwscc.ca.

What could it be?
0
I am new to URL rewite module in IIS and can not seem to get my pattern correct;
Below is the URL that needs to be rewritten:

https://www.mmm.com/JACCC/clients/clientnbr?id=123

OR it can be

https://www.mmm.com/JACKK/clients/clientnbr?id=123

Open in new window


I need to redirect it to

https:/apps.mmm.com/JAZ/clients/clientnbr?id=123

Open in new window


I am stuck:

This is as far as I got with the pattern matching:
^www.mmm.com/([a-z,A-Z])/^JAC([j,a,c,J,A,C])/^clientnbr([a-z,A-Z])/^id([0-9])

Open in new window


And my rewrite URL is

https://apps.furry.com.DogLive/client/clientnbr?id={R:1}

Could someone help me please ??
1
Difference Between Apachectl and Httpd .Is apachectl -k start or httpd -k start  both the same .we have a pid file by the name httpd.pid but not apachectl.pid what is the difference .


pgrep httpd|head -5
6894
7971
8439
8946
9038
$ pgrep apache|head -5
$ pgrep apachectl|head -5
$ ps -ef|grep httpd|wc -l
58
$ ps -ef|grep apache|wc -l
71
$ ps -ef|grep apachectl|wc -l
1

$ ps -ef|grep apache|head -5

root      6894     1  0 23:13 ?        apache-2.2.22//bin/httpd -k start
root      6895  6894  0 23:13 ?        apache-2.2.22/logs/error.log_%Y%m%d 10M
root      6896  6894  0 23:13 ?        apache-2.2.22/logs/access.log_%Y%m%d 10M
root      6897  6894  0 23:13 ?        apache-2.2.22/logs/access.log_%Y%m%d 10M
root      6898  6894  0 23:13 ?        apache-2.2.22/logs/ssl_request.log_%Y%m%d 10M
daemon    6900     1  0 23:13 ?        00:00:00 LLAWP /apache-2.2.22/conf/WebAgent.conf -APACH
root      6906  6894  0 23:13 ?        apache-2.2.22/logs/mod_jk.log_%Y%m%d 10M
daemon    8946  6894  0 23:25 ?        /apache-2.2.22//bin/httpd -k start
daemon    9255  6894  0 23:27 ?    apache-2.2.22//bin/httpd -k start
daemon    9617  6894  0 23:29 ?        /apache-2.2.22//bin/httpd -k start


 ps -ef|grep httpd|head -5
root      6894     1  0 23:13 ?            apache-2.2.22//bin/httpd -k start
daemon    8439  6894  0 23:21 ?        /apache-2.2.22//bin/httpd -k start
daemon    8946  6894  0 23:25 ?        apache-2.2.22//bin/httpd -k start
daemon    9038  6894…
0
Hi Experts,

If you go to www.iwscc.ca you will see in the header 2 orange buttons: Corporate and Self-Registration, both going to #

Under WP Admin, I see that this theme is called Nonprofit, and the buttons are set in Theme Options >Address Bar, and ou will see in the snapshot that I can set the buttons label, but not the url. My questions are...

1- How do I remove the Corporate button? If I leave it blank, I just get an orange square.

2- How can I actually set an url to these?

I know I can create a child theme, and address #1 with CSS and #2 with JS, but I think there should be an easier way since the theme provides these buttons.

BTW- even though in the screenshot it says Webdivia, under themes it says Nonprofit. I just inherited this website.

Thank you,
wp admin
0
Got the following high risk penetration test finding on a platform which we
develop on (from a vendor called K2).  Vendor is rather inflexible in fixing
such issues & have to wait for ages for next release.


Presume any ONE of the 3 mitigations below suffice.  How do we go about
implementing mitigation #1 & #2 below?   Web server is IIS.

If more details are needed, can sanitize the screens & attach later.


Description:
=========
The application allows interference with the way it processes sequences of HTTP requests that are received from one or more users.

The attacker can cause part of the front-end request to be interpreted by the back-end server as the start of the next request. It is effectively prepended to the next request, and so can interfere with the way the application processes that request.

It was possible to smuggle an HTTP request to the server by obfuscating Transfer-Encoding header. When the front-end/proxy server encounters obfuscated transfer-Encoding header, it uses Content-Length header to process the request. When the same HTTP request is forwarded to the backend/application server, Transfer-Encoding header is interpreted, thus splitting the smuggled attack request from the original request. In such a case, the attack request can interfere with the processing of next request which might be sent by any end user during the time of attack. During our testing, it was possible to receive a response from the server causing an open …
0
Public DNS issue
My company uses Bind DNS for our public DNS.  
We are trying to create an easy web address to type for specific customers.  We want that address to point to a specific place on one of our public web servers.  This web server then redirects them to another 3rd party web site on a specific area on that site.  What i'm think should work, isn't working.

(1) In the BIND public DNS server I have the alias quest.careatc.com pointing to portal,careatc.com/pha/quest using the a record.
(2) portal,careatc.com/pha/quest is an actual web server that then redirects to https://appointment.questdiagnostics.com/schedule/appointment?labcard=false&reasonforvisit=PHLEBOTOMY

Number 2 above works when typed into a browser. It forward me to the link.  
Number 1 above doesnt resolve and redirect to the #2 link
When I do a public DNS lookup on quest.careatc.com, it shows that it goes to portal,careatc.com/pha/quest
Im not sure what is wrong besides something I am doing.
0
Data encryption from App to web. We have apache 2.4 version as web servers. Tomcat 9 version as app server.

Updated configuration in web servers as shown below. Apache version is 2.4.
Listen 443
<VirtualHost *:443>

  ServerName ej.dev.nsf.gov
  SSLCertificateFile "/etc/httpd24/conf.d/certs/servercert.cer"
  SSLCertificateKeyFile "/etc/httpd24/conf.d/certs/server.key"
  SSLEngine on
  DocumentRoot "/var/www/httpd24/html"

Port used in web server as 443.

[root@s-web-l-ej01 conf.d]# netstat -na | grep 443

tcp6       0      0 :::443                  :::*                    LISTEN


Configuration in App server as shown below. Version is Tomcat 9.

<Connector port="8443" maxThreads="150" scheme="https" secure="true" SSLEnabled="true"
        keystoreFile="/usr/share/tomcat/conf/certs/server.jks" keystorePass="nsf1234"
        clientAuth="false" sslProtocol="TLS"/>

Port using in App server is 8443.

F5 has been updated from port 80 to 443.

Issue is Not able to access Application url. Please help me in resolving the issue. I am ok with webex session.
0
Hi Experts,

Is there an online tool where I can paste contents from a .log file into?

My client's VPS with Bluehost (not my choice) keeps going down, and I want to find out why?
0
I have a client who has three user's who without any changes last week started to get the error where when they try to logon to a secure web site they get the error attached,
four other users have no issue with this web site. works fine, whats more strange they have a laptop where two of the user have there login account an it won't work on the laptop either on there user name but works fine on the laptop when logged as others, the laptop gives the same error in or out the office.
there is only on web site with this issue they have no trouble logging on to a number of others, and up to a week ago had no issues with this one.
0
Hi,
I want to have 2 more separate lines between word "Logon Page" and user name below. How to adjust it? How to also center "Logon Page" on the line?

        <div class="container" style="background:url('./pict/ID-10028343.jpg');border: 0px solid green;background-color: C9D3DD;background-size: cover;background-repeat: no-repeat;width:1200px;height:800px;font-family:Verdana;font-size:14px;">
          <form action="page.php" method="POST">
          <div class="row" style="border: 0px solid red;">
                <div class="col" style="border: 0px solid blue;"></div>
                <div class="col"></div>
                <div class="col text-center" style="border: 0px solid orange;foreground-color: 848484;font-size:18px;"><b>Logon Page</b></div>
                <div class="col"></div>

                <div class="col" style="border: 0px solid blue;"></div>
                <div class="col text-right" style="border: 0px solid orange;"><b>Username:</b></div>
                <div class="col" style="border: 0px solid yellow;"><input type="text" name="username" style="background-color: white;" /></div>
                <div class="col"></div>

                <div class="w-100"></div>

                <div class="col" style="border: 0px solid blue;"></div>
                <div class="col text-right" style="border: 0px solid orange;"><b>Password:</b></div>
                <div class="col" style="border: 0px solid yellow;"><input type="password" name="password" 

Open in new window

0
How do I resolve "Mixed Content: The page at 'https://win.interstagebpm.com/social/' was loaded over a secure connection, but contains a form that targets an insecure endpoint 'http://win.interstagebpm.com/social/index.php/login'. This endpoint should be made available over a secure connection." ?

I'm trying to get the php forms to load but they aren't, what am I missing?


I'm using nginx to reverse proxy apache which is hosting the social engine platform on 8080.

Apache is running port 80 and there is a https certificate as well

Here is my nginx file:

server {
    server_name  win.interstagebpm.com;

    #charset koi8-r;
    #access_log  /var/log/nginx/host.access.log  main;

    location / {
        #root   /usr/share/nginx/html; default page.. remove hash and this comment after ; 
        root    /var/www/html;
        index  index.php index.html index.htm;
        try_files $uri $uri/ =404;
    }

    location /aa/ {
        proxy_cookie_path / /aa/;
    proxy_pass http://win.interstagebpm.com:49950/aa/;
    }


     location ~ \.php$ {
        
        proxy_set_header X-Real-IP  $remote_addr;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header Host $host;
        proxy_pass http://127.0.0.1:8008;
	proxy_redirect http:// https://;
         }

         location ~ /\.ht {
                deny all;
        }
    #error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    #
 

Open in new window

0
Hi,

I have a static public website I've hosted for years and it is running under IIS 10.  Late this afternoon it started returning a "HTTP Error 503. The service is unavailable."

Restarted it, no change. Deleted/redefined the site in IIS, same thing.   Tried enabling failed request tracing and nothing is showing up.

If I define an 'example.com' entry and point to it via the hosts file, it comes up fine.

Never seen this before.  Any ideas?

--Ben
0
In the nginx.conf I have following line

   # all the virtual hosts
    include vhosts/*.conf;

Now I keep on adding new config file under vhosts directory and then I reload the nginx. Now my script add the custom server_name  web1.example.com; in config files

so while adding the config file I do not check if any of the existing config under vhosts directory already have a server_name web1.example.com. So I am wondering what will happen if multiple config file has same server_name. Isnt' there going to be conflict as each config has different proxy_pass address. I would like to know how to what happen in such case of duplicate server_name and what is the best practice.

Thanks in advance!
0
Can you please tell me what this error means?  Thanks.

Error in CSS
<?php
$title = "Home";
$content = '<img src="Images/coffee1.png" class="imgLeft" />
<h3>Title 1</h3>
<p>
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.    
</p>

<img src="Images/coffee2.png" class="imgRight"/>
<h3>Title 2</h3>
<p>
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is under construction. This Coffee web site is under construction.
    This Coffee web site is 

Open in new window

0
I am constantly changing my nginx configuration. I am wondering if there is way to auto reload/restart nginx whenever there is change in its config file.
0
Hi Experts

Could you tell me if the only way to use debbuger( similar tha .net has, dinamically breaking line to line) in PHP is through the PHPStorm tool or are there any other ways and tools?

Thanks in advance!
0
Hi there.

I have an issue.. (BIG surprise  ;-)  )
I run a web database in classic asp on a web-server with connection to a Microsoft SQL Server. So far I used a classic connection string like this:

"Driver={SQL Server};Server=server.name;Database=databasename;Uid=user;Pwd=password"

That worked with no issue. The SQL Server is version 10.50.6220.0.

Now the SQL Server will be updated to version 14.0.1000.169 and everything moved from the old to the new one.
I'm running some tests to make sure that everything works. Do note that I'm just one of many users and has been granted access to the server for this project. I can't change any settings on any of the servers.

Now... the issue is that I can't make the simplest page work that pulls some data from the new SQL Server. I ran a similar page connected to the old SQL Server, and that works fine.

So the big question is: What is causing the problem?
Does the newer SQL Server require different connection string?
Any security settings?

I tried server-name as well as IP-address. I tried to add port number. No change.

Some IT specialists are working on the problem. They tried to run a Telnet on the web-server to connect to the new SQL Server, and that worked fine. The more it doesn't make sense that it won't work with a SQL request from a web-page. If it matters: It uses the 1433 port. And they copied all user info and grants from the old to the new SQL Server.

Any suggestions? Maybe even solutions? The IT…
0
I am trying to figure out where apache tomcat 7.0.93 sits within the suppliers support lifecycle, can anyone advise?
0
How to identify and track all Certificates on domain servers? What are best practices? Are there third party tools out there?

- I have CA Authority Server on my network domain.

- I consolidated my public Certificates with GoDaddy.

There are some powershell scripts which list all expiring certificates on domain joined servers as for example:

Invoke-Command -ComputerName (get-adcomputer -LDAPFilter "(&(objectCategory=computer)(operatingSystem=Windows Server*)(!serviceprincipalname=*MSClusterVirtualServer*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))" -Property name | sort-object Name).Name -Command {
   get-childitem cert:LocalMachine\My -recurse | where-object {$_.NotAfter -gt (get-date)} | select Subject,FriendlyName,Thumbprint,@{Name="Expires in (Days)";Expression={($_.NotAfter).subtract([DateTime]::Now).days}} | where "Expires in (Days)" -lt 90  
  }


But I wonder if there is something better out there? How to go about reminders? It would be nice to have some tool.

Please let me know what do you think and recommend?
0
Hi EE,

Lodged one our IIS webservers today to check on an issue and I got the following error message:

PROBLEM
Unable to connect to the database.
The error message returned was:
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

Then I restarted the IIS Server

Now, this error message appears.

Runtime Error
Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.

I rebooted the server entirely at this point but the issue still persists.

No updates have applied to the server recently. How would I go about troubleshooting this any assistance is appreciated.

Running windows server 2016 IIS v10.

Thank you.
0
Hi Experts

Could you point how to automatize SMS generation by using data from a SGBD?

It is a relativetely simple to generate emails on that context  but SMS is a telecom  feature.

Thanks in advance
0
Hi Experts

 Could you point how to automatize information transactions between systems on this challenger scenario?

A web site called  PMS stores all the information we need to create our booking portal, it holds the list of houses, the availability calendar of these houses, photos, descriptions and prices traded.

To get this information, however, we have a difficult mission, as PMS does not provide any integration APIs. Customer may provide us with credentials for access to the PMS, which is accessible through the web browser.

Could you point if a possible solution on this scenario in general lines, to give a starting point, maybe by using a robot.

Thanks in advance!
0
What are people referring to when they say 'website tool'.  I don't think they mean tool used to create website.  I think users may use 'website tool' to make their life or work easier?  What are some examples of website tools that are in use?  How can I use website tool to see what it does?
0
One of our staff users  is having an issue with any website on any of our 3 dedicated Pair networks servers being unusable slow, almost to non-functionality.... none of the rest of us are seeing any issue whatsoever. She says all other websites load fine... its just websites on our 3 web servers that are very very slow, almost unusable. Have you ever heard of something like that? She uses a Mac, has emptied all cache, rebooted, speed tests, the works, everything is fine for her except the sites she visits on our 3 web servers. We are not all at the same IP... she works from home, like a few of us do, and shes the only one with an issue. Pair says they see nothing wrong.
0

Web Servers

32K

Solutions

21K

Contributors

A web server refers to the software that helps to deliver web content that can be accessed either through the Internet or through an intranet. The primary function of a web server is to store, process and deliver web pages to clients. The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP). The most common use of web servers is to host websites, but there are other uses such as gaming, data storage, running enterprise applications, handling email, FTP, etc.