1
vote
1answer
81 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 ...
1
vote
1answer
78 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: ...
-1
votes
1answer
845 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
0answers
54 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
74 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
31 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
0answers
125 views

Difference between default ServerName and UseCanonicalName DNS

For the Apache HTTP Server (2.2) configuration, the default value for ServerName looks equivalent to UseCanonicalName DNS. Is that true? This is confusing considering the default value of ServerName ...
-1
votes
1answer
72 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
155 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 /> ...
0
votes
1answer
65 views

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 ...
1
vote
2answers
121 views

How to set different mod_mime rules for reverse proxy?

By default, httpd contains the following configuration: <IfModule mime_module> # # TypesConfig points to the file containing the list of mappings from # filename extension to ...
0
votes
0answers
60 views

Collabnet_subversion installed and using httpd. Log rotation?

A system admin pointed out to me that Collabnet httpd was holding deleted log files open, and that was taking up room on the disk. Doing an /etc/init.d/collabnet_subversion graceful solved the ...
0
votes
1answer
220 views

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 ...
0
votes
0answers
62 views

Assistance required configuring /server-status on apache — keeps getting caught in redirects

Good Morning, I'm trying to configure server-status on my servers, so that I can connect them to Solar Winds monitoring. (No jokes, it's not my choice!) I thought that I could just drop a new .conf ...
-1
votes
2answers
544 views

Cent OS forbidden error

I am very beginner to system and network administration and I researched a lot on this problem, but still not sloved! I have an Ubuntu machine in which I installed cent Os 6 as a virtual machine. I ...
2
votes
3answers
95 views

Can i set 443 as default web port which means it can only be accessed via https and no port 80

As title says, I want to set my apache to listen on 443, and will configure SSL. So, My Question is :- 1). Does that mean, i will not have port 80 or any other port which is no ssl ? 2). My site ...
0
votes
1answer
64 views

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 ...
0
votes
1answer
295 views

How to redirect HTTP post request

Hi I am currently using the below code in my apache httpd.conf file to redirect from HTTP to HTTPS <VirtualHost 10.1.2.91:80> Redirect 302 /GladQE/link https://glad-test.com/GladQE/link.do ...
0
votes
2answers
137 views

Unable to change Apache http server port in unix

I downloaded Apache HTTP server, compiled it and installed it in a unix box. I tried to start my Apache HTTP server in unix but got the below error so I thought of changing the port. (13)Permission ...
0
votes
1answer
46 views

Getting gzip compression to work on my server (modules?)

I have copied the htaccess file from HTML5 Boilerplate into my httpd.conf file and restarted Apache, but for some reason, gzip compression is still not working: I have tested to see if the modules ...
0
votes
1answer
831 views

Installing distcache on CentOS 6.3

I'm trying to re-build our server based on CentOS 6.3 and i can't seem to find the distcache rpm. I have it on my 5.8 CentOS: [root@server]# yum list distcache Loaded plugins: fastestmirror, ...
4
votes
1answer
269 views

Apache HTTPd : How is possible to display “Too many connections”

I want to limit the number of client allowed on my apache httpd server (mpm_prefork). When the number of client is reached, I want to display a custom error message such as "Error 503 : Too many ...
-2
votes
3answers
308 views

Apache as backend server doesnt kill childs

I have apache as backend server for nginx. Here is my config for prefork MPM which i use: StartServers 1 MinSpareServers 1 MaxSpareServers 5 MaxClients 10 ...
1
vote
2answers
152 views

httpd running as _www instead of www as it used to [closed]

OSX Mountain Lion and Apache 2.2.22. I have always had the httpd.conf set as: User www Group www and it was running as such. Until today. Rebooted the server for another reason and when I tried to ...
0
votes
3answers
102 views

httpd 2.4 missing directives

I just setup httpd 2.4 on an Amazone AMI and I noticed in the httpd.conf file there are alot of directives missing compared to a 2.2 conf file. For example: ServerTokens, Timeout, Server Signature, ...
0
votes
2answers
2k views

Apache httpd LDAP integration

I am configuring a CollabNet Subversion integration. I have the following collabnet_subversion.conf file: <Location /svn> DAV svn SVNParentPath /mnt/svn/new_repos SVNListParentPath on ...
0
votes
1answer
42 views

Apache Detects files as directories

I have a file 'result.txt' in my documentroot, now when I access: http://localhost/result/first It's accessing this instead: http://localhost/result.txt/first What could have I incorrectly ...
4
votes
1answer
2k views

how to rewrite '%25' in url

My website software replaces space characters with '+' characters in the URL, A proper link would look like 'http://www.schirmacher.de/display/INFO/How+to+reattach+a+disk+to+XenServer' for example. ...
1
vote
1answer
185 views

apache httpd error: “mod_rewrite: can't access DBM RewriteMap file”

I'm running a fresh httpd install on Fedora linux and all my static content 403s. The error_log shows this: mod_rewrite: can't access DBM RewriteMap file How do I fix this? Thanks, Chris
0
votes
1answer
81 views

apache2.conf how to set a param for a module in based on url parameter

I need to set a param for a module (specifically is activation of geoencoding module by setting a param GeoIPEnable On) in httpd.conf based on a parameter in the request url (for example geo=true). ...
-3
votes
1answer
587 views

Why does the httpd process consume so much memory? [duplicate]

Possible Duplicate: Server refuses to use swap partition I am using Linux with Koloxo panel for site management. My database server went down, and I think it happened because of a lack of ...
1
vote
3answers
7k views

Restarting the httpd service in RHEL returns “Stopping httpd: [FAILED]” - How do I fix this?

This is my first indication of an issue: $ sudo /sbin/service httpd restart Stopping httpd: [FAILED] Starting httpd: no listening sockets available, ...
0
votes
2answers
2k views

How can I configure Apache to use more of my CPU?

Apache threads are stacking up on one of my web servers (300-500 simultaneous requests, some taking 3-8s to process!), but CPU usage is very low (~10%). Page load time is slowing way down as a ...
0
votes
2answers
83 views

Finding Document Root

I can browse the company intranet site using the following URL. http://192.168.1.2/admin/index.php How do I find the full path of the file "index.php"? I tried... locate admin/index.php and it ...
0
votes
1answer
232 views

What should I set ServerName to in httpd.conf if using only virtual hosts?

I have a linux server with 2 dedicated IPs that I use to host about 10 different sites with Apache's virtual host capabilities. Each site has its own domain name, and I use NameVirtualHosts to direct ...
0
votes
2answers
89 views

Unable to get mod_rewrite to stop processing

This is linked to Rewriting subdomain.domain.com when other 'subdomains' exist I need mod_rewrite to 'stop' processing, but it seems to continue on. On my registrar, I've set A records as: ...
0
votes
1answer
172 views

Rewriting subdomain.domain.com when other 'subdomains' exist

My httpd.conf looks like this: NameVirtualHost 12.34.56.78:80 <VirtualHost 12.34.56.78:80> DocumentRoot /var/www/html/site ServerName www.example.com <IfModule mod_rewrite.c> ...
0
votes
2answers
40 views

Setting http://domain and http://ip to show different directories

Can someone tell me what httpd.conf settings I need to acomplish this? When in browser I access http://IP I want to show: /var/www/html/ And when I access http://domain I want to show ...
1
vote
2answers
64 views

rewrite engine setting

I can see the following entries in /etc/httpd/conf/httpd.conf RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] What is the use of these lines in the config file?
0
votes
1answer
805 views

Setting up Virtual Host in Fedora Core 15 using apache

I'm trying to setup a couple of Virtual Host files on my Localhost PC running Fedora Core 15. Now I get this working, but now onloy one Virtual Host site works, and if I type in ...
2
votes
3answers
3k views

Basic Apache httpd server setup becomes slow to serve images requiring frequent restart

I have an Apache httpd server running on RHEL 5.3. I'm using this server to serve static content (images) to for a website running on another httpd instance. In the public web directory are several ...
1
vote
0answers
145 views

Can't find the correct configuration of apache on Centos 5.6 for Trac 0.12.2

I've been trying to get Apache to serve Trac on CentOS 5.6 for the past few days. The missing link is almost certainly the Apache configuration. I know this because I can get trac to run locally with ...
1
vote
4answers
339 views

Redirecting www.example.com/folder to folder.example.com

I had mantis setup as www.example.com/mantis and now I've setup my httpd.conf to have it accessible at: mantis.example.com . Since I have many links referencing the earlier links, I need to redirect ...
1
vote
1answer
204 views

Will private dirty RSS used by mod_php ever be made available to other processes?

I've got PHP processes running that occasionally have to briefly use large amounts of RAM. After PHP uses the large amount of RAM, the httpd process seems to keep the same private dirty RSS ...
2
votes
1answer
121 views

httpd.conf match absolute file

I have the following directory statement in my httpd.conf for a virtualhost. <Directory c:/foo/bar/*/*/baz> <Files index.php> # something file specific </Files> ...
2
votes
2answers
2k views

Apache deny from CIDR range but allow from IP within that range

I am using a long CIDR blacklist to block several countries from a site, but I need to allow specific IP addresses within the blocked CIDR ranges. Here's an excerpt of my conf file (this is the order ...
2
votes
3answers
519 views

htaccess vrs httpd.conf?

Is it still true that you shouldn't use htaccess files if you can use httpd.conf? The Apache site says "In general, you should never use .htaccess files unless you don't have access to the main ...
0
votes
2answers
86 views

Problems adding new domain to httpd.conf file

So, I just bought a brand new domain. I set up my dns records with the host (godaddy) but something strange happens on my server. I've added this to the httpd.conf file: <VirtualHost *:80> ...
1
vote
3answers
255 views

httpd.conf configuration for https sites?

I've got a subsite configured like this in httpd.conf <VirtualHost *:80> ServerName myadmin.mysite.com DocumentRoot /var/www/html/myadmin DirectoryIndex index.php <Directory ...
0
votes
1answer
864 views

httpd command line not recognized

I've got Apache 2.2 running on Windows 7. However, the command line does not work - if I type in httpd it says: httpd is not recognized as an internal or external command, program or batch file. ...