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
1answer
8 views

Apache rewrite rule to redirect a URL with parameters to a URL without parameters

I want to go from: www.website.com/directory/results?category=10&dir=asc to www.ebsite.com/staticfile.html I tried the following and it doesn't seem to catch: RewriteRule ...
0
votes
1answer
13 views

Modsecurity check REQUEST_URI without query parameters

Currently, I am using Modsecurity XSS prevention, but I'm having a hard time understanding how exactly I can restrict what I'm checking for in the REQUEST_URI variable. My Example: # # -=[ XSS ...
1
vote
3answers
3k views

Varnish 3.0.2 to Apache2 sometimes return error 503

Hey guys I hope you can help me out here. I have an Ngingx parsing http and https to a varnish cache(3.0.2). From the varnish it is sent to apache2. Now I have for some time been tracking some ...
1
vote
1answer
7 views

Serving Flask + Apache + WSGI Behind Sonicwall

Strange problem here. I've gone through this tutorial on setting up a deployment environment for a Flask app. When I navigate to the servers local IP address it is serving everything fine. However ...
1
vote
0answers
12 views

Apache module to work with PAM U2F

I'm interested in taking an application that uses basic HTTP Authentication and enabling U2F by leveraging an existing PAM module. The problem(s) I'm facing are the following, I need Apache to ...
0
votes
2answers
644 views

Prevent server beeing flooded with requests

I'm hosting a Wordpress-blog on an Apache server (shared hosting). For some reasons I've been receiving like 100 requests per second to xmlrpc.php for a few days. The access.log looks like this: ... ...
0
votes
0answers
7 views

Stream training videos to remote offices

So I lead a team of engineers located across 3 timezones, and when we have a meeting we record it, so that it can reviewed at a later date. Currently we are just storing it on an apache server. If ...
0
votes
1answer
26 views

Can I point a subdomain to an Apache server and the main domain to an IIS server?

Suppose I have 'example.com' and want it to be pointing to an IIS server, to reach my ASP app. Can I also have sub.example.com pointing to an Apache server (physically on a different computer, with ...
0
votes
2answers
3k views

Javascript 404 not found, but PHP and CSS loading

I've got a Ubuntu 10.04.4 LTS cloud server running the default LAMP stack. My website is serving my PHP pages, the images and CSS to go with them, and most of my JS is loading, but there is a ...
1
vote
0answers
8 views

MAMP OS X: No such file or directory: Cannot create SSLMutex Configuration Failed [on hold]

All of a sudden, I can't start Apache on MAMP v3.5 on OS X 10.11.3. Google searches show that people are having issues with certain directory permission, but my error log doesn't specify any directory ...
1
vote
1answer
1k views

mod_rewrite exact hostname match with multiple conditions

I have a set of requirements for mod_rewrite that is breaking my head. Any hints / pointers would be appreciated: domains: www.domain-europe.com www.domain.com requests for www.domain-europe.com ...
0
votes
0answers
9 views

Open versus Closed Systems [on hold]

I am looking for good resources, arguments, statistics and so on related to the comparison of closed and open systems (Web Servers only). My goal is to fully understand the issue that may arise in ...
0
votes
1answer
20 views

Virtual Host Forbidden after enabled SSL

I enabled SSL for my wamp64 server and it all works fine for http://localhost/ and https://localhost/. But I didn't enable it to look at localhost - I need to activate for 1 of my virtual hosts: ...
0
votes
0answers
20 views

Configure auth with MySQL in Apache 2.22

I've got a raspberry pi 1 which serves web pages using apache 2.22. I've done some research and I found a way to secure "pages" using a database (mysql in this case). I've found this little guide to ...
0
votes
2answers
1k views

monit fails to start apache

I'm running Apache, and trying to monitor it wiht Monit. The monitoring seems to work fine, but when Apache is down, Monit does not succeed to start it. Monit does detect that it's down, but the ...
0
votes
0answers
16 views

'Correct' setup for Centos7 server with apache, rvm, passenger [on hold]

Looking for some guidance on the 'best practice' set up I'm aiming for. I've got a clean Centos 7 server that is starting for test/development but will be upgraded to production in the future so want ...
1
vote
1answer
1k views

mod_deflate, centos, application/x-httpd-php

I trying enable output compression for Apache 2.2.15, and 5.3.3, but web-pages generated by php is not compressing :( My deflate.conf: [user@host conf.d]# cat deflate.conf <IfModule ...
0
votes
0answers
5 views

apache2 expires.conf global ubuntu 14.04

I used to configure previous version of Ubuntu 14.04 a global /etc/apache2/mods-available/expires.conf for the mod_expires module in Apache2. I've looked for documentations on internet; but all docs ...
2
votes
2answers
59 views

Renew Letsencrypt certificate

I am trying to renew my letsencrypt certificate by the next command: ./letsencrype-auto renew but I receive this error message: configuration file /etc/letsencrypt/renewal/domain.conf produced ...
0
votes
1answer
12 views

SSL offloading from Apache to Tomcat get overwritten somewhere

I was asked to upgrade a server running Apache and Tomcat-6 on Debian Wheezy from HTTP to HTTPS. I have successfully obtained and install SSL certificates on the Apache part and checked that they work ...
1
vote
2answers
1k views

Authenticating Apache against multiple ldap groups

I'm using mod_authn_alias and mod_authnz_ldap against an Apache/2.2.14 (Ubuntu) and I'm trying to configure ldap authentication against multiple domains. My config is: <AuthnProviderAlias ldap ...
0
votes
1answer
1k views

Apache reverse proxy keeps demanding basic auth credentials

I'm configuring Apache in front of Hawtio - a Karaf-hosted JVM management console. Although Hawtio is served by Jetty and protected by Karaf's JAAS implementation, we want Apache to add Basic Auth ...
0
votes
0answers
14 views

Redirect subfolder to https fails

Trying to redirect /subfolder/* traffic on my.website to https using the example in Apache's documentation (see 'redirect a portion of your site to HTTPS'), which it implies should be nested inside a ...
0
votes
4answers
378 views

Apache clustering

I know how to run two or more tomcats under one apache server. I want to know how to run two or more apache servers in a cluster and run my application. I know it's possible. can someone suggest a ...
4
votes
1answer
15k views

a2ensite error “Site not exist” when creating virtualhost apache2 on ubuntu

I have created files for my site in the /home/junda/www/ directory. I use symfony2, means the public files goes to /home/junda/www/symfony2-tries/web/ directory. I then type this following command to ...
0
votes
0answers
10 views

CentOS 6 Apache 2.2 SELinux uploaded files 403 forbidden [duplicate]

We are running Magento 1.8.1.0 and for one of the upload folders in *document root*/media, namely the folder wysiwyg SELinux applies rights that makes uploaded content unreachable (403 Forbidden). We ...
0
votes
1answer
1k views

Rolling back to Apache 2.2 on debian

Is there a way to replace Apache 2.4 with Apache 2.2 on debian? All the "apache2" packages now install 2.4.
1
vote
3answers
23k views

Apache start failing after apache config modifications, showing syntax error, cannot load php5apache2_2.dll into server

I am stuck again with apache setup guys. I am working on a 64-bit system running Windows 7 professional with service pack 1. I copied the working php5 installation directory from teammates, copied the ...
0
votes
1answer
351 views

Redirect non-www to www., AND rewrite everything to /

I want to redirect all traffic to example.com to www.example.com, and then rewrite everything to /. So if a visitor by some reason hits http://example.com/foo/bar I want to redirect them to ...
1
vote
1answer
30 views

Apache2 redirect www to non-www (with SSL)

Wise people, I am trying to accomplish the following: Redirect these: http://www.veluwsvuurbarneveld.nl http://veluwsvuurbarneveld.nl https://www.veluwsvuurbarneveld.nl To ...
3
votes
2answers
1k views

How to change mod_rewrite to avoid {REQUEST_FILENAME} in order to get around 255 character URL limit?

According to this answer: max length of url 257 characters for mod_rewrite? there is a maximum 255 character hard limit based on the file system for using mod_rewrite. According to the accepted ...
2
votes
1answer
1k views

Apache: Force HTTP 1.1 or Persistent/KeepAlive connections for HTTP 1.0 requests

I want to force Keep Alive or Persistent connections for all HTTP requests on my Apache 2.2.3 server running on RHEL 5.8. A lot of web crawlers are using HTTP 1.0 for some reason, and I would like to ...
1
vote
2answers
1k views

Why is Jenkins not pulling in a browser?

I installed Jenkins on my debian server. It is set on port 8080 and when I try connecting to it nothing happens. I know it is running because when I do: root@jini01:/etc/default# /etc/init.d/jenkins ...
0
votes
3answers
38 views

AH00027: No authentication done error after upgrading from Apache 2.2 to 2.4

I recently updated Apache on Cent OS 7 from 2.2 to 2.4 and after the update I am not able to access the root folder, I get the following error: [Fri Apr 29 16:30:19.977037 2016] [core:error] [pid ...
4
votes
6answers
20k views

How do I remove trailing slashes from a URL when using Apache's default directory index file?

I am using Apache to serve a blog which consists of static HTML files. Currently, the blog uses a pretty standard URL structure, like this: /2010/03/21/my-awesome-blog-post/ which maps to the file ...
0
votes
0answers
15 views

How to reverse proxy a backend server's sub directory in apache

I created a reverse proxy with apache proxy_mod as below serving two webheads as backend servers. <VirtualHost example.co.uk:80> ProxyRequests off ServerName example.co.uk ServerAdmin ...
1
vote
2answers
2k views

How to fix Apache from crashing with PHP+Curl on an SSL request?

My Apache process segfaults whenever I call curl_exec() from PHP with an "https://" URL. If I use http instead of https as the URL transport, it works perfectly, so I know curl and the other curl ...
0
votes
1answer
2k views

HTTP proxy - expect 100 and authentication

I have an issue with Apache2 which I use as a proxy. My software sends HTTP PUT for protected resource with Expect: 100-continue Transfer-Encoding: chunked And instead of getting '401 ...
3
votes
1answer
1k views

Graphite SQLite3 DatabaseError: database is locked

While going through the initial installation and set up of Graphite on CentOS 6.4 using Apache mod_wsgi via the stock graphite-web rpm, I'm getting the following "DatabaseError: database is locked" ...
0
votes
1answer
24 views

Using Apache web server for downloading a file

On a Centos-6 machine, I setup Apache web server and the default folder is /var/www/html. In the presence of an empty index.html, by entering the machine's IP address into the browser, I see the blank ...
2
votes
1answer
1k views

Trying to run an ASP.NET MVC application using Mono on Apache with FastCGI

I have a hosting account with DreamHost and I would like to use the same account to run ASP.NET applications. I have an application deployed in a subdomain, a .htaccess with a handler like this: # ...
-1
votes
0answers
15 views

Unable to connect to apache server error AH00526: Syntax error on line 1 of -c/-C directives: [on hold]

I recently upgraded to php56 on Mac OSX El Capitan. Now I am unable to run apache. I am getting:- This site can’t be reached localhost refused to connect. when trying to run localhost apachectl ...
0
votes
1answer
2k views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...
1
vote
1answer
23 views

Apache webserver - Mod status

Heey all, I have a question regarding the Mod Status module of Apache. https://www.apache.org/server-status As you guys can see there is a line: Total accesses and a value after it. Is it possible ...
1
vote
1answer
1k views

Enabling mod_wsgi in Apache for a Django app on Gentoo

I installed Apache, Django, and mod_wsgi on Gentoo using emerge (on Amazon EC2). I know that the mod_wsgi is configured in /etc/apache2/modules.d/70_mod_wsgi.conf: <IfDefine WSGI> LoadModule ...
0
votes
1answer
3k views

503 Error: Service Temporarily Unavailable (Mod_wsgi, Apache, Django)

I followed the tutorial to mount a Djando application on Apache here. The Django project was created under its own directory in /opt. Any suggestions or other tutorials I can use? I reviewed few ...
0
votes
1answer
4k views

confusing result on Apache server status results

I have a CentOS 5.5 Final with Apache 2.2.3 and checking if there are some misconfigurations I settled up server-status page and querying a certain page I obtained this result: Apache Server Status ...
0
votes
2answers
232 views

Apache tries to access wsgi-rest parameters in DocumentRoot (AH01797)

I have the following apache2/wsgi configuration, which works fine, except that apache keeps logging: [info] Initial (No.1) HTTPS request received for child 1 (server myserver:443) [error] [client ...
0
votes
1answer
4k views

Access-Control-Allow-Origin “*” not allowed when credentials flag is true

I have an ajax request which connects to http://example.com:6001. However, it will work only when I open http://example.com:6001 in the browser, which loads index.html (which is run though Node.js on ...
1
vote
2answers
2k views

How to create a very simple external FastCGI configuration in apache?

I have an externally started FastCGI application that listens on socket '/tmp/foo.sock' and a directory of static files in '/srv/static'. Apache has all needed permissions on the socket and the ...