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

1
vote
0answers
10 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
0answers
15 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 ...
4
votes
1answer
58 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
70 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
8 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
34 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
27 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
31 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
43 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
102 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
90 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
12 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
23 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
34 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
47 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
7 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
22 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
23 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
72 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
87 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
26 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
72 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
24 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
48 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
45 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
98 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
46 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
63 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
223 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
166 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
42 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
67 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 ...
0
votes
0answers
137 views

How to enable CORS when connecting Jira to Nuxeo Roadmap (CentOS 6.5 & Apache)

After doing research into how to enable CORS, I have followed these suggestions to my httpd.conf and ssl.conf files. And it does not work no matter how many times I've tried. ...
2
votes
2answers
115 views

Apache security - list all possible handlers / actions

To ensure there aren't security weaknesses that can be exploited via .htaccess, how can we see all possible handlers that Apache can use via directives like SetHanlder and AddHandler. I know I can ...
0
votes
0answers
40 views

Combining .htaccess with http.conf to set https and direct all routes to index.php

I'm sure this question has been asked before, and I have tried to understand many of the answers given, however none of them seem to work with my particular set up. If the question can be answered ...
0
votes
1answer
160 views

How to point domain/path to a different folders inside the DocumentRoot

I have Apache 2.4 installed on Windows Server 2008. This server is dedecated for one site only i.e. https://subdomain.example.com all my files that will be executed when a user reach ...
3
votes
0answers
202 views

Apache Header Module Loaded but can't set headers in htaccess

I have Apache 2.2.29 (unix) setup and running on my new dev machine (mac). I am trying to set CORS headers for an API project - something that I have done many times. The htaccess file for the ...
0
votes
0answers
30 views

Dynamically adjust MaxClients on Apache server

Tuning MaxClients is a pain. It depends on activity on the server. It depends on how efficient the application is with memory. It depends on how many different applications you're running and what ...
0
votes
1answer
37 views

Apache - unset a directive

Is there a way to "unset" an arbitrary Apache directive such as by repeating it verbatim but with Unset or something in front of it? For example let's say at the server config level I have: ...
0
votes
0answers
209 views

Apache Allow Override Not Working with Docker Container

To sum it up; I can't get httpd.conf AllowOverride to work inside a CentOS:6.6 Docker Container. It completely hides the alias directory to any browser. I know it is not permissions and it is not ...
0
votes
1answer
16 views

How to avoid leaking the existence of local API in Apache httpd?

I'm building an API which will only be accessible to local services by using Require local in the <Location> directive. How can I make this return a 404 rather than 403 status code when accessed ...
-3
votes
2answers
86 views

phpMyAdmin not found [closed]

My phpMyadmin installed from portmaster works just fine execpt when I omit the trailing slash from the main URL, I got a not found error : http://192.168.1.161/phpmyadmin This link does not work ...
1
vote
3answers
1k views

How to disable the default document root in Apache?

I host some websites on my server running Apache Httpd. Each website has it's own domain or sub-domain and virtual host. Therefore, I need no default document root. Is it possible to disable ...
0
votes
1answer
125 views

How to alias name for IP Address

I have a website which is hosted in local Server (CentOS 5.x) (Hostname: xxx.yyy.local, IP : 192.168.5.25). I can browse the site typing server ip in the browser from my Local Network. How can I get ...
0
votes
1answer
105 views

Apache losing VirtualHost configurations “randomly”

I am hoping someone might be able to shed some light on this issue that I have had no luck solving elsewhere. We are running an Apache (2.2.15) server used for basic load balancing, but ultimately ...
2
votes
2answers
155 views

Multi-site hosting security - ensure no scripts can run as Apache user, but only as each website's user

In setting up a hosting environment with multiple sites that should be isolated from each other, I did the obvious step of having PHP be configured so it runs as the user that's associated with each ...
1
vote
1answer
71 views

Apache configuration: Setting a different alias based on a cookie

Is it possible to set a different alias based on whether a cookie is present? What I am trying to achieve is: use a different folder to display different content based on whether a cookie has been ...
0
votes
0answers
22 views

Apache throwing error “The requested operstion has failed!”

I use Apache 2.2 and ColdFusion. The apache server was up and running fine till yesterday. But suddenly today when I tried to start the server it throwing an error message The requested operstion has ...
3
votes
1answer
177 views

Can I view the resolved config Apache is using?

Is there a way to view the final "effective" config a running Apache instance is using after resolving any/all includes and the like? I'm looking at a config that has a web of includes and suspect ...