Questions tagged [httpd.conf]

httpd.conf is a typical name for a web server configuration file. Historically this is the main Apache configuration file. It is also the configuration file for OpenBSD httpd.

httpd.conf is a typical name for a web server configuration file.

Historically, this is the main Apache configuration file, but has been adopted by other servers, including OpenBSD httpd.

In recent Apache installations, the main file can also be called apache2.conf.

616 questions
0
votes
1 answer

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 have changed the document root of example1.com to…
jhodgson4
  • 111
  • 1
0
votes
0 answers

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 www.example.com/store/a/dir1…
0
votes
1 answer

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 http://www.example.com/ to the 'site' folder. send all other subdomain…
gait
  • 1
  • 1
0
votes
2 answers

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 the site: total used free …
bhttoan
  • 650
  • 3
  • 15
  • 27
0
votes
3 answers

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 same server and would like to have them all…
tcarlson
  • 1
  • 1
  • 1
0
votes
1 answer

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: AddDefaultCharset UTF-8 However some of the websites we…
Liam Sorsby
  • 129
  • 2
  • 5
0
votes
2 answers

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 work httpd.exe -k start -k config…
OTUser
  • 73
  • 3
  • 11
0
votes
1 answer

Redirect page to port 8080 of tomcat for remote vm

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. The admin give me a static IP and 2 ports were…
alex87alex
  • 21
  • 4
0
votes
1 answer

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 /datacert/api/entity/EmailDocument/\d+/DocumentVersion/1\.0…
OTUser
  • 73
  • 3
  • 11
0
votes
1 answer

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 address and assign it to a virtualhost instead of me…
0
votes
1 answer

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 following Edit the httpd.conf file and add one of the…
jgr208
  • 111
  • 8
0
votes
1 answer

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 apache to redirect to target SVN repo folder as a…
art vanderlay
  • 171
  • 1
  • 4
0
votes
1 answer

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 \"%{Referer}i\" \"%{User-Agent}i\"" combined #LogFormat "%h %l %u %t…
Pavan K
  • 111
  • 4
0
votes
1 answer

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 different RewriteRule s as well as different…
0
votes
2 answers

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 randomly, which is in synchronous. How do I bring in…
nuthan
  • 131
  • 1
  • 1
  • 7