Version 2.2 of the Apache HTTP Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)

learn more… | top users | synonyms (2)

0
votes
0answers
12 views

apache2 exiting on startup

OS: ubuntu 15.10 Last night I tried to install phpmyadmin on an Ubuntu box (which was running quite happily). During the apt install it decided to update some other files as well, namely some of the ...
-1
votes
0answers
6 views

XAMP server Can't Start Apache due to api-ms-win-crt-runtime-l1-1-0.dll missing [on hold]

I have try to start the apache server from XAMP Control panel, then it shows the dll missing library. My System is Windows 8.1 Pro and 64 bit. Also i have copied dll file from a running system to ...
0
votes
1answer
24 views

Apache stopped working permanently after error “Server ran out of threads to serve requests.”

I have been working with Apache for more than 8 years, but now I'm facing a severe problem and I couldn't find a solution on internet so far. I'm running Apache 2.2.15 32bit on a Windows 2008 R2 ...
0
votes
0answers
28 views

Need to Install Apache on RedHat Without Internet Access

My client has given me access to RedHat server which requires to install apache but it does not have direct access to internet. So I cannot use "yum" command to install the packages. When I ran the ...
-5
votes
0answers
12 views

How to use two NICs [1onboard and 1 lan card] of my server [Ubuntu]? [on hold]

Good day, my scenario is I want to configure both of my NIC so that 2 different networks [192.168.4.2/200 and 192.168.1.2/200] can access my Web server. I jut want to know if it is possible? and How? ...
0
votes
0answers
12 views

Apache: browser caching not working

I'm trying to use mod_expires and mod_headers to enable browser caching for my site. I have this in my VirtualHost: <FilesMatch ".(gif|jpg|jpeg|png|ico|swf|js|css|pdf)$"> ...
0
votes
0answers
16 views

Apache reverse proxy requests end on a wrong server

I have an Apache reverse proxy with one virtual host. The last configuration line of the <VirtualHost> is "include services/*.conf". The services directory contains a list of files which are ...
0
votes
1answer
19 views

.htaccess: password required two times for the redirect function

I have the following .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^example.de [NC] RewriteRule ^(.*)$ http://www.example.de/$1 [L,R=301] RewriteBase / RewriteCond %{REQUEST_FILENAME} !...
-1
votes
0answers
6 views

could not able to enable CORS in apache2

I have configured my wordpress blog site on latest version of ubuntu vps. When i tried to use CDN, browser giving error Font from origin 'http://example.cdn.com' has been blocked from loading by ...
0
votes
0answers
5 views

how to proxy a request to a page just for validation in apache?

I'm trying to design a captcha page in my proxy server which protects specific pages on target server aginst brute force attack, we cannot do any change on target server. so we have a proxy page ...
-2
votes
0answers
7 views

Server load balancing apache2 and python multiprocessing job

I have a VM that has two things to do, one is building (python script, multiprocessing) a key-value pairs and write results to redis within the same machine. Same machine also serves as my webserver,...
0
votes
0answers
14 views

mod_jk repeatedly showing error “no body with status=404”

We have an Apache 2 server on Solaris with mod_jk configured. It functions fine, but the logs repeatedly show this error: [Mon Jun 27 15:45:41.399 2016] [3485:1] [info] mod_jk.c (2765): No body with ...
0
votes
0answers
9 views

How to add Virtual host on ec2 wiith Apache 2.4.18?

I'm trying to domain to point specific document root of EC2 instance. I've set Route 53 and and also set DNS to domain. Now domain points fine. I have also added host to host file of server. Now I ...
0
votes
1answer
15 views

How to apache to stop response to requests if alias or port does not match

I have more than one domain like example1.com example2.com. Some of them has SSL certificates and some of them does not. My apache listens both 80 and 443. If a domain has SSL certificates, I redirect ...
0
votes
1answer
35 views

Content-Type not being set for jpg, but is being sent for png. How do I check Apache config?

This is weird. I have an image resizing script on my Apache server. It's outputting PNG files and JPG files. They display images fine in the browser. However, the Content-Type isn't being set for ...
0
votes
1answer
22 views

Apache not linked correctly to OpenSSL

I have downloaded the httpd-2.4.20 source files and tried to build it using the OpenSSL already installed on the system, which is Openssl 1.0.1t. I used these commands in order to achieve the desired ...
-1
votes
0answers
7 views

Openshift timeout exceed

I have an python3.3 + bottle app on Openshift. It takes picture and soundtrack from use (summary size<20MB) and makes video from them. Uploading and processing takes a quite long time, so when i ...
0
votes
1answer
16 views

Apache htaccess redirect http/www to https/non-www [duplicate]

To redirect from - http://www.domain.com - http://domain.com - https://www.domain.com to https://domain.com im using the following (apache)htaccess: <IfModule mod_rewrite.c> ...
0
votes
0answers
11 views

Apache authentication against FreeIPA's Kerberos

I'm currently trying to set up Apache as an authentication portal. It's supposed to act as a reverse proxy with krb authentication. My apache server is named portal.test.com (debian container) My IPA ...
-1
votes
2answers
11 views

Apache SSL not working in Centos 6.5

I have a simple LAMP stack with httpd/Apache installed on Centos 6.5. I've set my vhost up in /etc/httpd/sites-available/acute.conf like so: <VirtualHost *:80> ServerName acutemedical.co ...
0
votes
0answers
20 views

to set RequestHeader in apache httpd server is not working

I have a requirement, where I need to set the RequestHeader with a value retrieved from the querystring of the URI. Approach adopted is to write the RewriteCond and ReWriteRule where the condition ...
0
votes
1answer
15 views

Redirect to new domain within sites-available apache

I'm moving a website from www.myolddomain.com to www.mynewdomain.com however I'm trying to do the following: If someone goes to www.myolddomain.com they will be redirected to www.mynewdomain.com/...
0
votes
0answers
10 views

3 apache config files after SSL cert install. Rewrite won't work

I used EFF Certbot to install a free SSL certificate. Now I have three config files for my website. 000-default.conf 000-default-le-ssl.conf default-ssl.conf Additionally I have some other config ...
0
votes
0answers
8 views

apache postfix trying to change user “from” address from apache to domain account

This is the same question as of apache sendmail: trying to change user "from" address from apache to domain account but its for postfix. User did not actually mentioned what he did with ...
-4
votes
1answer
30 views

Wildcard certificate supporting both www and non-www domain [on hold]

I have a GeoTrust wildcard certificate installed on my website www.example.com. It is working fine with https://www.example.com but it is not supporting https://example.com. It shows a security ...
-2
votes
0answers
12 views

phpMyAdmin install with php7 centos7 manually? [closed]

So I am running php7 and centos 7 and I am looking to install phpmyadmin. If I add epel and run sudo yum install phpmyadmin I get an error saying my php versions conflict with what phpadmin requires. ...
0
votes
0answers
7 views

AddRadiusCookieValid and AuthRadiusCookieValid in Apache Radius module

For one of my projects I have to set up two factor authentication. I have used Apache Free Radius module which acts as a client to Radius server. This setup is already been done and 2FA is working ...
0
votes
1answer
13 views

.htaccess 301 redirect for https and www [duplicate]

I'm struggeling with the apache rewrite engine and need help to transform these address-variations: http://www.site.de/index.php www.site.de/index.php http://site.de/index.php site.de/index.php to ...
0
votes
1answer
48 views

EC2 and Apache HTTPD no access via IP but via DNS name

I have some trouble with my EC2 instance. I have a normal Amazon Linux with the standard Apache HTTPD. My problem is that I can't access the HTTPD via IP address (e.g. http://123.123.123.123/), but ...
1
vote
3answers
69 views

Are there any disadvantages of blocking port 80 for security reasons?

To improve security, we would like to make https access to all customer sites that we host mandantory, and guarantee this in our terms and conditions. The problem is that currently the Apache ...
-1
votes
0answers
11 views

application(or apache) is not getting loaded after some time of inactivity

I am having a PHP web based application which is running on Apache 2.2. The issue is, if I put my application in to an idle state for some time the application is not responding after that. The idle ...
0
votes
1answer
34 views

Server being spammed with a lot of POST requests

I am getting a lot of POST requests to my server that look like this. 5.113.41.160 - - [20/Jun/2016:16:05:20 -0400] "POST / HTTP/1.1" 200 9451 "-" "-" 46.52.87.170 - - [20/Jun/2016:16:05:27 -0400] "...
0
votes
1answer
71 views

apache http 2.2.29: Segmentation fault

We are using apache http server 2.2.29 on Linux. Below is the information related to Linux version (as found in /proc/version file) Linux version 2.6.32-573.el6.x86_64 (mockbuild@x86-027.build.eng.bos....
0
votes
1answer
26 views

Is there a way of writing cleaner rewrite rules if you've a large number of redirects to implement

I recentley completed a project whereby I moved a pretty large website to a nice clean smaller website. What this meant was I had to account for a large number of pages that had been indexed by search ...
0
votes
0answers
20 views

Apache web server - FTP host connection issue in LAN

OS: Ubuntu 12.04 Web Server: Apache 2.2.22 Apache web server IP Address: 192.168.0.21 Virtual Host for website in Apache: 50000MySite001 Link to access website in LAN: 192.168.0.21/50000MySite001 ...
0
votes
0answers
9 views

.htaccess request_uri mismatch when at certain url

I use .htaccess to redirect unauthorized user when they visit a certain path, say www.domain.com/member/ In my rewrite rule, I have RewriteCond %{REQUEST_URI} !=/member/index.php which works ...
0
votes
0answers
16 views

Understanding tomcat's access logs for aborted or timeout requests

This might be a very ignorant and stupid question ,but please bear with me. I understand that every request made to any URL behind Tomcat is logged by Tomcat in access logs. I have a Spring Boot REST ...
3
votes
1answer
34 views

Strange scans from robots

I'm noticing scans in /var/log/apache of search engine bots GETing specific filenames from my server. Most of them are for cracks. I'm not hosting those files, and I don't see them anywhere on my ...
0
votes
0answers
7 views

apache shows wrong idle threads count

Apache version: 2.2.14, worker mpm settings: <IfModule worker.c> StartServers 5 MaxClients 500 MinSpareThreads 50 MaxSpareThreads 125 ThreadsPerChild ...
0
votes
1answer
15 views

Passing Authorization Basic Headers Along in Proxy

I am currently trying to get a reverse/forward proxy to pass along the authorization headers to the target server. How would I go abou this? I have already looked at the below sources, and one of the ...
0
votes
0answers
9 views

VirtualHost subdomain from another server not working

I have several sites like this: server.com => 1.2.3.4 www.server.com => 1.2.3.4 xyz.server.com => 1.2.3.4 foobar.server.com => 1.2.3.4 And I would like to add this two new ones: admin.server.com ...
0
votes
0answers
18 views

Is Apache Basic Auth w/ SSL “good enough” from a security standpoint?

Is using Apache Basic Auth with enforced SSL good enough to secure internal-only sites that must be publicly accessible? I know that there are more advanced Apache authentication protocols such as ...
0
votes
0answers
14 views

Move 2 subdomains without breaking links to themselves

Assume www.example.com contains two sub-domains, each with a different site, such that www.example.com/sub1 and www.example.com/sub2 are not related to each other. I want to move/rename sub1, but I ...
-1
votes
0answers
22 views

Subdomain always redirects to main domain in ubuntu [closed]

I've created a subdomain in ubuntu server which is in azure cloud ,but it will always redirect to main domain Here is my apache.conf file <VirtualHost xx.xx.xx.xxx:80> ServerName admin....
0
votes
0answers
12 views

Not checked" result for Apache server stig file

I have run the Apache server stig using openscap tool in Red Hat 6, In the output file, the results are like the same below "Not checked" for all checklist. After analyzing the xccdf file, there ...
0
votes
1answer
65 views

How to redirect two domains, with/without https, to one https site?

I'd like to do the following: using Apache, redirect all of the following URLs: http://example.com http://www.example.com http://beta.example.com https://example.com https://www.example.com https://...
0
votes
1answer
34 views

TLSv1.0 on Apache 2.2 disabled but still showing active in tests

I'm experiencing something odd on our Load Balancer, I've specifically disabled TLSv1 but using the Qualsys SSL Labs test, it's indicating that TLSv1 is still active. For the next little while until ...
0
votes
0answers
14 views

apache error log shows that apache count time between load pages

when I check error log file of apache in my server it shows the content like this, [Mon Jun 13 20:29:35.485434 2016] [:error] [pid 17971] [client 173.***:21703] PHP Notice: Undefined variable: data ...