Questions tagged [httpd]

httpd is a typical process name of a web server.

Filter by
Sorted by
Tagged with
1 vote
0 answers
398 views

(Linux) Python is stopped - preventing me to start a Service

I'm currently running CentOS 5.5 on my machine, and I'm trying to setup a Build Server using Django, MySQL and Apache. I have basically no experience with any of those, and I've been researching on ...
MajuiF's user avatar
  • 111
6 votes
4 answers
5k views

Apache: Automatic log splitting per Virtual Host?

Whenever we create new Virtual Hosts on our dev servers, we always have to manually specify separate access and error logs: ErrorLog logs/mysite/dev1-error.log CustomLog logs/mysite/dev1-access.log "...
Jake Wilson's user avatar
  • 8,934
2 votes
2 answers
1k views

Apache: Access denied to /

I have disabled selinux with: setenforce 0 selinux=disabled in /etc/selinux/config Does anyone knows if i have to label or chcon any dir to solve that error: error [error] [client 127.0.0.1] (13)...
peris's user avatar
  • 508
2 votes
1 answer
498 views

Apache: Allow directory browsing when using SVNParentPath?

I have the following setup: <Location /repos> DAV svn SVNParentPath /home/svn/repos AuthType Basic AuthName "SVN" AuthUserFile /home/svn/.htpasswd Order deny,allow Require valid-...
Jake Wilson's user avatar
  • 8,934
1 vote
1 answer
3k views

PHP files not getting parsed? [duplicate]

Possible Duplicate: Problem with php and apache I have php 5.1.6 running on my CentOS 5 server running Apache 2.2.3 when i use command php -v it says PHP 5.1.6 (cli) (built: Nov 29 2010 16:47:...
Astha's user avatar
  • 243
7 votes
4 answers
58k views

Add a directory to the Apache Web Root?

I'm running httpd on linux. I have a folder (/data/) that is not in the apache web directory (/var/www/html/) that I would like users to be able to access from their browser. I don't want to move ...
T. Brian Jones's user avatar
-1 votes
2 answers
340 views

What should be the role of iptables of a typical apache web server on the Internet to help in DoS attacks [closed]

I need to know What should the role of iptables of a typical apache web server on the Internet to help preventing or limiting DoS or other attacks.
mmonem's user avatar
  • 209
0 votes
1 answer
129 views

Setting up a virtual host on Linux

I'm setting up a virtual host on a linux machine. I've already made necessary DNS changes and they have propagated and are working correctly. There are many other virtual hosts setup in my /etc/...
T. Brian Jones's user avatar
0 votes
1 answer
368 views

Server maxing out connections and RAM

We have dedicated hosting on GoDaddy running a WordPress blog. It seems that whenever we get a high number of concurrent users (about 100), the site goes down. The way we've been fixing it, per the ...
ServerFaultNewbie's user avatar
2 votes
3 answers
8k 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 ...
Alex's user avatar
  • 21
1 vote
1 answer
271 views

Handling log and configuration files when load balancing apache

I asked this question on Stack Overflow, then I released that serverfault would be more appropriate, I apologize if anyone stumbles upon these two issues. So, I am currently rebuilding my web ...
Sandman's user avatar
  • 349
1 vote
3 answers
2k views

Apache VHost Configuration Precedence?

So I have 2 configuration files. mysite.conf <VirtualHost *:80> ServerName www.mysite.com ServerAlias mysite.com *.mysite.com DocumentRoot /var/www/mysite/...
grufftech's user avatar
  • 6,870
0 votes
2 answers
796 views

Apache name-based vhost (ServerAlias)

I'm currently looking at the apache documentation regarding virtual host. It gives an example on this page: http://httpd.apache.org/docs/2.0/vhosts/name-based.html The example they show is: <...
lamp_scaler's user avatar
9 votes
2 answers
23k views

MaxClients in apache. How to know the size of my proccess?

From http://httpd.apache.org/docs/2.2/misc/perf-tuning.html The single biggest hardware issue affecting webserver performance is RAM. A webserver should never ever have to swap, as swapping ...
Larry's user avatar
  • 91
0 votes
3 answers
2k views

how to know which domain is using which apache instance [closed]

I have a vps with DirectAdmin installed on it. today my server went down for an hour and when I checked the notification center I saw that some of the httpd instance are using a lot of my cpu power. ...
2hamed's user avatar
  • 479
2 votes
3 answers
13k views

apache is not responding from the outside (firewall/iptables problem)

Have CentOS installed with httpd. Can connect with lynx both to http://localhost and to http://10.20.30.40 (the real IP) from inside the machine. Can't connect from outside. Here is an excerpt from ...
Alexander Abramovich's user avatar
0 votes
2 answers
2k views

Can't restart Apache (HTTPD)

Apache has been running fine for months and restarts have run fine. However I went to restart it today and got this: [django - pin@e02u35]~>sudo /etc/init.d/httpd restart … Starting httpd: ...
Greg_the_Ant's user avatar
1 vote
1 answer
2k views

'setuptool' utility for CentOS 5.5 is not showing all the options I'd expect

I'm trying to setup a server for the first time. I'm running CentOS 5.5. In the book that I'm going through called "The definitive Guide to CentOS", it says in the chapter about setting up the Apache ...
Joe's user avatar
  • 201
2 votes
2 answers
10k views

"bash: setup:command not found" error on CentOS

I'm getting the folling error message when I try to use the 'setup' application on CentOS 5.5 to configure the Apache webserver. bash: setup: command not found However, when I tried to install it ...
Joe's user avatar
  • 201
0 votes
1 answer
45 views

Getting PHP5 To install

It seems I am stuck with a 4yo build of PHP (PHP4.3.9 Built: 2007) and I am trying to upgrade. Right now, it's like a traffic puzzle, or a vicious cycle, whatever you want to call it. I try to upgrade ...
Roman's user avatar
  • 1
1 vote
1 answer
484 views

Just started up a fresh Amazon RHEL instance running httpd, why is it not accessible by public DNS?

I booted up a RHEL server on EC2, started httpd, added an index.html page for testing purposes, but when I try to access the website through the public DNS address, the page is not found. I can curl ...
Andrew Guenther's user avatar
1 vote
3 answers
103 views

Apache on localhost needs restart at every boot

I've set up a couple of test sites to run on my desktop Mandriva 2010, some of them fetch part of their content from the www (i.e. Wordpress RSS plugins, Twitter API, etc). However, at every boot ...
3dolab's user avatar
  • 11
0 votes
3 answers
3k views

CentOS - Apache and SSL?

Hei all i have problem for my SSL setup, when i put SSL Engine to on my Apache will not start up, if i remove it, its work fine. i can't finde the Apache log, so i can find out of whats happen here, ...
ParisNakitaKejser's user avatar
0 votes
1 answer
167 views

Stopped httpd is starting alone

I'm using an Argentinian VPS at Dattatec. Well so far this days was working great. Suddenly, we started to have a lot of httpd processes, when there were not new / a lot of new customers coming to the ...
BoDiE2003's user avatar
  • 125
0 votes
2 answers
694 views

httpd using 100% CPU - what does it really mean?

I got 2x Intel Xeon E5520 Quadcore top - 18:21:49 up 2 days, 16:33, 4 users, load average: 2.09, 2.26, 2.36 Tasks: 313 total, 2 running, 309 sleeping, 0 stopped, 2 zombie Cpu(s): 12.7%us, 1....
Alex's user avatar
  • 29
6 votes
2 answers
3k views

How would I run two different web servers on the same server?

I know that you can't listen to the same port and IP using two different server processes, but apparently this is possible if you allocate a separate IP address to each. Is this the case? I'm ...
Jordan Reiter's user avatar
3 votes
1 answer
614 views

Disable SELinux file read protection for httpd

I am using RHEL 6.1 and I would like to configure SELinux to authorize httpd to read all files in some folders (My goal is to make log files available via web access). Is this possible without ...
Denis R.'s user avatar
  • 293
0 votes
2 answers
2k views

Squid "system returned (13) Permission denied"

I can get to a site form my Squid server directly using lynx http://my-URL , ie not using squid as the proxy, just to prove the connectivity exists. Lynx connects fine to the site - its a Weblogic ...
AndyM's user avatar
  • 968
0 votes
1 answer
114 views

Help installing fastCGI on linux

I run the following: $ cd /opt/mod_fastcgi-2.4.6 $ cp Makefile.AP2 Makefile $ make top_dir=/etc/httpd $ make install I keep getting this error when I run make: -bash: make: command not found What ...
John's user avatar
  • 123
3 votes
2 answers
12k views

Apache taking up too much CPU

I'm trying to manage a server on Amazon for a network of sites that receives about 100 million pageviews per month. Unfortunately, nobody out of my team of 5 developers has much server admin ...
andrewtweber's user avatar
17 votes
4 answers
32k views

Apache CustomLog to log full URL

I'd like to add a CustomLog directive to my apache configuration to log the full URL requested (or at least the host portion of the URL). I have several domains being handled by the same instance of ...
jrdioko's user avatar
  • 577
0 votes
2 answers
336 views

Apache2: not defined domains directing to the same virtual host

I have Apache2 configured in a debian box with virtual hosts. I have several domains pointing to the box's IP address. The domains whose virtual hosts are configured works perfectly. But if I type in ...
rafaame's user avatar
  • 109
20 votes
9 answers
121k views

script to automatically test if a web site is available

I'm a lone web developer with my own Centos VPS hosting a few small web sites for my clients. Today I discovered my httpd service had stopped (for no apparent reason - but that's another thread). I ...
Xoundboy's user avatar
  • 603
3 votes
0 answers
3k views

Enabling mod_wsgi with SELinux (Is there a way?) [closed]

I recently had a bit of problem when recently by Deploying Django with mod_wsgi due to SELinux. Usually world get a "Permission denied" error (403). This was solved by disabling SELinux. Is there a ...
Shehzad009's user avatar
10 votes
2 answers
1k views

Viewing complete computed Apache httpd configuration?

Is there a command / tool to generate the computed configuration that Apache httpd is using? I know I can manually go through the httpd.conf and other configuration files, but is there a standard tool ...
jamiebarrow's user avatar
0 votes
1 answer
915 views

httpd: Cannot make httpd to run under apache user

I followed a few guides. httpd is installed, running the service using sudo / so its as root, it works. I have an apache user and group, and /etc/init.d/httpd is under apache:apache already. But ...
BoDiE2003's user avatar
  • 125
4 votes
2 answers
3k views

What is the impact of increasing the httpd process priority (negative nice)?

Renicing a process to a negative nice level increases the process's scheduling priority. High priority processes are run before low-priority processes. They are also allowed to run longer before being ...
Daniel S. Sterling's user avatar
0 votes
3 answers
982 views

a fallback web server

suppose you only have 2 servers, would you like to place a web server on each. You want webserver X to be primary and serves all the request at all time unless it is down, at which time Y should kick ...
user avatar
0 votes
2 answers
148 views

Redirect https subdomains to www domain

We have bought an SSL certificate for https://www.domain.com. Users will be accessing the domain at https://sub1.domain.com, https://sub2.domain.com, etc. I would like to be able to redirect those ...
thekevinscott's user avatar
7 votes
3 answers
21k views

PUT request results in 403 Forbidden - Need Apache to allow PUT requests

I am building a RESTFUL API and need to get Apache to accept PUT requests. Whenever I put to a URL, I am getting a 403 Forbidden error. curl -X PUT api.example.com/api/foo I have tried to add the ...
mmattax's user avatar
  • 1,314
1 vote
4 answers
762 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 ...
siliconpi's user avatar
  • 1,817
0 votes
3 answers
184 views

apache on windows grinds to a halt

we have apache 2.2.18 running on windows server 2003 and when we get a high number of visitors apache seems to slow and slow and slow then grind to a complete stand still. Anyone know why this would ...
Brob's user avatar
  • 123
2 votes
3 answers
367 views

When to run Apache httpd + Tomcat?

What are the primary benefits of running Apache httpd in front of Tomcat? Are the benefits worth the extra setup and complexity?
tvfoodmaps's user avatar
0 votes
1 answer
332 views

Having Apache access to multiple folders in Windows Server 2008

I am modifying an existing Apache setup on a Windows machine to allow access to multiple directories and have hit a small obstacle due to confusion. I have the main root directory in which the web ...
Seb's user avatar
  • 137
2 votes
1 answer
293 views

default name server behavior (named.conf configuration; Bind9)

Is it possible to configure named.conf to have a default behavior? For instance, if this is my named.conf ( https://gist.github.com/3c755018696e262ee4d9 ) & this is guubo.com.db ( https://gist....
Gajus's user avatar
  • 851
0 votes
1 answer
3k views

Is this normal? Multiple httpd process

I'm testing a new Server. This isnt really a peak time for my server (2pm), but still its running a bit slow, I was checking the ESTABLISHED connections using the following command: # netstat -ntu | ...
ilcreatore's user avatar
1 vote
2 answers
169 views

start httpd from a customer's account

I am running a web server (apache, mysql, php, cpanel) and I faced with an issue that some users start the httpd server from their accounts. This causes huge overload. Part of the ps auxf command: ...
Andrew's user avatar
  • 1,114
0 votes
1 answer
73 views

fast way to run CSSless on httpd

I am looking for a powerful solution to run CSSless on httpd. I can't seem to find anything written in C. The best I've found so far was http://cpan.uwinnipeg.ca/dist/Apache2-Filter-CSS-LESS which I ...
Gajus's user avatar
  • 851
1 vote
1 answer
541 views

Apache does not load/work - even with htaccess authentication

I've set up my VPS, installed httpd under yum install httpd and restarted the server. When I've added a .htaccess to /var/www/html nothing works at all, which inside the htaccess file has an ...
MacMac's user avatar
  • 2,141
4 votes
2 answers
25k views

how to find out all the PID of Apache httpd processes that are in reading state?

The Apache web server in my RHEL shows many requests in R (..reading..) state. I want to find the client IPs that are making Apache wait in reading state. Specifically: I want to find out all the ...
Sabya's user avatar
  • 786

1
23 24
25
26 27
30