httpd.conf is a typical name for a web server configuration file. Historically this is the main Apache configuration file.

learn more… | top users | synonyms

0
votes
1answer
35 views

Apache Keeps reverting to mpm_prefork (Apache 2.4.7 / Ubuntu 14.04.2)

I have had this problem for over a year now whereby each time there is a security update to Ubuntu and I have to reboot the server, Apache 2.4 decides to start using the mpm_prefork worker despite the ...
0
votes
2answers
35 views

Apache rewrite all URLs to lowercase if contains at least one uppercase

I have been trying to get Apache to rewrite all URL's that contain an uppercase character anywhere in it to be lowercase. All the solutions I have found do not work in my case for some reason. I am ...
1
vote
0answers
15 views

Is ScriptAlias needed in Apache 2 if the path is defined in conf.d?

I've installing apcupsd in a fresh installation of CentOS 7 that is running Apache/2.4.6 (CentOS). I installed the CGI status for apcupsd, but I continue to get the error message when attempting to ...
0
votes
1answer
22 views

fcgid configuration breaks Apache

I'm trying to include the following block of code on my site in order to run a fast-cgi script: # Create a directory for the iipsrv binary ScriptAlias /fcgi-bin/ "/home/USERNAME/SITENAME/fcgi-bin/" ...
0
votes
0answers
22 views

Apache vhosts redirect to www.domain.com:PortNumber/

I'm having the following problem with Apache 2.4. I have set httpd.conf file to listen to 2 more ports (8081 and 8082) like this: Listen 80 Listen 8081 Listen 8082 DocumentRoot "C:/xampp/htdocs1" ...
1
vote
1answer
30 views

httpd.conf (ProxyPass and ProxyPassReverse)

I would like to ask what is the difference between the following configurations below. application original URL/location: http://localhost:8080/MyServerApp/App_1 1st set-up/configuration ...
0
votes
0answers
6 views

apache2 not listening in ipv4 address in linux [duplicate]

I added Listen 0.0.0.0:80 in the end of apache2 configuration file /etc/apache2/apache2.conf. Then Restarted apache2 by using service apache2 restart. The netstat | grep apache command result is given ...
0
votes
1answer
31 views

Apache <VirtualHost> tag, do NOT redirect if client's IP = x… how to do that?

so I couldn't find an answer to this question anywhere... I am redirecting my clients from http to https when they're using http by having this in my httpd.conf <VirtualHost *:80> ServerName ...
0
votes
2answers
19 views

One site handles https request with no ssl correctly, other generates \x16\x03\x01 error

We have two sites, sub.example1.com and example2.com. Neither one is specifically configured to handle ssl requests. One site https:/sub.example1.com, handles a secure request to port 443 successfully ...
0
votes
1answer
25 views

Apache Main Server does not serve as default as stated in httpd.conf when virtual hosts are created- Why?

When setting up an Apache server the Main Server section states the following: # 'Main' server configuration # # The directives in this section set up the values used by the 'main' # server, which ...
2
votes
3answers
35 views

How do I set up a toggle for an Apache RewriteRule?

I have the following Apache config, which displays a 503 Service Unavailable error to all visitors except for my IP address: ErrorDocument 503 /503.html RewriteEngine On RewriteCond %{REMOTE_ADDR} ...
3
votes
1answer
39 views

Unable to connect to apache from the web

I have an apache instance running with vhost configured, here is the httpd.conf: #Listen {the_server_ip}:80 Listen 80 # <VirtualHost *:80> ServerAdmin webmaster@example.com DocumentRoot ...
0
votes
0answers
23 views

HTTP Server on Windows that does SCGI over a named pipe

Is there a HTTP server that runs on Windows and can call SCGI over a named pipe? I'm asking because I created an SCGI server that uses TCP/IP (blocked to a local address) and it works OK, but as far ...
0
votes
1answer
49 views

Moving cgi script from Apache 2.2 to 2.4 results in a 403 error

My configuration is as follows: #Include for LinuxStat (http://lstat.sf.net) Alias /lstat/ "/usr/local/lstat/www/" <Directory "/usr/local/lstat/www/"> #for execute CGI files Options ExecCGI ...
0
votes
0answers
9 views

apache filter to set response code

I have an apache configuration file when apache use that file I want to serve specific status code for all the response, Is there a filter way to do it ? this configuration file contains lots of ...
-1
votes
1answer
29 views

Cannot get application to use htaccess unless pointing to index.php

I am having difficulty getting one of my applications to use the htaccess file inside its path unless i point directly to index.php in the browser I have installed on my computer ubuntu: Distributor ...
1
vote
1answer
64 views

httpd - Increase number of concurrent requests

I have httpd server running on Centos7. The apache details - Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 I'm trying to load test a web application by starting to hit it with 100 users & ...
1
vote
0answers
24 views

https://www.domain.com wont redirect to https://domain.com on vps

hello so i have this on my apache configure file: <VirtualHost *:80> other stuff here Redirect permanent / https://domain.com/ </VirtualHost> this works great it redirects all ...
0
votes
1answer
43 views

How to read specific character out of request header in apache http.config

We are trying to read specific character out of http request header to determine the type of URL it needs to be forwarded it. E.g., Http header - HTTP_ACCEPT=version.ver1+xml In Httpd.config, we ...
5
votes
1answer
179 views

Apache (Linux) httpd listen on link-local IPv6 address

I would like Apache to listen on the link-local ipv6 address on a particular interface. I have the following line in my httpd.conf: Listen [fe80::a00:16ff:fe89:420f]:80 Which is based on the Apache ...
3
votes
1answer
176 views

Passing Apache variable into SetHandler directive

I'm trying to have dynamically determined Unix socket used for different separated PHP "apps" (different sockets lead to different PHP-FPM pools) on my Apache (2.4.18) server (using mod_proxy_fcgi): ...
0
votes
2answers
15 views

I need help setting up httpd.conf file to perform redirects to same site if accessed via http and https

I am pretty much a newb at http configuration, so please bear with me (I inherited support of this system). My web server is running behind an F5 which handles all of the https handshaking. If the ...
0
votes
1answer
70 views

How to test conditions in apache configuration?

I want to test a configuration in apache. How can I "debug" the configuration file ? For example, let's say that I have : <IfModule mod_geoip.c> GeoIPEnable On GeoIPDBFile ...
0
votes
1answer
65 views

How to Retain Proxy URL for all request using Apache load balancer

I am trying to serve the requests to my Site through Proxy machine using Load balancer. When i try to access the Site by hitting http://PROXYSERVER.com, the HomePage comes up fine retaining the ...
1
vote
0answers
42 views

Apache using all cpu and cause OOM killer

I have an Xen-VPS CentOS 6.5 64 Bit with 2GB memory and 4 GB Ram, I have application with php, in my application lot of pages need to image which generated by php_imagick extension, here is apache ...
-3
votes
2answers
48 views

Server not recognizing that wget is installed on OS X Yosemite [closed]

I'm trying to install some software (called Prohits, used for mass spectrometry data management) on a localhost server I set up. One of the requirements for the install is that I have wget installed. ...
0
votes
0answers
13 views

process 8705 command line error

Would anyone happen to know how to resolve a proc/8705/cmdline error? I'm not even sure what that is but it's stopping my httpd client from running.
2
votes
1answer
131 views

Hyperlinks disabled when ProxyHTMLEnable is Set to ON

I am using an application behind a reverse proxy (proxypass and proxypassreverse). I don't understand why hyperlinks are disabled (unclickable) when I set ProxyHTMLEnable to ON. Please note that the ...
1
vote
1answer
105 views

php is not working with apache after upgrading from 5.3.3 to 5.6

I have a vps with bigrock which had php version 5.3.3 installed. I have recently upgraded php to version 5.6 because some php functions were not working. Now after removing old php and installing ...
0
votes
0answers
15 views

How to stop cloud server crashes

I have had this ongoing problem with my server hosting this domain http://www.independentlondon.com, a dedicated cloud server i'm trying to manage myself. It just keeps crashing despite many changes ...
0
votes
0answers
56 views

Apache. Substitute pattern with dollar sign

I am trying to configure Apache 2.4.9 (Windows) to use mod_substitute module. But when apache meets this line Substitute "s#${_STRING_TO_REPLACE}#http://something#nq" It says Config variable ...
0
votes
1answer
46 views

CentOS 6.5 Apache redirect to 127.0.0.1

I have to install a new CentOS Server v6.5 I already install httpd and want to access Apache Welcome Page by serverIP. But I get a timeout, so I stop iptables service for a moment. Now I get an 301 ...
0
votes
3answers
64 views

allow domain in httpd.conf file block rule

I have a "rule" in httpd.conf to pop-up a windows if somebody tries to access wp-admin section of any domain where wordpress is installed. With this rule I prevent boots for accessing wp-admin folder ...
1
vote
0answers
11 views

Turning off Hostnamelookup in shared hosting [closed]

I have a linux shared hosting account with cpanel for a drupal website. While optimizing the site (with the help of information from tools.pingdom.com), I found considerable waiting time of about ...
0
votes
1answer
51 views

How to do digest authentication in Apache?

I have an apache2 server running on Ubuntu. I'm new to Apache, so forgive me I say something illogical. I have basic authentication working, so I thought I'd just replicate the directives for digest ...
-1
votes
1answer
32 views

RewriteRule running after Require test failed which rewrites 403.shtml to website content instead of error message

When a request gets denied due to require all denied, it first gets routed to the ErrorDocument 403.shtml but then that gets rewritten rather than stopping there and the site content actually gets ...
1
vote
1answer
134 views

Apache - Multiple sites - One Server - Different Ports - Linux

Currently I have an Apache2 listening on Port 80. This is configured in /etc/apache2/listen.conf In /etc/apache2/conf.d I have the normal configuration files and: site1.conf, site2.conf and ...
0
votes
0answers
144 views

Setting php.ini extension_dir with httpd.conf SetEnv

I'm trying to have a single point of configuration for a portable dev environment. I am using Apache 2.4 and PHP 5.6.14 on Windows. This is defined in my httpd.conf: Define ROOT ...
1
vote
1answer
31 views

Using network drive as alias in Apache 2.2 is not working

OS is Windows 7 Appache is installed in "C:\AppServ\Apache2.2" In httpd.conf for documentroot DocumentRoot "C:/Program Files (x86)/myweb" for alias: alias /link/ ...
-4
votes
1answer
78 views

My website is superslow but the %CPU is only 25%

I have 2 servers for my website : One server 256GO RAM 20c/40t for MySQL One server 256GO RAM 20c/40t for Apache The MySQL server is always ok (30-50% of CPU is used). But the Apache ...
1
vote
0answers
26 views

Need advice on Apache 2.2.22 Win Server 2003, memory leak

I'm running Apache 2.2.22 on Windows Server 2003 I'm serving some tutorial videos on the webpage to some registered users. The webpage has up to 30 users at a time, I know this because of analytics. ...
0
votes
1answer
78 views

Changing the Default Foreman URI

I have just installed the latest instance of foreman on a RHEL 7.1 VM. Now that it is installed the httpd configuration has changed so that the foreman URI is http(s)://(server)/. This has broken ...
-3
votes
2answers
57 views

Apache directory to listen on certain port

Note: this is not a firewall issue I am running a kolab server and trying to increase security by having the web-admin listen on a certain port.. I picked 8443. Here's my conf file: Alias ...
0
votes
1answer
177 views

Apache Virtual Hosts Override httpd.conf

I'm confused as to how vhosts in Apache 2.4 work. I have enabled virtual hosts, and I have two websites set up on my server. I think that this means the default host (/var/www/html) doesn't work ...
0
votes
0answers
57 views

How to implement gzip compression in such a way that the files compressed path is stored as relative path rather than absolute path?

I am trying to implement gzip compression in my Application server machine but when it is served through the proxy(different machine) to the front end the css files are getting broken due to the mixed ...
0
votes
0answers
81 views

Apache 24 on windows 2008 stops responding to some clients

I have deployed a South Tactic (python) web server using apache. Tactic runs more than one python processes for multi-threading on the server, which apache uses for load balancing. The problem is ...
0
votes
0answers
367 views

CGI document downloads instead of executing on Apache2 Mac OS X

I am new to manually configuring Apache servers and I'm trying to set up a an Apache 2.4 server on a Mac OS X. I am experimenting with a C++ and CGI and I'm trying to generate an html page via the C++ ...
2
votes
3answers
219 views

Apache - drawback to high number of httpd processes always running

Is there any issue with having a high number of spare httpd processes always running? I ran a test where I increased StartServers and MinSpareServers by 1,000 and measured the increase in memory ...
0
votes
1answer
83 views

Virtual Host for SimpleSAMLPHP

I want to install SimpleSAMLPHP on my apache2, I don't have a lot of experience on server config and need to ask if this is correct for virtual host setup: <VirtualHost *:80> ServerName ...
0
votes
1answer
87 views

Load Balance Virtual Host and Amazon/DO Server using HAProxy

I am stuck with an issue and im hoping someone can point me in the right direction. I have a server that hosts multiple sites using Apache Virtual hosts (shared IP's). A few months ago my server ...