Questions tagged [apache2]

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

The Apache HTTP Server is a popular Open Source Web server. This tag should be used for general questions about Apache HTTPd.

Although there is large degree of commonality between the different versions in the 2.x branches, please consider using the Apache-2.2 or Apache-2.4 tags instead for more specific Apache HTTP Server related questions.

Documentation for all major versions is both comprehensive and has a high degree of accuracy.


1741 questions
0
votes
0 answers

Coma in url after proxy with Apache

I'm using Apache to proxy all requests from my domain to my Odoo server. Then to proxy all requests from my customers URLs to their respective databases (sub-domain of my domain). Here's what my config looks like: ################ # welcome page…
Yann
  • 55
  • 6
0
votes
1 answer

htaccess not working at apache 2.4 virtual host

Here's my apache 2.4 virtual host config DocumentRoot /var/www/fd-pro/app-api/public_html ServerName subdomain.domain.com.au ServerAlias subdomain.domain.com.au
humbleiam
  • 145
  • 1
  • 2
  • 6
0
votes
1 answer

Preserve X509 client cert data from apache2 reverse proxy to jetty

I am not able to receive on jetty-9.3.14 the X509 client cert data which are submitted to apache2 and forwarded via ProxyPass directive. SSLVerifyClient require SSLVerifyDepth 5 SSLOptions -StdEnvVars +ExportCertData #…
473183469
  • 1,360
  • 1
  • 12
  • 23
0
votes
1 answer

Time to first byte (TTFB) high in Chrome & FF, instant in Safari

We have a Wordpress instance running on Ubuntu 12.04 LTS and Apache 2.2.22, and it takes > 3 minutes to load a page in Chrome and Firefox, whereas it loads instantly in Safari. I have no idea what the issue could be. I tried setting HostnameLookups…
0
votes
2 answers

How can I allocate more memory on my server?

I am pulling down real estate properties from the Toronto Real Estate Board and I am using a LAMP stack with PHRETS on a 2GB Digital Ocean VPS. When I pull down the properties, I run some processes on them before saving them to a database. I have a…
Michael Lynch
  • 121
  • 1
  • 1
  • 3
0
votes
1 answer

Redirecting all requests to domain except for some folders

I try to redirect all requests from a domain to a subdomain, except for /mypath and all stuff below. Examples: example.com -> sub.example.com example.com/somestuff -> sub.example.com but example.com/my-path should not be redirected. Here's the…
tymik
  • 398
  • 2
  • 6
  • 16
0
votes
3 answers

SSL Certificate apache2 - certificate trust issues when website loads

I'm new to this whole section of generating certificates and recently started working on it for the application that I'm working on. I installed apache2 and further looked into sites - drissamri.be, linode.com and akadia.com and some SO questions.…
HardikT
  • 101
  • 4
0
votes
1 answer

Unusual requests on Apache2

I am developing an eBay-like system in PHP only to accept Bitcoin as the only payment method. For this purpose I've set up a virtual machine on my computer because I don't want to be paying for hosting while the system is still in development. I…
0
votes
2 answers

Invalid apache 200 response

I have the following logs on my apache2. 61.157.96.193 - - [10/Aug/2016:12:09:47 +0200] "GET http://50.117.47.67:43530/?rands=_11744130666812773703498720 HTTP/1.1" 200 11359 "-" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64;…
0
votes
1 answer

Apache mod_proxy_fcgi: One proxy worker per vhost?

I've been setting up a server using Apache 2.4, mpm_event, mod_proxy_fcgi and php_fpm. In the mod_proxy_fcgi docs (https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html) it mentions "For performance reasons, you will want to define a worker…
0
votes
1 answer

Apache Access log recieved request time issue

Please see the strange situation with received request time in the Apache(2.4.7) access log in Ubuntu 14.04: IP1 - - [14/Dec/2016:00:00:02 +0300] "GET /portal/get.php?filename=file1.mpg HTTP/1.1" 206 194292 "-" "Lavf53.32.100" IP1 - -…
0
votes
0 answers

Deflate module not working in .htaccess

I have deflate module enabled but when I put my code in .htaccess, it is not working. On various websites I have tested and it shows me to enable gzip compression. Below is the code for deflate: AddOutputFilterByType…
0
votes
1 answer

403 on new apache2 installation

I had lampp installed previously. I uninstalled it using sudo ./uninstall But even after i uninstalled it, it was showing me the contents of /opt/lampp/htdocs. I used sudo rm to remove the directory too. Then I installed apcache using sudo apt-get…
0
votes
0 answers

Apache tries to redirect to an 'index.html' folder?

I have a strange behaviour I can't explain. Obviously some misconfiguration. I have in all two domains, the first domain has a lot of subdomains and works well. But my second domain, let's say www.mydomain.cooking (that's a valid TLD), does some…
Bevor
  • 113
  • 2
  • 11
0
votes
2 answers

Domain subdomain and vm's

I have a server that runs win server and IIS, that machine also runs several linux vm's some are hosting sites with apache. win server is useing domain.com i have set up virtualhost in apache in one of the vms to like sub.domain.com but how do i…