Apache Web Server





The Apache HTTP Server is a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards. Typically Apache is run on a Unix-like operating system, but it is available for a wide variety of operating systems, including Linux, Novell NetWare, Mac OS-X and Windows. Released under the Apache License, Apache is open-source software.

Share tech news, updates, or what's on your mind.

Sign up to Post

The error i get when i use port 21The error i get when i use port 21The error i get when i use port 21I have  this ftp dameon installed on my server for ftp access : psa-proftpd      1.3.5b-cos7.build1205160427.18. I am running centos 7 with a plesk 12.5 control panel. Each time i try to access port 21 with a valid user name and password i get an error. I have a screenshot of the area as an attachment to this question. I have never setup the ftpd dameon, it was installed when plesk was installed. I need help on understanding, do i need to do some manual changes to the config file of this dameon. I have firewalld and a router running, and both allow port 21 access to the real world. What can be the problem here, please help. I even check to see if the port is open from the web and it is. I am sure this issue is not hard, i just am a bit stuck at this point.
Manage your data center from practically anywhere
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

I have a text box on a php page residing on my apache web server which has the following:
"£300 plus other text lines"

The page is uft-8 encoded
The text "£300" is displayed correctly on my web server - ie the "£" sign comes across correctly
If I send the details of this text box via a php form, the "£300" comes out as "£300"

Can someone explain what is happening and how I can get rid of the £ and replace with £
I have to connect to stored procedure and get the datatable by using tomcat .
Any suggestions appreciated.
I have a Debian server with about 15 websites running fine. I added a new website and that is too running fine. However, I also want to add a ssl connection for this website, but whatever I try Apache refuses to show the website. It just shows the default debian page. I allready tried replacing the default ssl file with the file for the website, but then I get a ssl protocol error. Apachectl shows no errors, so do the logs. If I make an error in the config file apachectl gives an error, so the conf file is read by Apache. I've been figuring this out for hours, but I am completely stumped now.
   We are facing 502 proxy error: Error reading status line from remote server <dns>:<port>   when we try to  reverse proxy to Apache server from our apache server. OS is Redhat linux. A simple redirect works but not the proxy. Also we see the 200 ok only through browsers and not curl or wget commands.  We tried setting  SetEnv proxy nokeepalive 1   but still no luck. Any suggestions for the same.
Hey Guys,

I'm using WIN 2008 server and IIS6 along with Tomcat6. I'm getting timeout for a document while timeout limit is set to 200 sec at both end.
I believe below 120422 is the time it took before time out and error shown as 502.3

PDF&APPLICATION_NAME=FORM=KEY=VALUE=27086&X-ARR-CACHE-HIT=0&X-ARR-LOG-ID=********54225b6eecd0 443 - 10.*.*.* Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:52.0)+Gecko/20100101+Firefox/52.0 502 3 12002 120422
Have you ever faced such scenario?

I have run phpinfo(); and it tells me there are three modules -

v7.1, v5.6 and v5.3 in c:/program Files and c:/Program Files x86 but the only one I can find is v7.1 which I'm running.

I had installed 5.3 and 5.6 earlier and thought I had removed them but they are still listed somewhere.

Will this matter to PHP (which it doesn't at this point) or where can I find them to be removed ?

Hi experts,

I'm setting up an Apache server to host new site of my company and I have a problem with few browsers.
When a JS file is modified The change takes effect only when we empty browser cache.

We would like the change to take effect when the user closes and reopens his browser.
Is there any settings I could add to my Apache conf to solve this?

Thank you,

Hello Experts,

What's wrong with this code: ??  ( in httpd.conf )

RewriteEngine on
RewriteCond %{REMOTE_ADDR} !="[1-50]\.[0-255]\.[0-255]\.[0-255]"
RewriteRule /scripts/(.*) http://localhost:81/scripts/$1 [P,L]
RewriteRule /game/(.*) http://localhost:81/game/$1 [P,L]

RewriteCond %{REMOTE_ADDR} !="[51-99]\.[0-255]\.[0-255]\.[0-255]"
RewriteRule /scripts/(.*) http://localhost:82/scripts/$1 [P,L]
RewriteRule /game/(.*) http://localhost:82/game/$1 [P,L]

RewriteCond %{REMOTE_ADDR} !="[100-150]\.[0-255]\.[0-255]\.[0-255]"
RewriteRule /scripts/(.*) http://localhost:83/scripts/$1 [P,L]
RewriteRule /game/(.*) http://localhost:83/game/$1 [P,L]

RewriteCond %{REMOTE_ADDR} !="[151-200]\.[0-255]\.[0-255]\.[0-255]"
RewriteRule /scripts/(.*) http://localhost:84/scripts/$1 [P,L]
RewriteRule /game/(.*) http://localhost:84/game/$1 [P,L]

RewriteCond %{REMOTE_ADDR} !="[201-255]\.[0-255]\.[0-255]\.[0-255]"
RewriteRule /scripts/(.*) http://localhost:85/scripts/$1 [P,L]
RewriteRule /game/(.*) http://localhost:85/game/$1 [P,L]

RewriteCond %{REMOTE_ADDR} ="192\.168\.1\.[1-255]"
RewriteRule /scripts/(.*) http://localhost:86/scripts/$1 [P,L]
RewriteRule /game/(.*) http://localhost:86/game/$1 [P,L]

Open in new window


Looks like only one instance of my webservice is doing all the heavy work, while the others don't.
The webservices are pre-set to listen to ports 81-88, but looks like the port 81 guy doing all the work.

webservices and their RAM usage...

What I am trying to do is spread the workload to the different web-services listening to the ports, correctly so a better balance-loading is achieved.

I run apache 2.2.16 (win 32) with php 5.3.3.

Any ideas?
Hi Guys,

I am having an issue with my server where my server is running really slow, i can see the load avg is pretty high, there is only one site running on it


I have attached the error log and the only issue , is where it says empty input file for http://iradio.ie/newPlayer (which does actually exist)

i have changed DNS over the last 24 hours
Free Tool: SSL Checker
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Our production website is using SOLR Search.   I am in the process of standing up a dev/test and staging environment.  Each needs to have it's own instance of SOLR.   My question is this.   How can I see what server SOLR is indexing?   I want to ensure that the dev/test and staging instances of SOLR don't attempt to reference the production VM.
I need htaccess code to make permalinks and redirect them on a single file
like i need example.com/a
these urls to show my index file
I see a lot of this, but nothing seems to be helping. I have a server configured with Apache + nginx running together. I have many WordPress sites and Vanilla 2.1.10 running just fine with pretty URLs via htaccess rewriting.

I'm trying to updated to Vanilla 2.3, but when I upload all the new files I end up with 404s. The README mentions that "Additional setup is required on nginx and other platforms" but it doesn't go into detail.

In the forum and other places, I see people talking about how to fix this, and this link seems to provide the simplest method, which is basically to add this to the nginx vhost:

 location /forum
 try_files $uri $uri/ @forum;
 location @forum
 rewrite ^/forum(.+)$ /forum/index.php?p=$1 last;

Open in new window

Our forum is indeed located at /forum on our site, and we tried this code but it's not fixing the problem.  Any information on how I can get this fixed would be greatly appreciated. Thanks!
Here is what I have but... it's not masking the URL.  

RewriteEngine on
RewriteCond %{HTTP_HOST} ^subdomain\.domainA\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.subdomain\.domainB\.net$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "http\:\/\/subdomain\.domainB\.net" [R=301,L]
HTTP Status 404 - /example/myapp/list

type Status report

message /example/myapp/list

description The requested resource is not available.

Apache Tomcat/7.0.69
C:\windows\system32>c:\Apache24\bin\httpd -S
httpd: Syntax error on line 532 of C:/Apache24/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from
When I try to restore a db backup (40Mb zipped), It takes around 5 mins to upload and  then around 2 mins later I got this error

Internal Server Error 500 The cPanel Server operation timed out at cpsrvd.pl line 541.

I changed

cPanel PHP max execution time=9000

but it did not help. Any ideas?
Thank you.
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0*               LISTEN      1/systemd
tcp        0      0  *               LISTEN      5308/mongod
tcp        0      0   *               LISTEN      652/sshd
tcp        0      0 localhost:smtp*               LISTEN      907/master
tcp        0      0 localhost:32000*               LISTEN      2418/java
tcp        0      0 localhost:27017*               LISTEN      1797/mongod
tcp6       0      0 [::]:monkeycom          [::]:*                  LISTEN      2418/java
tcp6       0      0 [::]:sunrpc             [::]:*                  LISTEN      1/systemd
tcp6       0      0 [::]:webcache           [::]:*                  LISTEN      3387/java
tcp6       0      0 [::]:http               [::]:*                  LISTEN      4534/httpd
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      652/sshd
tcp6       0      0 [::]:ddi-tcp-1          [::]:*                  LISTEN      28290/node
tcp6       0      0 localhost:smtp          [::]:*                  LISTEN      907/master
tcp6       0      0 [::]:https              [::]:*                  LISTEN      4534/httpd
tcp6       0      0 localhost:mxi           [::]:*                  LISTEN   …
hi all,
if I add mod  pagespeed,  mod expire option is not setting up on network tab.

if I remove pagespeed I can see expire for each extensions are showing properly.

how to fix this issue?
What Is Blockchain Technology?
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

I was asked to redirect a request coming on port 80 (Apache) to port 8080.

Before I changed anything, localhost:80 would show "It works" and locahost:8080 the Apache welcome page.

I did the following changes :

- uncommented LoadModule proxy_module modules/mod_proxy.so & LoadModule proxy_http_module modules/mod_proxy_http.so from the httpd.conf file
- uncommented Include conf/extra/httpd-vhosts.conf, always in httpd.conf

In httpd-vhosts.conf, I added :

<VirtualHost *:80>
    ServerName mydomain
    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass /  http://mydomain:8080/webApp
    ProxyPassReverse / http://mydomain:8080/webApp

Open in new window

But when I try http://localhost, I do arrive on my webApp, but all css styling, images, ... are missing :

I have an idea why it is not working : when I inspect my page, and look at the header i see that the link to the favicon for example is http://mydomain/webApp/images/favicon.ico, but if I copy paste that link, I will of course not find the favicon because it is not on Apache, but Tomcat (if that makes any sense). If I add the port to the URL, then it works : http://mydomain:8080/webApp/images/favicon.ico

Has this anything to do with the problem stated here : https://serverfault.com/questions/561892/how-to-handle-relative-urls-correctly-with-a-reverse-proxy ?

This is because the tomcat response headers will contain the proxy headers (i.e. the Location header is http://mydomain/WebApp rather than http://mydomain:8080/WebApp) because ProxyPreserveHost is switched On

So I switched it to Off :

Open in new window

I am attempting to load new SSL certs into my Tomcat Server. I was successful in creating a new KeyStore and CSR. before I import the certs I was able to browse to my site internally via the correct port. However, after successfully importing the certs in the Keystore I am unable to browse to the site. I am new to Tomcat and would appreciate any assistance.

I do NOT want my users redirected to mobile.htm, but just left alone regardless of browser.  On a smart phone even when they type out index.htm, they still get redirected to a broken link.  I am on tomcat nix server.
Hi expert,
 I have 2 critical requirement if user hits anything  after domain needs to go to below URL.

www.rwar.com/alpha needs to go as


2.if user types or click the below URL the page needs to go to same page

I have a server which runs on PostgreSQL, Django on apache and gets hang up every couple of days. I understood that it would require PostgreSQL optimization. But there are so many parameters not sure where to start. As of now, the server hanging up. Please let me know what kind of information you need so that I can provide you and you can better assist me.

Also I have iptables firewall setup not sure where exactly is the problem. But the website hangs up every 1 one day and when I restart the apache it works for one day.
I have setup an Apache web-server to request client certificates and I need to revoke some of the client certificates. Removing them from the client machine is not an option so I need to revoke them from the server so it does not see them as valid.

I'm trying to use the command :

openssl ca -revoke /etc/ssl/certs/client123.pem

where client123.pem was a certificate validated by the web-server (where the ca was configured).


Apache Web Server





The Apache HTTP Server is a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards. Typically Apache is run on a Unix-like operating system, but it is available for a wide variety of operating systems, including Linux, Novell NetWare, Mac OS-X and Windows. Released under the Apache License, Apache is open-source software.