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
9 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
29 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
0answers
25 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
23 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
15 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
25 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
71 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
49 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
33 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
46 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
64 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
37 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 ...
0
votes
1answer
66 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 ...
-1
votes
2answers
118 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
116 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
15 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
338 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
64 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
30 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
285 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
570 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
128 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
52 views

www going to the wrong domain

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
370 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
48 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
151 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 ...
1
vote
1answer
365 views

How add SSL/443 to Apache server without virtual host?

I have an apache server set up on CentOS. I am trying to add SSL. I was able to create the certificate and keys and then updated /etc/httpd/conf.d/ssl.conf to have the following configurations: ...
3
votes
1answer
990 views

Why is my Apache in an infinite redirection loop?

We currently have an internal site set up for IT at it.example.com, which hosts a single Redmine site. I want to set up Apache so that if a user goes to kb.example.com it redirects them to ...
1
vote
1answer
116 views

403 error from 403 ErrorDocument

I've the following configuration script in my Apache 2.4.7 installation: <Directory "/www"> Options Indexes FollowSymLinks AllowOverride All <RequireAll> Require all ...
-1
votes
1answer
40 views

Best way to setup apach default site

I'm working on setting up a web hosting system and was wondering what the best way to configure the default configuration is to look in a folder if there is no vhost for it. Here's how I would like ...
-3
votes
2answers
44 views

How to limit access to website based on specific header? [closed]

I am developing on my local PC but it's setup so that it is listening on external IP, so anyone can hit my apache is they know the port number. I want to implement a quick solution to prevent other ...
-1
votes
1answer
3k views

How to add /home/user/public_html as virtual host in apache - centos [duplicate]

In Directadmin (I used it before) when we create a reseller, a new user with a home directory was created and user could add domains in a home directory like /home/user/domains/example.com/public_html ...
0
votes
3answers
81 views

How to Redirect FROM https TO http [closed]

I have a site that does not need https. We do not collect any information at all, nor do we have any forms. This being so we did not set up an SSL certificate. However, when I go to ...
0
votes
0answers
91 views

Where do I put the CacheEnable, CacheRoot directives in httpd.conf? Not working currently

I am not using a VirtualHost and I added the following to httpd.conf right after the DocumentRoot declaration (not the one that's an XML node): CacheEnable disk / CacheRoot /var/www/cache ...
1
vote
2answers
740 views

difference between _default_:* and *:* in VirtualHost Context

I want to know the difference between "default:*" and "*:*" in VirtualHost Context. <VirtualHost _default_:*> #... ServerName host.example.com #... </VirtualHost> ...
0
votes
1answer
1k views

ProxyHTMLURLMap replaces url given two times

to explain the title, i have put this (this is the only htmlUrlMap) in my conf: ProxyHTMLURLMap / /rp/ticket/ and this in my html: <script type="text/javascript" ...
0
votes
1answer
37 views

issues setting up subdomain with httpd

Hey I'm having an issue getting my subdomains to show up, I am using HTTPD and have set up my conf in conf.d witht he following <VirtualHost *:80> ServerName wp.{domain}.com ...
0
votes
1answer
239 views

CentOS: Is it possible to have two different installations of PHP and Apache on the same machine?

There's a motivation in my company to enable a team of coders to develop an upgraded version of an existing product on one of our development servers. There are two configurations, the one we use now ...
2
votes
4answers
162 views

Apache Security Config - Ubuntu 12

I am running a LAMP stack on Ubuntu 12, with the primary function to serve a PHP based API. There is only one file I want to be exposed to the public called: api.php It needs to reference a config ...
0
votes
1answer
50 views

not able to access xml file from webserver

when i am trying to aceess my html file of xml file after putting it in var/www/html i am not be able to access it from a browser. for example , i have stored crossdomain.xml file in var/www/html ...
0
votes
2answers
117 views

Exclude the root from a ProxPass directive, but keep everything below the root included

I am running Apache in front of a Tomcat instance. Apache proxies every request that comes through and passes it on to Tomcat. The current configuration is such that Apache puts a ProxyPass on the ...
4
votes
1answer
58 views

Apache: can ErrorLog be made to log also hostnames instead of IP addresses?

Having different Apache servers in a low-load int*ra*net with almost only DHCP clients, we need to log hostnames instead of IP addresses. As the DHCP environment is quite dynamic, any later attempt to ...
2
votes
1answer
737 views

.htaccess not working on Cent Os 6.4

I have installed Cent Os 6.4 -Final Version and set the environment for PHP web development. My application uses the .htaccess for url rewrite & denying direct access of files. my configuration ...
2
votes
1answer
37 views

Is RewriteEngineOn used only once in httpd.conf or can it be used multiple times?

I read that a directory block in httpd.conf is like a .htaccess file. Does that mean that RewriteEngineOn can be used multiple times within httpd.conf? I'm assuming that it can be but it must be ...
0
votes
1answer
52 views

Multiple VirtualHost Configuration files in Apache2.

I have servers with RHEL-5, Apache-2.2.22, PHP-5.3.25 I know I can configure multiple virtualhost configurations in mutliple file by including these files in httpd.conf. Can Apache support this ...
2
votes
2answers
613 views

Use the ServerName as a variable in httpd.conf file

My current httpd.conf file looks something like this: <VirtualHost *:443> DocumentRoot /var/www/html/www.example1.com ServerName www.example1.com SSLEngine on SSLCertificateFile ...
0
votes
1answer
60 views

configuration files and ssh keys are being reset

I own a Centos 6.4 OS. I have standard lamp stack installed. Apache 2.2, PHP54 and mysql 5.5. I have also uploaded a public key into my authorized file in .ssh. I have my document root set in my ...
1
vote
2answers
618 views

Amazon EC2 .htaccess and 500 Error

I have an Amazon EC2 (amzn-ami-pv-2013.09.0.x86_64-ebs (ami-149f7863)) on which I installed Apache, PHP and MySQL. All works fine until I try to activate .htaccess. I change AllOverride All in ...
-1
votes
1answer
78 views

Running Multiple sites with multiple domains apache

I am having a rough time running apache and using multiple domain names here is a snippet of my config file. I keep getting a error saying that NameVirtualHost has no VirtualHosts. I want them both ...
1
vote
1answer
341 views

DocumentRoot Directory Apache httpd

I want to make changes over my httpd.conf file of Apache running in Windows, but I want to know why need to use (or declare) the same root twice. DocumentRoot "C:/Apache/htdocs" <Directory /> ...