The Apache HTTP Server is an Open Source Web server, which originated from a series of patches to the NCSA HTTPd. Apache is the world's most popular Web server, which is run on 54.90% of all Web servers according to the Netcraft survey conducted July 2010.

learn more… | top users | synonyms (1)

3
votes
0answers
14 views

mod_ruid2 not working with apache 2.4.18

I thought I did good service to my server by upgrading everything to php 5.6, and apache 2.4.18 through the easyapache interface, but now, apache won't start. ! Executing custom hook ...
2
votes
0answers
46 views

Parse Python script on Apache virtual host

I have an up and running Apache server working with PHP on a Centos 6 server. Apache was installed using yum -y install httpd mod_ssl. I now wish to add Python. I installed Python as follows: wget ...
2
votes
0answers
107 views

mod_proxy(_html) and a buggy Webserver (delivers text/html for JSON data)

We've got a Webserver that answers to AJAX requests by sending JSON Data to the client. Problem is that the JSON Data has the content-type "text/html" instead of "application/json" (it's an Oracle ...
2
votes
0answers
738 views

Problem using mod_deflate with ProxyPass

Using Apache 2.0 (2.0.53) on a particular legacy system, enabling mod_deflate causes directly-served content to be gzip-encoded just fine. However, and this is my problem, content proxied from another ...
2
votes
0answers
124 views

Set permissions for files uploaded to Apache's web directory via FTP on the Rapsberry Pi

I just set up an Apache web server on my Raspberry Pi, along with MySQL and PHP5. To upload files I set up vsftpd. The ftp connection sent me to my pi user home directory, instead of /var/www. So ...
2
votes
0answers
63 views

Apache mod_pagespeed ignores redirected pages

Using mod_pagespeed (https://developers.google.com/speed/pagespeed/module) with an Apache Server, I noticed that some pages were not being processed. The pages in question all had one similar ...
2
votes
0answers
527 views

Why is AliasMatch not working?

Here is what we have: Alias /assets/ "/home/virtual/public_assets/" AliasMatch ^/~([a-zA-Z0-9]+)/assets/(.*)$ /home/virtual/public_assets/$2 <Directory "/home/virtual/public_assets"> ...
2
votes
0answers
176 views

Replacement for DirectoryIndexRedirect for older versions of Apache

DirectoryIndexRedirect is available in version 2.3.14 and later. (mod_dir) Is there an alternative method for older versions? I have different DirectoryIndex directive sets for a lot of directories ...
1
vote
0answers
16 views

How to deal with URL requests instead of paths from suspicious users

I have a website which has CloudFlare enabled on it (Free plan) and lately I've been getting some really weird requests which instead of GET /some/path were like this: ...
1
vote
0answers
21 views

What memory size per apache process is ridiculous?

(closetnoc, yes I come with interesting and maybe ridiculous questions, but...) I have a question. I'm trying to make my server run as wonderful as possible and I'm in the back-end. Ever since I ...
1
vote
0answers
26 views

Why would a url of example.com/n (where n is the same number repeated 500x) return a 403 error?

I'm trying to add new functionality to my site which involves passing a whole bunch of parameters (could be hundreds of parameters) all encoded in base64 format. When I attempt the new URL I get an ...
1
vote
0answers
22 views

Trying to unload unnecessary modules from apache but don't know which

I have apache 2.2 with whm/cpanel installed on my server. When I look at the loaded modules list, I see: core_module (static) authn_file_module (static) authn_default_module (static) ...
1
vote
0answers
29 views

Separate multiple domains with htaccess (solution works on one hosting, not on another)

I have two different domains on one VPS. It's Apache 2.4.7, I remember trying long to set up name based Virtualhosts on localhost to find out Apache Virtualhosts are not supported anymore. (I cannot ...
1
vote
0answers
20 views

Vhost sends www.* to another domain

I created a virtual host at my server to host multiple sites, but I got a few unexpected problems. One sites doesn't gets recognized by the server and is redirected to another domain on the server, ...
1
vote
0answers
14 views

Startup Script for LAMP in Google Instance Templates

I am new to Google Cloud and i want to set up an Instance Template and then create an Instance Group using the template. After creating the group, i want to enable "Network Load Balancing". During ...
1
vote
0answers
28 views

apache/php settings to optimize website for long distance clients

Contrary to what many suggest, I decided to increase my keep-alive in apache from 1 to 5 seconds and to a maximum of 100 keep-alive requests per keep-alive connection from any one IP address. I also ...
1
vote
0answers
18 views

Why does Apache parse .htaccess if accessed through the main page and not through a VirtualHost?

I have two websites. One is hosted on /var/www (www.example.com) and the other is /var/www/test (test.example.com). The second is a VirtualHost. I wrote a .htaccess (I'm using it to mod_rewrite), put ...
1
vote
0answers
147 views

File does not exist from wacky websites?

Our LAMPs website has been running slow as of late, I suspect its a SQL problem but I want to check all the logs. Can somebody explain what the following log means, and give some insight if it is a ...
1
vote
0answers
31 views

mod_rewrite cause errors in apache error.log

In Opencart I have enabled SEO URLS, which is working fine, unless that I see errors in apache log: [Thu Apr 16 22:53:38 2015] [error] [client xy] File does not exist: ...
1
vote
0answers
32 views

Security and Apache Methods

I occasionally get annoying POST requests but one lately caused a 500 error. Not a biggie really, but it got me thinking. My site does not have but one form. Outside of this, POST should not exist ...
1
vote
0answers
94 views

I'm only able to reach my site using www, but not non-www

I had a website at example.com. I created another website (example.hotelrunner.com) using HotelRunner and changed domains. I did that by changing the A records and CNAME at Netfirms. Now example.com ...
1
vote
0answers
30 views

How can I view the memory size of modules used by Apache?

Ever since I started using my own Apache module on my server, I noticed that each Apache process size now went up from 30-50 MB to 60-70 MB+ I'm not sure if it is my module that is causing it, or if ...
1
vote
0answers
189 views

Can Apache .htaccess convert the percent-encoding in encoded URIs from Win-1252 to UTF-8?

I want to add a directive in my .htaccess, such that if the browser is pointed at a URI containing %E4 (ä) - or any other special character - the .htaccess automatically rewrites %E4 (ä) as %C3%A4 ...
1
vote
0answers
355 views

Apache 404 Issue after upgrading from Mavericks to Yosemites

Good afternoon fellow StachExachangers, Background story: I have recently upgraded my macbook pro from Mavericks to Yosemites, everything went well except my local development environment got ...
1
vote
0answers
77 views

How can you use Apache .htaccess to specify the location of the PHP binary on shared hosting?

I'm using shared hosting, can create .htaccess and php.ini and have access to ssh. I have PHP 5.6 installed to ~/public_html/php56 and can use this path with ssh, cron and exec() but not on the web. ...
1
vote
0answers
111 views

How to install/update/upgrade SSL certificate in Tomcat?

I am about to install/update/upgrade a SSL certificate in one of the servers which has the following configuration Sever information: Sever version: Apache Tomcat/6.0.35 OS version: Linux ...
1
vote
0answers
85 views

mod_cache always stores cached files served over HTTPS with “443” in the file name which causes caching not to work well

The config file: <IfModule mod_cache.c> <IfModule mod_disk_cache.c> CacheRoot /var/cache/mod_cache CacheEnable disk / CacheDirLevels 5 CacheDirLength 2 ...
1
vote
0answers
482 views

IE 11 doesn't preserve session between pages in my Java Web Application

I have a Java web application running in Apache/Tomcat. The web application runs fine in the latest Chrome & Firefox builds, and in older versions of Internet Explorer (IE) such as IE 8. The ...
1
vote
0answers
36 views

Regex isn't honored in mod_security2

SecRule REQUEST_URI "^/(|(.*)/)(lpt1|lpt2|lpt3|lpt4)(/|\.|\?|$)" "t:none,t:htmlEntityDecode,t:lowercase,t:removeWhitespace,block,msg:'X',id:'1000'" SecRule REQUEST_URI "^(.*)//(.*)$" ...
1
vote
0answers
59 views

Two stage Apache rewrite not working

I had a list of "Redirect permanent path/to/url1 http--//domain2.com/path/to/url2" rules working as a test, but when I attempted to couple them with mod_rewrite rules to catch non-matching domain1 url ...
1
vote
0answers
98 views

How to customize apache mod_sec log output?

I have an apache server which uses mod_security configuration. Those logs are further analyzed and sent out to OSSEC server for intrusion detection and monitoring. That OSSEC server then sends those ...
1
vote
0answers
296 views

Is my .htaccess rule creating an infinite loop?

Whenever I type a made up address that includes a directory index it removes it. The problem is when the the address includes a forbidden subdirectory. It reduces itself until it hits forbidden. How ...
1
vote
0answers
529 views

htaccess doesnt work in subfolder

I'm using xampp with apache on my windows machine. My directory structure is: C:/xampp/htdocs ---------------/Sync --------------------/ProtectedFolderA ...
1
vote
0answers
142 views

Apache, Rewrite Rule and Directories

I'm using the current virtual host: <VirtualHost *:80> ServerAdmin webmaster@mysite ServerName example.co.uk ServerAlias www.example.co.uk DocumentRoot ...
1
vote
0answers
151 views

Best practice for suEXEC on complex sites?

What is best practice for using suEXEC on complex sites? We've got a site running under a single vhost, and we want to be able to run different PHP web apps eg /forum /wiki /crm as their own UIDs, to ...
1
vote
0answers
219 views

Can I use both Digest and Basic Authentication on the same directory in Apache?

The reason I would want to do this is to support very old browsers (e.g. IE 6) that does not implement the more secure Digest method. If all new clients advertise the types of authentication they ...
0
votes
0answers
22 views

Moving rewrite rules to virtualhost tags instead of directory tags

Currently, I have my rewrite rules in what I believe is in the Directory context. My relevant part of httpd config file is similar to the following: <virtualhost nnn.nnn.nnn.nnn:port> ...
0
votes
0answers
9 views

Can a later DocumentRoot directive override an earlier DocumentRoot directive?

Because I use cPanel, the WHM developers are trying to restrict my subdomain creation to any folder within my user account of /home/username. In order to improve processing speed, I created a ram ...
0
votes
0answers
10 views

Cannot open SSLSessionCache DBM file `/usr/local/apache/logs/ssl_scache' for status retrival

Every now and then when I make a major change with apache, I restart it. Then my error log from ip 127.0.0.1 fills up with: Cannot open SSLSessionCache DBM file `/usr/local/apache/logs/ssl_scache' ...
0
votes
0answers
14 views

mod_php5 as a static apache module in a cpanel environment

One source claims that apache would perform about 5% slower when using modules that are dynamically loaded (shared). Because of this, I want to be able to make PHP on the server run faster by ...
0
votes
0answers
16 views

Godaddy Plesk domain forwarding to apache application

I am trying to configure my domain to forward to my application running on apache server (on the godaddy server). I'm using Plesk control panel to setup my domain forwards. In the Plesk CP, I've set ...
0
votes
0answers
101 views

Godaddy linux hosting The PDO extension is required for this adapter but the extension is not loaded

I'm getting following error on GoDaddy economy linux hosting. How to fix that. The PDO extension is required for this adapter but the extension is not loaded Error can be found at following ...
0
votes
0answers
12 views

Can multiple websites/domains be hosted by the same Platform as a Service [PAAS]?

Sorry if this is trivial, but I am still learning the basics of PAAS, so I appreciate your patience... Can separate websites both be hosted by a single PAAS (used via single account with a given ...
0
votes
0answers
10 views

ZF Tool 1.6.0 Windows 8 Permissions

I'm currently installing the Zend Framework onto a local 64bit Apache install with appropriate PHP ver. Localhost works fine and Apache Monitor is reporting correctly and identifying PHP just fine. ...
0
votes
0answers
36 views

Hosting htaccess redirect subdirectory to subdomain

I have simple hosting plan with domains included: Now I have the domain.com and seconddomain.com now I want to use all that domain and give them his own root directory. If I use the controle panel ...
0
votes
0answers
18 views

set chrome permission for whole domain?

I have a website running apache. In my conf, I have this at the end: <Directory /usr/local/django/apache> Order deny,allow Allow from all AuthType Basic AuthName "Files Top Secret" ...
0
votes
0answers
60 views

Moving subdomain to a different hosting provider

Currently my subdomain is hosted within same webhotel as my main domain. I would like to change it to point another domain (website on Windows Azure). Subdomain should be accessible all the time ...
0
votes
0answers
45 views

Brand new domain and server using URL Rewrite flagged by Google for Phishing

I set up a VM with 1and1.com and registered a domain. I'm running an app (Jira) that runs on its own Tomcat instance but I have set up URL Rewriting based on this article so that IIS can handle the ...
0
votes
0answers
22 views

URL Rewrite not working for API

I'm attempting to create an API server for a course I'm taking and having an issue with enabling URL rewrite. I have an htaccess file and an api.php, what my goal is is just to be able to go to ...
0
votes
0answers
51 views

How to customize LogFormat for Apache Virtual Hosts?

I really need some help with this. My server has multiple virtual hosts, each virtual host has its access log, I need to be able to customize the LogFormat for each virtual host exist on server. I ...