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

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" Options FollowSymLinks AllowOverride None …
Luigi Giuseppe
  • 631
  • 1
  • 6
  • 4
0
votes
1 answer

How to ProxyPass and ProxyPassReverse with a URL having a dot in it?

I am using ProxyPass and ProxyPassReverse. In just simple cases its wouks great but as I have a URL ending with a ".jpg" it just misses it. For example :- Consider the statement below :- The request URL that I want to pass is …
0
votes
1 answer

Add custom Apache config. rules for subdirectory within the same section?

Say my Apache configuration file '/etc/apache2/httpd.conf' looks like this (I don't use .htaccess): AllowOverride None Options +FollowSymlinks …
its_me
  • 225
  • 1
  • 7
  • 23
0
votes
1 answer

What is wrong with my httpd.conf file?

I am using Apache 2.2.22 on Ubuntu 12.04 with PHP 5.3.10. The real domain name has been obfuscated to example.com for this question. I am attempting to set AllowOverride to None. I currently have an .htaccess file in my DocumentRoot. This is what it…
Ben Harold
  • 143
  • 1
  • 2
  • 10
0
votes
1 answer

Same Apache httpd instant: Same Subversion repository defined two different ways

We currently have a Subversion repository defined using a svn_auth_file for authorization. I would like to change this to use our LDAP server (a Windows Active Directory server). This way, users can use their Windows passwords and get access to the…
David W.
  • 391
  • 3
  • 5
  • 15
0
votes
1 answer

how to set any browser to no keep alive in apache httpd.conf

I have the following setting for IE in my httpd.conf: BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 I want to apply this to all requests that hit my server. My httpd.conf section that deals with keep alive looks like…
petey
  • 572
  • 3
  • 9
  • 20
0
votes
3 answers

mod_evasive apache module configuration issues

I have configured mod_evasive to not block google bot's IPs. But it's still banning google bots. Here is my configuration in /usr/local/apache/conf/httpd.conf: DOSHashTableSize 4097 DOSPageCount 3 DOSSiteCount 100 …
0
votes
1 answer

URL Rewrite http to https with www

I have a domain with several apps. All apps should be reached like this. https://www.website.com/app1/ https://www.website.com/app2/ https://www.website.com/app3/ The problem I'm having is with my url rewrites. If someone enters website.com/app1/…
0
votes
2 answers

Configuration of NameVirtualHosts and IP address

so I have site1.com and 192.168.1.100 If I use the IP address Apache doesn't work for site1.com, if I use site1.com the IP address doesn't work. Thoughts? Can I get both? I need to access the IP and site1.com and have them point to different…
0
votes
1 answer

Apache httpd.conf redirection. How to "balance" app

This is probably a simple problem but I just can't seem to solve it! I have a website running 2 Apache Tomcats on different ports (e.g. 8080, 8085). However since my customers cannot access specific ports (their firewalls prevent this) they can only…
Phil
  • 109
  • 2
  • 8
0
votes
1 answer

htpasswd not working when set up in the httpd.conf file

My httpd.conf file looks like: AuthType Basic AuthName "Restricted Files" AuthUserFile "/path/to/.htpasswd" Require user valid-user Options Indexes FollowSymLinks AllowOverride All Order…
Shamoon
  • 911
  • 4
  • 14
  • 22
0
votes
1 answer

Redirection on Apache (Maintain POST params)

I have Apache installed on my server and I need to redirect from http to https. The reason for this is our load balancer solution cannot hand https so requests come in on http and then we transfer them to https using the below lines in the…
shawsy
  • 131
  • 1
  • 1
  • 6
0
votes
1 answer

Apache ProxyPass Virtual host

I'm trying to do a similar setup to the one discussed in this older thread. I've enabled the proxy_module, proxy_connect_module, proxy_http_module, and rewrite_module. It worked, but now when I go to domain.com it takes me to the ipcamera. I…
Elliott
  • 3
  • 1
  • 2
0
votes
1 answer

Virtual hosts only working for 2/4 directories?

I am running CentOS 6.2 and I have in httpd.conf the following: ServerAdmin user@example.co.uk DocumentRoot /var/www/html/example.co.uk/public ServerName example.co.uk ErrorLog logs/example.co.uk-error_log …
Kal
  • 141
  • 7
0
votes
1 answer

Seting up folder from Apache root directory in other hdd and allow php to write on it

please need help... [LINUX] I'm trying to set up a big photos folder in a new hdd over apache. Before it was: /htdocs/photos now I'm trying to create a virtual directory: Alias /photos "/home/photos"
Alex
  • 3
  • 1