Version 2.4 of the Apache HTTPd Server

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

apache mod_rewrite scenario subdomain capturing from the http_host and passing it as subdomain to other url while rewriting it

i am trying to write two rewrite rules which are PASS THROUGH or PROXY so that i can hide the underlying url. Case1: When a request comes to app.domain.com/folder1/folder2/ it should go through ...
0
votes
1answer
12 views

Ubuntu + Apache + .htaccess: Hide from Google

How do I edit the .htaccess file in the folder www/owncloud/ to set: X-Robots-Tag to "noindex, nofollow" (Using header rather than robots.txt according to: https://yoast.com/x-robots-tag-play/) Have ...
1
vote
1answer
12 views

Apache presents wrong certificate when accessed via load balancer

I've got a server that has two SSL certificates set up, one for internal access where it is accessed along the lines of host.my-local.net and other for external access where it is accessed similar to ...
0
votes
1answer
9 views

Clustered Apache 2.4 LoadBalancer displays no content on /balancer-manager

I have a Clustered Loadbalancer (pacemaker, corosync, apache 2.4) on CentOS 7. There are two configuration files, one for the actual balanced site and one for the balancer-manager. When I access the ...
1
vote
1answer
21 views

How can I monitor resource usage for PHP sites on a per-virtual-host basis on GNU/Linux?

Running a bunch of PHP sites via apache2.4/mod_php on RHEL using the prefork MPM. My apache children are using a fair bit of RAM and lots of CPU. I would like to be able to attribute RAM/CPU use on ...
0
votes
1answer
14 views

Header unset seems not to work with apache 2.4.10 and php-fpm

I'm trying to pass headers from php code back to the apache accesslog by using HTTP headers, like so: Header note X-Userid userid Header unset X-Userid LogFormat "%h %l %{userid}n %t \"%r\" %>s ...
0
votes
1answer
8 views

Create Apache service with custom httpd.conf file in windows

I have my custom-httpd.conf file c:\apache\conf Am wondering how do I use this custom-httpd.conf file instead of httpd.conf file to create Apache service in windows. Tried the below command but didnt ...
0
votes
1answer
22 views

Apache - Drop connection for anything but HTTP 200 status

Is there a way to configure Apache to drop connection for any request resulting in an HTTP status other than 200 (or possibly a list of status codes)? The idea is that, rather than returning any ...
0
votes
1answer
8 views

How can I block a referer (semalt) across my Apache server?

semalt is a pretty annoying company. I'd like to keep them off my servers (and out of my analytics). Here it shows how to block them through .htaccess like this: SetEnvIfNoCase Via evil-spam-proxy ...
2
votes
1answer
60 views

Mailman and Apache Virtual Hosts problems

I am creating a set up of Mailman, Apache2.4 and Postfix. My problem is as follows. When I access the mailing list with the domain name, I get the correct result in my browser. Here the picture ...
1
vote
2answers
46 views

Apache 24 not serving PHP on FreeBSD 10

I've been at this for a few hours now. I cannot figure out WHAT is wrong with my configuration. When I navigate to any php file (wordpress installation is the intent), it opens the file for download ...
0
votes
0answers
53 views

Unable to load php_curl.dll in Windows 7 x64, Apache x86 [closed]

Issue Upon starting Apache I get the following error in my PHP error log: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Web_Server\Programs\PHP\x86\5.6.3\ext\php_curl.dll' - The ...
1
vote
0answers
21 views

How to build PHP 5.5 with FastCGI?

I need to build my own PHP binary under Unix (because I need some SGBD option, that's an other problem). Currently my Apache server is linked to PHP throught CGI, but I read that it's not the ...
0
votes
0answers
14 views

SVN update via HTTP on Apache

I have a scenario like the one described here: SVN web interface but the answer is not what the user asked. In other words I want to launch: svn update /var/www/html/mysite from a web interface. ...
-1
votes
1answer
24 views

Random 403 Forbidden error (Apache 2.4)

My Apache 2.4 (CentOS 7) server hosts multiple websites. Sometimes I get a 403 Forbidden (You don't have permission to access file X on this server) error when accessing any of the websites files ...
0
votes
1answer
19 views

apache 403 forbidden error when adding an alias, windows

I'm looking to add a alias to "C:/Apache24/static" in Apache, simple enough, right? Alias /static "C:/Apache24/static" <Directory "C:/Apache24/static"> Order allow,deny Allow from all ...
0
votes
2answers
62 views

Issue with multiple virtual hosts on dedicated server. 2nd VH won't respond, 1st one does

I've got two virtual hosts setup and enabled using a2ensite. It's Ubuntu Server 14.04.1 LTS, Apache2, etc. So there's two config files in /etc/apache2/sites-available and their respective symlinks ...
-3
votes
0answers
20 views

Prefork settings for my server [closed]

Where do I find the prefork setttings? Its not there in my httpd.conf file. I have very good server 32 gb ram 12 cores but my load time is a lot. My server takes 5 seconds to load files. I have a ...
0
votes
1answer
19 views

Apache alias with <Location />

I currently have a python project running on my apache server using the setup: <VirtualHost *:80> ServerName domain.tld <Location /> SetHandler uwsgi-handler ...
0
votes
0answers
9 views

Apache giving css or js when url is incomplete

If I browse: http://example.com/ or http://example.com/index.php I get the desired page, but if I browse http://example.com/index (or any page without the extension) it will show me the CSS or ...
1
vote
1answer
31 views

Apache - random file takes a long time to load

The issue can be seen here: Random files on some page loads just take forever in the "receiving" stage, no matter what the size of the file is. Sometimes it takes extra 500 ms or up to 20 seconds. ...
1
vote
0answers
16 views

I can't get SSI to work on Fedora/Apache [closed]

I'm running Apache 2.4.10 on Fedora (20), and I've tried to enable SSI (server side includes) on the server. In the apache config file (httpd.conf) I have Options +Includes AddType text/html .htm ...
0
votes
0answers
11 views

How to support Kerberos authentication on internal websites through Citrix Access Gateway

When I remote in through a citrix access gateway (using netscaler) I am unable to use kerberos tickets for authentication with apache. The browser only sends an NTLMSSP negotiate header and gives up. ...
1
vote
1answer
56 views

Wordpress and Apache 2.4 installation troubles: Cannot Serve Directory

I'm having a devil of a time getting Wordpress going on my webhost. When I try to access my virtualhost, I get a "403 Forbidden You don't have permission to access / on this server." error and a ...
0
votes
0answers
9 views

Apache reverse proxy ProxyHTMLURLMap not rewriting AJAX responses

We set up a reverse proxy for a glassfish server but having difficulties getting the AJAX responses to be rewritten. Opening the site in browser (GET-Request) every occurences of /foo/bar/ are ...
-3
votes
1answer
34 views

DNS configuration for webserver path

What I have is: some vservers and some domains, located at different hosters. A webserver with Port 8081 on one server. I have a path like "123.123.123.123:8081/app/" What I want is: a subdomain ...
1
vote
0answers
10 views

pwauth kerberos authentication specifying default and secondary servers

I am currently using Kerberos authentication for Basic Authentication on Apache using pwauth and mod_auth_external. I would like to add multiple servers to authenticate from, however they would have ...
0
votes
0answers
15 views

Apache deflate in .htaccess not working

I have a virtual host and have enabled AllowOverride All. I know this works since the rewrite rules within the /var/www/site/web/.htaccess are being executed (It's a Symfony app). However when I have ...
3
votes
1answer
55 views

Howto configure apache httpd load balancing with workers that only differ in path, not host?

How can load balancing in apache httpd be configured if the workers only differ in path, not host? E.g. I have the public URL http://www.example.com/myapp and this should be load balanced to internal ...
0
votes
0answers
24 views

Apache 2.4 AliasMatch NotWorking

I used to Alias have as below for /CollabPortal14300 which was working fine Alias /CollabPortal14300 D:/Dev/Projects/CollabPortal/CollabPortal/target/CollabPortal/ Alias ...
0
votes
0answers
13 views

cPanel & Apache with Jailshell - Permission Errors?

Whenever I try to deploy a Laravel application with composer, I always get a 500 internal server error when installing from the command line. It defaults permissions of files to 664 and directories ...
0
votes
1answer
26 views

Trying to understand this apache log line

In access.log file in my Apache, there are a few "get" requests, which I do not undetstand. For example. www.postatic.com:80 115.210.66.30 - - [12/Nov/2014:12:36:31 +1100] "GET ...
-1
votes
0answers
14 views

Apache Solr “HTTP ERROR 503” after unloading Core and trying to re-create it [closed]

I was looking how I can query some XML files with Solr and thus I went and changed the schema.xml file located under the collection1 directory. Then I launched a query, which I knew it should return ...
1
vote
0answers
22 views

Apache2 “RequireAny Granted” not functioning properly

I have a bit of an issue that I am very stumped on. I have a webpage on a CentOS 7 server running Apache. This page is on a virtual host file so that when ever I browse to htp://servername or IP I ...
0
votes
0answers
16 views

scrapping not working Django+Apache+wsgi Production server

I developed a django app which uses beautifulsoup4 and urllib2 to parse the data from webpages.It was working well on my development server but when I put the same on Apache+wsgi server, the scrapping ...
0
votes
0answers
14 views

Can I use the Define directive within an If directive in Apache 2.4?

In Apache 2.4.9, I'd like to define a variable conditionally so that I can use it later in the config file. Here's what I've got so far: <If "%{HTTP_HOST} == 'test.dev'"> Define phpversion ...
0
votes
1answer
17 views

Apache - Phantom long requests returning 408? [duplicate]

I am having intermittent problems with sites that are running on apache - the boxes would spontaneously work themselves into a tizzy taking up all available CPU and memory in the process. To this ...
0
votes
1answer
54 views

how to sort apache directory listing in last modified order

# SET DISPLAY ORDER IndexOrderDefault Descending Name the above value is used to sort directory listing in decending name value how can i create the similiar results for sorting the directory in ...
0
votes
0answers
60 views

yum dependency conflicts already installed package

I want to install php 5.6 from the webtatic repo: yum install php56w php56w-opcache php56w-mysql php56w-mcrypt php56w-pdo php56w-xml One of the dependencies is httpd: Installing for ...
0
votes
0answers
44 views

Apache disk caching on reverse proxy breaks after using htcleancache

I've set up Apache 2.4 as a reverse proxy on Ubuntu 14.04 on a new load balancer. The old one just used Apache as a reverse proxy, but now I want to introduce disk caching in the new load balancer. ...
0
votes
1answer
46 views

Configuring kerberos/ntlm single signon with apache and sssd

What is the proper/cleanest way of setting up apache to support SSO using NTLM, or preferably Kerberos, with CentOS7 running sssd connected to an Active Directory domain controller? With realmd, ...
0
votes
2answers
52 views

Apache server hangs after a few hours, needs restart

I have a VPS, with 2 GBytes of RAM on an Ubuntu 14 machine. After a while I decided to upgrade my packages in the machine, including installing the latest version of apache2 (2.4.7). However, after ...
0
votes
0answers
30 views

Apache SSL page times out with server taking too long

I have an SSL site I'm trying to deliver with apache that is timing out when you load it in a web browser. I am seeing this message in the browser: The connection has timed out The server at ...
0
votes
0answers
15 views

Apache2 + Chroot + PHP global prepend

I have a Debian Wheezy server with PHP 5.4 and Apache 2.4 . I have following problem: User A has home dir /home/user_a with public directory /home/user_a/public_html User B has home dir ...
0
votes
1answer
20 views

Override or set authenticated user in Apache 2.4

I need to override the current authenticated user, e.g. Joe Smith ABC fhjsdj342 to fhjsdj342 As you can see, there's a fixed scheme (last token). The new user id is needed for authorization. I ...
0
votes
1answer
84 views

Cannot run mod_wsgi on Apache 2.4 x64 Windows

I have a Apache 2.2 installation with a site on Django. I load mod_wsgi.so module in my Apache config. Now I'm trying to migrate onto Apache 2.4 and have difficulties with WSGI. First of all: my ...
0
votes
0answers
43 views

Set cookie domain and cookiless subdomain

Sounds simple, but I'm having problems with it. I tried the suggestions in many articles, but it doesn't work for me. I've created a subdomain, static.example.com, to serve my static files from it. ...
2
votes
0answers
97 views

Apache 2.4 and WebDAV on Ubuntu 14.04, files uploading without slash

This issue is similar to Apache 2.4 webdav uploads without slash in filename, but the solution specified there has not worked for me. Basically, I have enabled mod_dav and mod_davfs, but the ...
0
votes
0answers
24 views

AH01448: incomplete configuration: src unspecified, dst unspecified

I'm moving from http 2.2 to 2.4, the apache starts with not problem but when I try to access to a page I get: [charset_lite:debug] [pid 22316:tid ******] mod_charset_lite.c(219): AH01448: incomplete ...
0
votes
1answer
17 views

how to config apache2 and ubuntu server for my website

I have apache2 installed in ubuntu server and in local network its work but, when I try to connect from external network I have this error: Internet could not load the webpage because ...