Historically this is the main apache configuration file. In recent installations, the main file can also be called apache2.conf

learn more… | top users | synonyms

0
votes
1answer
37 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
40 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
1answer
58 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
23 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
17 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
32 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
103 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
17 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
35 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
16 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
24 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
63 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
39 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
30 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
30 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
105 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
44 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
165 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
108 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
79 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
244 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
69 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
49 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
248 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
90 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
240 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 ...
0
votes
0answers
84 views

VirtualDocumentRoot and ProxyPassMatch

I have the following Apache configuration: ServerName localhost UseCanonicalName Off LogLevel debug <VirtualHost *:8080> ServerName _default_ VirtualDocumentRoot ...
1
vote
3answers
358 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
59 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
202 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
43 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 ...
0
votes
0answers
34 views

simple conditional mod_rewrite for redirecting wrong urls

I have an assignment to add storeId parameter to wrong urls. It should behave like this: If url has directorystore/a in it like www.example.com/store/a - the next directory in path has to be ...
0
votes
1answer
119 views

Unable to configure MaxMindDB's Apache module

I recently installed MaxMind's MaxMindDB apache module successfully. I added a new file called geoip.conf to /etc/httpd/conf.d/ with the following contents: <IfModule mod_maxminddb.c> ...
0
votes
1answer
71 views

redirect all subdomains to www while setting environment variable

I've got a domain (example.com) pointed to an apache2 webserver. the root www folder looks like: www/ site/ app/ test/ The apache config should: send all requests to ...
-1
votes
2answers
110 views

Apache keepalive timeout

I have a server with 2 cores and 2GB RAM which is struggling with memory utilisation. When I run free -m I regularly get under 50MB free - right now it shows 378MB free with only 1 user actually on ...
0
votes
3answers
226 views

how to handle multiple apps via port 443

I am not an expert by any means in regard to apache (in our case Oracle's version of apache, OHS) and redirecting input within httpd.conf. We have multiple applications deployed on WLS 10.3.5 on the ...
0
votes
1answer
86 views

Apache - separate log files for each auto subdomain

I need to create separate log files for each subdomain. Regular expressions (%-3+) for some reason in parameter ErrorLog don't work. ErrorLog /var/www/example.com/logs/%-3+_error_log Here is my ...
1
vote
1answer
132 views

Does a wildcard subdomain (*.example.com) in Apache config also include the root (example.com)?

Does anything in an Apache config file (like ServerAlias, RewriteRule, ...) that has a wildcarded line like *.example.com also include the root example.com or do I have to separately add this ...
0
votes
1answer
260 views

Serving different charsets per virtual host

On a centos Server 6.5, apache 2.2.15 is it possible to server multiple charsets to different virtual hosts? I know that setting the default Charset is done by adding into the httpd.conf file: ...
0
votes
2answers
140 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 ...
-1
votes
1answer
297 views

Redirect page to port 8080 of tomcat for remote vm [closed]

I have a problem configuring a remote virtual machine (with CentOS 5.5). I've installed LAMP, JasperServer and my company application (an industrial manager software), but this is my first remote VM. ...
0
votes
1answer
106 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
1answer
40 views

auto assign ip address to httpd.conf

I am building a cluster of servers in which new virtual machines will spin up as resources are needed. Is it possible in the apache config file to use a variable that will detect the servers ip ...
0
votes
0answers
55 views

Apache HTTP server STIG rule

I am new to setting up Apache HTTP and have to STIG the Apache HTTP 2.2 I have running. (http://iase.disa.mil/stigs/app-security/web-servers/Pages/index.aspx). For one of the rules it says the ...
0
votes
1answer
43 views

redirect to subversion project after authorization

I am trying to figure out how to have apache redirect to a subversion repository after the requested URL is authorized for a user. After trying a lot of combinations the best result I can get is ave ...
0
votes
0answers
671 views

“Pass phrase incorrect” in Apache SSL certificate after adjusting httpd.conf

On Friday I replaced an SSL certificate (purchased by my school's IT through Symantec and sent to me) in Server Admin for Mac OS X 10.6.8 Snow Leopard Server running on an Xserv. I serve a couple ...
0
votes
1answer
213 views

apache server log format change

I edited the the httpd.conf to change the log format of apache 2.4 on my windows machine Specifically I edited and made the following changes: #LogFormat "%h %l %u %t \"%r\" %>s %b ...
0
votes
0answers
77 views

Apache on Windows: How to configure 1 process per client?

I've got a quite difficult problem which I don't know hoe to solve. We use a self created ISAPI module which is a "business server" running behind an Apache. From time to time a client app crashes ...