httpd (for Hyper Text Transport Protocol Daemon) is a typical name of the web server process. Apache is the most popular web server that runs using this process name.
0
votes
1answer
14 views
libapache2-mod-auth-pgsql and ssl-cert equivalent in CentOS
I switched this a time ago from Ubuntu to CentOS. Now, I faced this problem:
Trying to install a software that I installed before in Ubuntu, I stopped at the point where I need to install the above ...
0
votes
1answer
40 views
I can't run apache, all against me, it says “The requested operation has failed”, see log?
Installing the Apache2 service
The Apache2 service is successfully installed.
Starting the Apache2 service
The Apache2 service is running.
ce] Apache/2.0.64 (Win32) configured -- resuming normal ...
0
votes
2answers
36 views
Is It Better to set KeepAlive to 1 second rather than turning it off all together?
I've heard setting keepalive timeout at too high a number will diminish its value. So, to be on the safe side, and still somewhat benefit from it, can I set it to 1 second ?
Or will setting it to 1 ...
2
votes
2answers
54 views
CentOS httpd running as both root and apache user
I have an Apache httpd server running on my CentOS server, but apparently it both runs a httpd-process as root and one as the apache user.
See this screenshot of top:
User and group are set to ...
1
vote
2answers
61 views
What is required for LDAP authentication to work?
I would like to have LDAP authentication on a webpage.
On a CentOS server the .htaccess looks like this
Order deny,allow
Deny from All
AuthName "Only members"
AuthType Basic
AuthBasicProvider ldap
...
0
votes
2answers
62 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, ...
1
vote
1answer
40 views
An attack? What are the second status codes(286, 289) for in the log (a web scan)?
Going through my assess-logs today, I found so many entries trying to access pages. (that were not present). Like
robots.txt (I know what this is used for)
apply
favicon.ico(I know what ...
0
votes
1answer
23 views
Mod Mono CentOS Install - Dependency: >= httpd 2.2
I've been trying to install Mono on CentOS 5.5 with Cpanel. It was all going fine until I needed to install the mod mono add-on. I get a missing dependency error, any help would be much appreciated ...
0
votes
2answers
100 views
How to redirect from one port to another?
I've a domain on which I'm running two different web applications at different ports.
A Java web application on example:8888/foo
A PHP website on example:8080/bar
The requirement is, if an user ...
0
votes
2answers
90 views
Why is https not working?
I am trying to redirect just the root of my site to https. Although the rewrite happens,
https does not yield anything. The browser says. connecting to thinkingmonkey.me... and stagnates.
...
5
votes
5answers
116 views
How should I deal with logs before they get to big?
I found out my disk was full today, and I freed up 10% just from deleting mostly logs from multiple websites. I, personally, like to keep logs as an archive, because I may need to look back on them ...
0
votes
0answers
47 views
LocationMatch prevent logging in php?
LocationMatch prevent logging in php?
I installed Apache 2.2.21, MySQL 5.5.16, PHP 5.3.8 (VC9 X86 32bit thread safe) + PEAR at windows 7 x64.
The webpages are browsing fine, but log-in function does ...
0
votes
2answers
67 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
1answer
103 views
Add Httpd service by linking to source install apache2
As title says, i need to add a service httpd to get the php and apache2 talking to one another it seems (by line in httpd.conf: AddType application/x-httpd-php .php)
I uninstalled the default httpd ...
0
votes
3answers
77 views
Is the httpd port open or something
I just setup a new amazon ec2 instance and installed apache and setup the configs and everything but when i visit the url there is nothing....do i have the proper ports open and asscociated to ...
0
votes
1answer
61 views
CentOS 5.7 Apache to Read The Files Inside public_html
I just finished installing apache to my server. If I access the website, the apache 2 test page will appear informing that the installation is success.
Then I put my websites under public_html. But ...
0
votes
1answer
168 views
Why does this pattern not match QUERY_STRING in RewriteCond while it matches in preg_match?
Here is what I have in my .htaccess file.
RewriteEngine on
RewriteCond %{QUERY_STRING} ^(run=[a-z0-9A-z]{13})$
RewriteRule %{QUERY_STRING} \? [L]
All I am doing is Rewriting the QUERY_STRING for ...
2
votes
1answer
109 views
How to SetEnv for an Alias
I have several Aliasses configured in apache configuration.
I would like to set an environmental variables for each of them. How?
I have this
/alias1 /mapped/to/a/path
/alias2 /mapped/to/a/path
...
1
vote
3answers
45 views
Cannot get www cname to work in apache and bind
On Cent OS 6, apache 2.2, Bind 9.7.3
I cannot get my domains to load with www cname. If I type example.com it loads fine, but www.example.com loads my main apache directory from /var/www/html
This ...
2
votes
2answers
72 views
Why are 9 httpd processes running when I autostart httpd on boot?
A pgrep httpd yeilds 9 pids:
1624
1651
1652
1653
1654
1655
1656
1657
1658
If I kill the httpd process with the first pid( here 1624 ) all the httpd process gets killed.
Although if kill the ...
0
votes
1answer
25 views
httpd not loading httpd.conf file when loading through rc script
Binary is located in /usr/sbin/
When I ran strace -o httpdstart.txt /usr/bin/httpd -k start
It has the following lines to open the httpd.conf
stat("/etc/httpd/conf/httpd.conf", ...
0
votes
1answer
50 views
httpd loading 'Test Page' after adding httpd to startup
I recently added httpd to start during the start up by doing this:
cd /etc/rc.d/rc5.d/
ln -s /etc/init.d/httpd S80httpd
Although httpd starts on boot, seems like my DocumentRoot that was set in ...
1
vote
1answer
42 views
httpd won't start on boot
I have some problemes with apache on CENTOS...
When I reboot the system, httpd won't start
I have to execut my-self "service httpd start"
chkconfig httpd --list
httpd 0:off 1:off ...
0
votes
2answers
47 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 ...
-1
votes
1answer
47 views
Php files won't open
I installed everything using powerstack and yum. I've checked over config files and havnt noticed anything. My phpinfo worked once then stopped. http://93.174.91.26/content/serverinfo.php. All other ...
0
votes
1answer
28 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
0answers
28 views
Profiling Apache Modules in Ubuntu 11.04
I've written an apache module and I have used ab to benchmark apache server with my module enabled to find out the respective time it takes to process a request based on different files. However, I ...
0
votes
3answers
129 views
ssl_error_rx_record_too_long (FF/Django/StartSSL/Windows)
I've been trying to get SSL to work but I'm stuck. I tried several solutions offered here and on other Google results but no luck.
I got a free certificate from https://www.startssl.com/, Im using a ...
0
votes
0answers
42 views
Want to deploy two sites unig a linux/centos server
Hello I want to deploy two sites. One called drupal, and another site called drupal-gh. Currently, I can only make one site only work at a time - but I need both. This is because when I deploy a site, ...
0
votes
2answers
62 views
How to configure multiple directories on Apache?
I'm working on ubuntu with apache2.
Requirements
The root directory should be served from a specific folder. When someone accesses http://mysite.com/foo1 he should reach /var/www/tld/foo1
Other ...
0
votes
2answers
75 views
Add Subversion to XAMPP Apache install
I am trying to get my Apache server restarted after trying to install Subversion.
I have added the following lines to my httpd.conf file for Apache:
LoadModule dav_svn_module ...
0
votes
2answers
48 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
62 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
30 views
Permissions of httpd apache2 and running certain php commands
I ran some recursive linux command that changed the permissions to all my website files..
all files are now like
-rwxrwxrwx
and all dictionaries are.
drwxrwxrwx
I don't know if that has anything to ...
0
votes
2answers
36 views
CentOS httpd downloading pages instead of parsing them
Okay maybe this question has been asked before, I couldn't find the solution I searched both StackOverflow and Serverfault.
Fist of all I'm running
CentOS release 5.5 (Final)
I had by default PHP ...
1
vote
1answer
19 views
unidentifiable httpd log rotator
I have my own server instance which is centos 5.7 and have installed apache some time ago. Now I noticed that my log files are rotating. I couldn't remember if I had set up something or not since ...
1
vote
2answers
32 views
Can httpd check permissions of private key file used with SSL certificate?
Is it possible to have httpd fail a configtest if a SSLCertificateKeyFile value exists, and points to a file with any permissions other than the minimum necessary for reading the key? I have httpd ...
1
vote
1answer
18 views
Apache's configuration: sharing same “Deny From” between multiple virtualhosts
I'd like to be able to share same "Deny From" from one VirtualHost to another in Apache's httpd configuration, is there a way to do it?
1
vote
0answers
36 views
tool to canonicalize many (100x) horrible apache httpd www.mysite.com.conf configuration files
I have inherited some servers which have many virtual hosts that have been "organically" developed over the years. Unfortunately they are awful to the eye, so bad, I cannot look at them.
Hence I am ...
0
votes
0answers
15 views
Mod_proxy working with Mod_security
I have a weird problem, i have multiple proxy-passes set on one vhost, and mod_sec only seems to care for the very last proxy-rule. is that a desired or configurable behavior?
Thanks!
Alessandro
0
votes
0answers
22 views
exited with status 3221225477 only from outside localhost
The error [notice] Parent: child process exited with status 3221225477 -- Restarting. Only happens when accessed from other hosts on the intranet.
and only on https
works fine on the server it is ...
0
votes
2answers
45 views
Set header for certain file types using Apache2 mod_headers
I'm trying to use mod_headers to set a header for certain file types. Specifically, I want to set Access-Control-Allow-Origin to "*" for ttf files. Is there a rule I can add to my VirtualHost that ...
0
votes
1answer
112 views
CentOS6 - httpd - mod_file_cache
It appears that CentOS 6 no longer supports a few apache modules (mod_file_cache, mod_mem_cache, and mod_imagemap) according to their docs.
What's the best way to handle this? Just remove the ...
0
votes
1answer
23 views
Apache mod_deflate only for files larger than 1000 bytes
Is it possible to use mod_deflate in Apache 2.2 only for files bigger than a certain size ?
According to this article and common sense only files over 1000 bytes benefit deflate/gzip.
0
votes
1answer
34 views
Apache uses more memory than PHP's memory_limit
I am having some issues on a server where multiple Apache processes are being spawned and eating up the physical memory and swap.
Each httpd process consumes around 130MB of RES. However, PHP's ...
0
votes
3answers
70 views
why do files need to be world readable for Apache to server them.
why do files need to be world readable for Apache to server them?
I would think that if they are owned buy the Apache user or group. And the files are readable and executable that would allow Apache ...
0
votes
2answers
54 views
Apache, httpd process 4MB+ memory use, Wordpress, Dedicated Server
What is happening to apache? I cannot trace down the processes doing this to my server. I can't anymore, the server is crashing every day a few times. Don't know what to do anymore, tried all the ...
0
votes
0answers
104 views
httpd high CPU usage on Windows 2003
This Windows Server 2003 machine has an httpd process that is consuming a steady 50%+ CPU time.
The other processes/applications running on server are:
Apache with PHP
MySQL
wowza media server
...
1
vote
2answers
110 views
CPU Utilization LAMP stack
We've got an ec2 m2.4xlarge running Magento (centos 5.6, httpd 2.2, php 5.2.17 with eaccelerator 0.9.5.3, mysql 5.1.52). Right now we're getting a large traffic spike, and our top looks like this:
...
0
votes
1answer
79 views
Can I compile Passenger (mod_rails/mod_rack) to make a statically linked Apache httpd?
I prefer to disable httpd dynamic module loading on my production server.
I've been using mod_jk linked statically into httpd for quite a long time and it proved to be stable.
Now I would like to ...