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
0answers
23 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
22 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
23 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
2answers
65 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
14 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
23 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
23 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
1answer
62 views
+100

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
22 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
26 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 ...
0
votes
0answers
75 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
19 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
27 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
56 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
14 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
59 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
173 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
63 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
61 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
113 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
33 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
19 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
57 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 ...
0
votes
4answers
277 views

Apache 2.4 Virtual host apache.conf 403 permission & 404 document root access errors

I know this questions has been raised before, but I swear I have read through the other posts. I am using virtual hosts on Apache/2.4.7 (Ubuntu) server to host multiple wordpress sites. I have one ...
0
votes
0answers
24 views

Apache issue - compare cookie value against the Request URI

Can we have RewriteCond statement which will compare cookie value against the Request URI?. I couldn't find any solution for it. Thanks in advance.
0
votes
1answer
76 views

How to resolve '[info] server seems busy' from apache server logs?

I've seen this question asked a few times but it hasn't had any real answer; so I've decided to post my resolution. The below info message can be seen in the apache error.log: [info] server seems ...
1
vote
1answer
24 views

Using Dynamic paths in Apache httpd.conf file

I know how to set up multiple hosts in an apache httpd.conf file but is it possible to make that dynamic. If I put my folders in directories like this. c:\ development\ websites\ ...
1
vote
1answer
27 views

Cannot access virtual directories on Drupal 7

I have installed Drupal 7.37 on AWS EC2 Linux instance. It was working perfectly until I reinstalled httpd24 and PHP 5.5. Since then, the main page loads perfectly but I cannot access my virtual ...
0
votes
0answers
13 views

Mod_rewrite entries in global Apache config disable mod_rewrite in .htaccess [duplicate]

I'm trying to redirect some IPs globally to a specific URL. I've put <directoryMatch /var/www/vhosts/(.*)/httpdocs/> RewriteEngine On RewriteCond %{REMOTE_ADDR} ^111\.11\.11\.[0-9]$ ...
0
votes
1answer
69 views

How to correctly setup an Apache VirtualHost as HTTP and HTTPS?

I am trying to setup a locally (for development/testing purposes) SSL site using Apache and mod_ssl and this is what I have in my VirtualHost files: /etc/httpd/conf.d/local.conf <VirtualHost ...
1
vote
1answer
69 views

How to test the value of LimitRequestFieldSize in Apache 2.4

I would like to test the value of LimitRequestFieldSize in Apache 2.4. I have tried setting it and was wondering if there was a straightforward way of calling its value from apache or testing it via ...
1
vote
1answer
51 views

Logging data posted to a specific URL in Apache

I have been asked to create a logging solution for an AngularJS application on a large e-commerce site. The solution itself has been created but actual transmission of the log data to the server has ...
0
votes
1answer
38 views

Plain Wildcard for Apache's ServerAlias

Are there any possible problems with using ServerAlias * in an Apache configuration? One thing I considered: ServerAlias is based on HTTP_HOST in HTTP headers delivered by the client, which can ...
0
votes
1answer
207 views

What's the easiest way to integrate Authy (two-factor) authentication with Apache httpd?

EDIT: Something similar to Authy would work too, if that service was i) hosted/SaaS and ii) able to send SMS messages. Most examples advocate RADIUS for two-factor authentication but I'm already ...
0
votes
0answers
51 views

Apache swapping virtual host entries each request

I have the following httpd.conf. Based on the different domain, it should route the request to the appropriate entry showing a different site based on a similar code base. The problem is that it ...
1
vote
0answers
276 views

Wamp - httpd.conf file does not work [closed]

I know this question has been asked before but I cannot find a solution out of the existing threads. Simply - the changes in the httpd.conf-file does not take effect. I have even deleted the file and ...
0
votes
0answers
149 views

amazon ec2 - opencart seo url not working

I have installed opencart on my amazon ec2 server. I am trying to activate the seo url feature but it is not working. I have renamed .htaccess.txt to .htaccess in folder directory ...
0
votes
2answers
92 views

Unable to connect via apache port

I created a new VirtualHost file with the folllowing parameters: <VirtualHost *:6060> ServerAdmin xxx@xxx.systems DocumentRoot /var/www/xxx/httpdocs <Directory ...
1
vote
1answer
293 views

Set Access-Control-Allow-Origin Header for specific URL that has a Query String

I'm asking this here as a last resort after trying different things / asking google / reading http://httpd.apache.org/docs/2.2/ I have the following in my apache2.conf # Allow cross domain fonts ...
0
votes
3answers
90 views

Limit scope of an apache vhost .conf alias

We have a vhost conf file which is a catch-all in a multi-tenant scenario, however there's a requirement for one of our clients to have a specific alias declaration which is currently defined like ...
1
vote
1answer
72 views

Settings in httpd.conf not working

I have the following (maybe very simple) problem: I have a fresh install of apache2 on debian. In my /etc/apache2 directory I have an apache2.conf and a httpd.conf. I thought that any change I need ...
0
votes
0answers
343 views

Apache 2.4 git integration

After a long fight I managed to cleanup all Apache configuration and authentication errors, but remote access to repo still fails: mcon@ariag25:/tmp$ git clone ...
-1
votes
1answer
125 views

Https to http redirect for only one of multiple sites on the same server

I have several sites on a single server, and an SSL certificate. The problem is that i need to redirect all sites from https to http except one, which should be the only site using https. Say, ...
4
votes
2answers
305 views

Do I have 2 different Apache installations on my VPS

I'm new to server maintenance, and am running Apache 2.4 on Ubuntu 14.10 on a VPS I just set up yesterday. It seems as if I have two different Apaches installed at different places in the machine due ...
0
votes
1answer
35 views

What are the security implications of the below apache conf file

I have a situation where I want to share a codebase when accessing via a subdomain. sub1.example1.com shares sub1.example2.com Both example1.com and example2.com have there on virtual host file. I ...
1
vote
0answers
130 views

VirtualDocumentRoot and ProxyPassMatch

I have the following Apache configuration: ServerName localhost UseCanonicalName Off LogLevel debug <VirtualHost *:8080> ServerName _default_ VirtualDocumentRoot ...
1
vote
3answers
511 views

client denied by server configuration: /opt/bitnami/apps/wordpress/htdocs/

I have word-press website on ec2 with bitnami image in error log file i am getting bellow snippet error. I have overwrite default htaccess.conf file with my .htaccess file now the path for ...
0
votes
2answers
87 views

Apache load balancer won't forward to second balance member

I'm trying to figure out what is wrong with my apache config that is preventing the balancer from calling the second BalanceMember on port 9001. Or even some kind of troubleshooting options. Apache ...
2
votes
2answers
245 views

Setting up a multi-domain apache with nameservers, but every request is handled by the default configuration [closed]

I had this sorted out before, but now I had to wipe my VPS and apparently I can't configure stuff properly anymore, so.. I've set up a Debian VPS and installed Virtualmin on it I bought a test domain ...
0
votes
0answers
52 views

Apache config for AllowOverride All in .conf file in conf.d not working

I have setup an Amazon EC2 LAMP server running Apache v2.2.29. I've loaded mod_rewrite and am trying to modify the entry to AllowOverride All. Rather than edit the httpd.conf file in the ...