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

1
vote
0answers
19 views

Wamp - httpd.conf file does not work [on hold]

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
16 views

amazon ec2 - opencart seo url not working [on hold]

I am new to amazon ec2 and opencart. I am trying to enable seo urls in opencart. I enabled it from settings/Server and set seo keywords in products. I didnt have .htaccess file so put had to upload it ...
0
votes
2answers
58 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
votes
0answers
11 views

wampserver is not starting after adding a line in the httpd.conf ( windows 7 ) [duplicate]

The computer is Windows 7 Integral Edition. I installed successfully wampserver wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-32b. The vcredist_x86 Visual C++ redistributable library is also ...
1
vote
1answer
74 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
42 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
29 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
70 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
67 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
154 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
31 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
27 views

VirtualDocumentRoot and ProxyPassMatch

I have the following Apache configuration: ServerName localhost UseCanonicalName Off LogLevel debug <VirtualHost *:8080> ServerName _default_ VirtualDocumentRoot ...
0
votes
3answers
186 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
36 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 ...
1
vote
2answers
140 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
25 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
30 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
55 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
56 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
51 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
2answers
101 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
62 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
108 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
79 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
69 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
127 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
75 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
34 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
36 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
38 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
343 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
159 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
64 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 ...
0
votes
1answer
76 views

How to organize apache site configuration files

I'm looking for a way to organize the files that makes up the apache sites-enabled configuration. Let's say I have sites A, B and C on my webserver. These sites have different DocumentRoot s and ...
0
votes
1answer
85 views

Apache not serving static content concurrently

When tried to open multiple pages from Codeigniter based custom CMS on different tabs, the first tab loads, while the subsequent tabs wait for the first tab to complete, then sequence follows ...
0
votes
0answers
60 views

CENTOS Apache: non-www alias not resolving when CGI executes

I'm setting up my first ever dedicated server, and copying over site files (mostly HTML code from a discussion board product) from another site to this new one. My issue is when I click on some links ...
1
vote
1answer
118 views

Setting up IPv6 on Apache2

Currently I have the "ports.conf" with the following content: NameVirtualHost *:80 Listen 80 <IfModule mod_ssl.c> Listen 443 NameVirtualHost *:443 </IfModule> <IfModule ...
0
votes
2answers
749 views

Apache optimisation

I'm trying to set properly an apache installation on an aws instance EC2 m3 Large (with 7.5 Gio or RAM). Once or twice a week, apache crash with the message: [Thu Aug 14 12:38:33.552250 2014] ...
0
votes
1answer
267 views

is “ServerAdmin email@domain.tld” required in the VirtualHost in Apache?

I rather not have ServerAdmin in my VirtualHost because all it does is attract spam. has no use what so ever. can it be ignored ?
0
votes
0answers
18 views

<Directory /> doesn't (always) apply its settings to NFS-mounted home directories

Two different machines, a production and a test machine, are running CentOS 6, with the CentOS Apache package installed, and both version 2.2.15. The configuration on the test machine is an exact ...
1
vote
1answer
2k views

HTTPS reverse proxy using apache

I am using this apache configuration to set up a reverse proxy to a process running on the same machine, on port 8443, <Directory "/var/www/html"> Options +FollowSymLinks RewriteEngine ...
0
votes
2answers
85 views

How to restrict access to root to daemon user?

I have Apache 2.4 with PHP 5.5.14 installed on latest Debian. According to Apache security tips&tricks I've set my httpd.conf to this: <Directory /> AllowOverride none Require all ...
0
votes
1answer
115 views

How do I allow access to a directory in apache that is actually a RewriteRule match?

We have a server with a lot of domains. Each domain will have one or more of the following admin areas that we wish to secure by IP: domain.tld/admin (admin area) domain.tld/blog/wp-admin (wordpress ...
1
vote
1answer
470 views

Apache missing php module

I installed httpd v2.2.15 and php v5.5.13 via yum. I first noticed the problem when I tried to access my site and it displayed the PHP code. Then I discovered that there is no php module in ...
1
vote
1answer
1k views

Apache HTTPd - rotatelogs not working

I've edited my conf.d/ssl.conf file and changed the TransferLog directive from: TransferLog logs/ssl_access_log to TransferLog "|/usr/sbin/rotatelogs logs/ssl_access_log.%Y-%m-%d.log 60" (I am ...
0
votes
2answers
170 views

resolving two tomcat instances to two different directories with httpd.conf and mod_proxy_ajp [closed]

Please excuse my ignorance on this topic. I've read and read, searched and searched and I'm still struggling with my setup. I'm trying to setup my httpd.conf to allow one domain, with two directories ...
0
votes
1answer
58 views

www going to the wrong domain [closed]

So I have two sites on one plesk server set out as below: /var/www/vhosts/site1.co.uk and /var/www/vhosts/site2.co.uk The problem is both www.site1.co.uk and www.site2.co.uk are both going to ...
0
votes
3answers
696 views

Which settings schould be changed to lower apache CPU usage and use more RAM?

On our CentOS 6 server, we have now a lot of CPU overload, while our RAM is almost not used. KeepAlive is set to "on" because we have some AJAX elements on your website and serving many files such as ...
1
vote
0answers
63 views

suPHP usergroup reset to default at midnight in httpd.conf, how to avoid this?

I have 3 domains that need to point to the same public_html folder. So I've setup a http.conf for those domains. Let's say that I have user/group : master slave1 slave2 slave3 All slaves should ...
0
votes
0answers
197 views

403 Forbidden error on apache 2.2.2 under ElementaryOS Luna

I've installed latest lampp in my ElementaryOS install. All went ok until I begun getting access problems in some files, so I went through: created a new group www and added my user to it, then ...