2
votes
1answer
53 views

How to run HTTPD as specific user(s) and not by nobody?

Currently, top shows me that almost all httpd processes are run by nobody. "Almost" because 2 of them are run by root. How can i make it in such a way that given i have users say: dartagnan, porthos, ...
0
votes
1answer
55 views

httpd: multiple IP addresses, go to the same location

I've been looking into this for about 30 minutes now and don't really know of any easy way around this. What I'm wanting to do is allow Apache to listen on all interfaces (this should already be ...
-3
votes
1answer
62 views

http daemon not responding

If I run a php file at the command prompt, it works as expected. But it does not load from browser. # php /var/www/html/adminer.php When I try to access the same file from browser, I get an error: ...
1
vote
1answer
244 views

Web site accessible through internet and not accessible on lan

We have a server that is in our building. This server is hosting just a single web-site. The operating system is CentOS. This web site was previously accessible on the LAN and was even accessible for ...
0
votes
1answer
76 views

Apache2 can't bind to any port, multiple apache servers starting?

I have changed the apache2 (httpd) on CentOS 6.4 listen port to 80, 443, 25640 etc no ports seem to work (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening ...
0
votes
1answer
154 views

Apache httpd + FreeTDS hangs until restarted

Every so often requests to a Linux server (say, linux.example.org) where the web app (Django) pulls in data from a SQL Server database via FreeTDS will hang. Requests on other servers pointing to the ...
0
votes
1answer
189 views

Httpd and LDAP Authentication not working for sub-pages

I just recently installed a Nagios implementation, and I'm trying to get LDAP authentication working for httpd on Red Hat. (nagios.conf for Apache config below, sanitized of course) ScriptAlias ...
0
votes
1answer
46 views

Ignore Apache Default Server?

I run several vhosts on our Apache server. Whenever browse the server using either it's IP address or some other name that resolves to that address, but where a virtual host entry doesn't exist for ...
2
votes
1answer
240 views

Creating a public_html for a user on a Red Hat Linux Server

I'm just trying to make a public_html folder under my username on a Red Hat Linux Server (and it's all been a bit of a headache). I made the folder and set the permissions to 755. I wasn't sure how ...
0
votes
0answers
113 views

Apache intermittently aborting http requests

I am having the exact same problem as this old listing, which was never solved. Apache intermittently aborting requests if you go to the site below (all the sites on the server are having the same ...
0
votes
1answer
293 views

Apache in front of JBoss 6 -> Some proxy errors

Here under my Apache configuration: <IfDefine TOMCAT> <IfModule mod_ssl.c> <IfModule mod_proxy_http.c> ProxyTimeout 300 SetEnv ...
1
vote
1answer
2k views

socket file descriptor (1063) is larger than FD_SETSIZE (1024), you probably need to rebuild Apache with a larger FD_SETSIZE

My Apache is throwing Internal Server Error 500 errors and logs like this: > [Sun Apr 07 23:35:24 2013] [error] [client 124.162.30.45] (2)No such > file or directory: FastCGI: failed to connect ...
0
votes
1answer
195 views

Comprehensively List HTTP Requests (IPs, URLs, etc)

Is there there a way to show a list of apache/httpd processes with their pids and some information about the request? Like request url, any params, domain, internal/external IP address, etc. I've ...
-1
votes
1answer
2k views

Can't restart my httpd service

I just made a change to my PHP.ini file. (my Linux dist is CentOS). I figured I need to restart apache for that to take effect so I issued the command: service httpd restart When doing that I get ...
1
vote
1answer
896 views

CentOS 6.4 server installation and setup

I am rather new to Linux. I have chosen CentOS 6.4 to install on a PC that we will use as a web server inside the organisation (not going to be visible from outside). I have chosen to install the ...
0
votes
2answers
269 views

nginx redirecting (not proxying) to the apache backend when a trailing slash is not provided

When I access http://example.com/folder, my browser gets a redirect to example.com:8080. However, it works fine when I access http://example.com/folder/. The backend is an apache server listening on ...
3
votes
2answers
925 views

Apache / httpd not starting automatically on boot

I have apache2 installed on Amazon Linux AMI release 2012.03. I'm able to start it manually just fine, without any errors using /etc/init.d/httpd start. However, it doesn't start automatically when ...
0
votes
1answer
36 views

directory existence before restarting apache

I've many domain hosted on my server. A new domain is configured with generic configuration. Usually users does not know and delete folders which are given for documentroot path in apache, sometimes ...
0
votes
1answer
38 views

increasing log level to catch issues

How do you increase the log level for apache to add coredumpdirectory and to catch any segfaults. I am trying to debug some issues and need apache to log every little bit of activitiy.
0
votes
1answer
169 views

remove 404 errors from apache's master log file

Is there a way to prevent apache from filling up the log file with pointless error messages like 404's and only display real errors?
0
votes
2answers
143 views

Apache won't listen on specified port

I've read the Apache documentation on 'port binding' and on 'virtual hosts' but have come no closer to a solution. I also scoured serverfault for answers but all point to the same solution: 'add ...
1
vote
2answers
141 views

How do I setup VirtualHosts to point two ports on same IP to different ServerNames?

I have set up the wiki software Gitit to run on two separate ports of the same Apache server (ports 1848 and 4000). I've confirmed that they are running. Now I want to proxy these two sites to ...
1
vote
2answers
274 views

redhat apache web server configuration

I log into a new server as root. Once I log in I su username which allows me to choose test or production. When I choose test I run httpd -v from the bash prompt and get the apache version What ...
2
votes
2answers
729 views

Httpd restart “Address already in use” error

I have an .rpm, which I created. In its %post part, I do some stuff, and in the end of this script, i call service httpd restart. It gives the following error: + service httpd restart Stopping httpd: ...
0
votes
1answer
392 views

What are the minimum required modules to run WordPress

Recently a 'consultant' came in to talk to bean counters at my place of employment, with regards to being more efficient with our IT infrastructure. They suggested to be more efficient we should only ...
0
votes
1answer
857 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, ...
0
votes
1answer
381 views

Configure Plesk only for Tomcat-Java

I need to configure tomcat on Linux dedicate server only for Java project through Plesk . Following services is running on it. '1.Apache on port 80 ' '2.Tomcat on port 8080/9080' '3.Mysql on port ...
1
vote
1answer
341 views

Cannot Able To Start Named services in ssh

My web application domain.com:9080/webapp was working fine. Bu i would like to remove port number from address. One of forum person suggested me http://www.virtualmin.com/node/19608 link and i ...
0
votes
3answers
101 views

Reporting Penetration Attempts to My Server

I need a log file of penetration attempts to my server. Ideally, this log should contain all attempts including logins, HTTPD activities, FTP activities, NFS, and other conventional open ports. ...
0
votes
1answer
232 views

does this iptables rules forbid access to server using https:// … :7777?

seems it doesn't specify explicitly that 7777 port is not allowed to be accessed from outside, but the issue is that i can visit this host through https:// ... :7777 only when i close iptables ...
0
votes
1answer
205 views

Undefined symbol: apr_memcache_add_server

I installed httpd-devel through yum and after restarting httpd got this: httpd: Syntax error on line 61 of /etc/httpd/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_dav_svn.so into ...
-1
votes
1answer
127 views

How to redirect page in apache

I have centOS 6.3 machine with ABC server installed on apache.. Now by default to access the server i hav to use url: YYYY.XXXX.com/support/admin but instead i want to to use admin.XXXX.com to access ...
0
votes
1answer
151 views

plesk 11 centos 6 how to configure what is recorded in the apache access log?

How do you modify plesk/apache so that it does not log access logs for resources like .png .ico rather than pages? -ie .php .html
1
vote
1answer
353 views

Too many instances of httpd and mysqld

I have a VPS with 4 GB of ram and 8 cores and about 200K Visits per day. I have DirectAdmin Installed and I always see a huge number of PIDs for httpd and mysqld in DirectAdmin Service Monitor. e.g. ...
-1
votes
3answers
3k views

run apache as root

I need to run apache as root ( I know this is unadvised but I need to since this is a test server and I don't really care for security). I have edited the following in httpd.conf: export ...
0
votes
6answers
3k views

Apache httpd permissions

I have created a directory /xyz/www With the following permissions: -rw-r--r--. 1 myuser developers I edited my http.conf: DocumentRoot "/xyz/www/" <Directory "/xyz/www/"> Options ...
1
vote
2answers
387 views

'/var/spool/cron' is not a directory, bailing out. when trying to work with crontab via PHP's shell_exec

I am creating a web application. Part of the functionality is depending on that the user can start/stop a cronjob that imports emails. It doesn't work. Just to make sure I'm on the right track, as ...
5
votes
1answer
625 views

How to allow Active Directory authenticated users use Nagios web interface?

I have put .htaccess files in the Nagios html root and CGI root directories, so in order to get access to the web interface, the users needs a valid Active Directory account. The problem I have is in ...
0
votes
0answers
1k views

Httpd won't start because of permission denied

This happened after the server went down all of sudden, we couldn't access it only a minute later, when we attempted apache restart. the error below occurred: httpd: Syntax error on line 221 of ...
0
votes
2answers
464 views

which version of Apache to install on my Centos 5.x Linux

I see that there are two different releases in the Apache.org website. one version is httpd_2.4.1 and another version is httpd_2.2.22 both are latest version. any one have an idea? Thanks!! E.
0
votes
1answer
768 views

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

Server details: RAM: 16GB HDD: 1000GB OS: Linux 2.6.32-220.7.1.el6.x86_64 Processor: 6 Core Please see the link below for my # top preview: I can often see the error mentioned in title in my ...
-1
votes
3answers
323 views

What Linux Distro would your recommend for my Production Web Server? [closed]

I have been using CentOS for my Web Server for a while now, but it just doesnt feel right any more, I see CentOS as more of an Enterprise Server Distro rather than for HTTPd and FTPd work. Would your ...
1
vote
3answers
1k views

why are there many httpd process on the machine while i only started one apache httpd service?

on a linux machine with apache installed, i did a search for httpd by ps -ef | grep httpd, i saw about 10 httpd processes, why is that? myuser 14732 1 0 Jan12 ? 00:00:10 ...
1
vote
2answers
576 views

Recomended Apache configuration?

Sorry to ask a question like this if its too superficial for you. Considering the information below, how would you configure httpd.conf? The load time of pages reaches to 30 seconds when the server ...
2
votes
2answers
2k 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
502 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 ...
2
votes
1answer
744 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 ...
0
votes
1answer
152 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
233 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 ...
-3
votes
1answer
158 views

Setting up DNS for the first time — questions about FQDN and cPanel

This is my first experimental run of setting up a linux web host. I'm setting up cPanel and I want to try to do all of the configuration through cPanel, as I know that many manually entered changes ...