The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
2answers
114 views

apache won't restart after adding VirtualHost conf file, why not?

In a CentOS 7 server, I get the following error when I type sudo apachectl restart after I add an include file at the bottom of httpd.conf: Job for httpd.service failed. See 'systemctl status ...
0
votes
0answers
4 views

httpd and mod_security woth OWASP's dos rules

I'm trying to setup the mod_security on my httpd web server. I have followed the basic steps yum install mod_security I put the modsecurity_crs_10_setup.conf in the /etc/httpd/modsecurity.d I put ...
0
votes
0answers
106 views

CentOS 7 httpd failed to make connection with backend

In a CentOS 7 server with apache httpd 2.4 set up as an ssl reverse proxy for tomcat, I am getting an error indicating that httpd is not able to connect with tomcat. How can I resolve this error so ...
0
votes
0answers
73 views

CentOS 7 won't serve static https content, why not?

I just re-installed httpd and created a static index.html file. I have firewalld configured to allow internet access to the https service. But when I type https://my.server.ip in a web browser, the ...
0
votes
1answer
83 views

error re-installing httpd on CentOS 7, how can I resolve it?

On a CentOS 7 server, I am encountering an error when trying to re-install httpd. How can I resolve this error and get httpd up and running again? Here is the first error that resulted when I ...
0
votes
1answer
81 views

SSL-encrypted proxy server for war files in CentOS 7

How can I configure a CentOS 7 web server to serve only SSL-encrypted content from war files, with tomcat running behind a proxy server? I imagine this involves using firewalld, https, and tomcat. ...
0
votes
0answers
28 views

web container options for war file in CentOS 7

I know that Tomcat and NginX are both able to host web applications that are defined by war files. But can httpd also host a war-file-based web application on a CentOS 7 server? If so, how would you ...
0
votes
1answer
13 views

Configuration of compiled Apache2

When installing a module, I noticed the following: ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured. [Tue Dec 09 19:01:10 2014] [notice] ModSecurity: APR compiled ...
1
vote
1answer
17 views

Confusion regarding generating self signed certificate for application portal developed using liferay

We have a Application Portal developed using Liferay bundled with tomcat. There are two application servers running liferay and we use httpd as a front-end which forwards requests to application ...
2
votes
1answer
693 views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
0
votes
0answers
28 views

Accessing CentOS7 server from public

recently I switched to CentOS 7 OS and set up basic webserver with Apache. I had no problems configuring SSH, FTP and LAN access to the webpage. But accessing from other IP's won't work. I'm 99% sure ...
1
vote
0answers
7 views

Domjudge keeps Not Authenticated

I am trying to install Domjudge in my VPS. After I run ./configure, make and config database I login at /public/login.php with the user/pass: judgehost/judge but it doesn't log me in. I try at ...
0
votes
0answers
22 views

unable to update HTTPD, mod_jk dependency error

While trying to update httpd in RHEL6, getting some dependency error as below: Unsatisfied dependencies for mod_jk-ap20-1.2.31-1.x86_64: httpd = 2.2.3 is needed by mod_jk-ap20-1.2.31-1.x86_64 I am ...
0
votes
0answers
93 views

Where is module prefork.c settings in Centos 7?

I used to edit the settings in etc/conf/httpd.conf for better memory performance <IfModule prefork.c> StartServers 2 MinSpareServers 3 MaxSpareServers 3 ServerLimit 15 ...
1
vote
0answers
22 views

Can you have two directory rewrite rules in one configuration?

In /etc/httpd/conf.d for custom conf file where you have multiple sites and databases but with different systems installed in non root folders can you declare more than one rewrite rule like below? I ...
0
votes
2answers
44 views

HTTPD/apache 2.4: strange problem with alias

On httpd 2.4 alias /repo /repos <Location /repos> Require ip 192.168.0.7 </Location> I can reach repos but no repo(403 forbidden) if i use directory instead of location nothing change ...
0
votes
1answer
49 views

Apache - Allow access for folders starting with /

I'm running apache in a linux environment. I've to serve files whose directory structure have "/." in it. Now, apache by default won't allow files with /. To remove the constraint, I've included the ...
0
votes
1answer
36 views

Incorrect Directory Index

I am attempting to load as the default DirectoryIndex home.html, but the site keeps jumping to index.php. Website is built on WordPress. httpd.conf DirectoryIndex index.html home.html index.php ...
0
votes
1answer
76 views

How to set & retrieve a cookie via an executable bash script that is on the web

A simple bash script that can set a cookie when executed via web : #!/bin/bash echo "Set-Cookie: eee=1" echo "Content-type: text/html" echo "" echo "test" I replaced the entire codes above with the ...
6
votes
3answers
1k views

How can I set up Apache to use port 1 and other ports below 80?

The mysql user cannot use ports below 1024 because these are reserved for the root user. Apache, on the other hand, can use port 80. Apache runs as root before it runs as Apache and thus it can use ...
0
votes
2answers
752 views

Redhat “httpd” start failed showing “ELinks: Connection refused”

I'm on RHEL 6.5 and Apache 2.2.15. And now applying a trusted SSL on the Server. After adding the respective SSL related Certs and files, my Apache is NOT starting up anymore. Here are some outputs: ...
0
votes
1answer
67 views

is “ServerAdmin email@domain.tld” required in the VirtualHost in Apache?

I rather not have ServerAdmin in my VirtualHost because all it does is attract spam. has no use what so ever. can it be ignored ?
1
vote
2answers
23 views

How to find site on shared server that is generating httpd requests

I have a shared server that had a Wordpress site that was compromised. I cleaned out all the wordpress sites on the server and everything seemed to be fine. When I checked today I noticed a large ...
1
vote
1answer
47 views

Make a deb package that installs data under /var/www/data

I recently set up a PPA on Launchpad for distributing my web application. Since it's a server-app, I need to put my data into /var/www/html which apparently is not wanted by Lintian ...
1
vote
0answers
55 views

Unable to start apache

I'm running CentOS7 in virtualbox on a mac (osx 10.9.3). Ultimately, I want to acces the website on my Guest VM from my Host. I can Ping and SSH to VM but I can't acces the webpage when entering the ...
3
votes
0answers
47 views

Is it possible to set mod_expires directives dependent on REMOTE_ADDR?

Basically I have a bunch of mod_expires directives in my httpd.conf like so: ExpiresByType text/html "access plus 1 hour" I realize that ultimately, the user's browser determines how long to hold ...
2
votes
0answers
124 views

HTTP request failed after listening on multiple ports or after enabling SSL Module on my Linux Board

I have one custom Linux board on which I want to run apache web server to test HTML and other web based services. I have configured, cross compiled and installed default httpd (2.2.24, 2.4.1, 2.4.4 ...
0
votes
0answers
33 views

when “DirectoryIndex 1” in “httpd.conf” SOMETIMES & at random i see “/1 not found” error on the web

In my httpd.conf, I have written DirectoryIndex 1 above the virtual hosts section. Randomly (1 incident of 100-200 browser refreshes) I see a message on the web browser: /1 is not found on this ...
3
votes
2answers
226 views

Subdomain for Nagios

I have a subdomain forwarding at ip xxx.xxx.xxx.xxx (domain.com) Lets call it nagios.domain.com Nagios worked at xxx.xxx.xxx.xxx/nagios but now it's not working due to a fact that app.domain.com took ...
0
votes
1answer
40 views

Nagios took over default port

I had domain XXXXXX.com working After installing nagios the only working thing is XXXXXX.com/nagios :/ Entering XXXXXX.com generates repsonse: Forbidden You don't have permission to access / on this ...
0
votes
1answer
26 views

Why does apache not define where to log by default?

When searching the occurrence of the chain /var/log in default configuration files of apache this cannot be found anywhere. But log files are defined as such # part of httpd.conf ErrorLog ...
5
votes
2answers
6k views

How to find out if httpd is running or not via command line?

I'm working on a small control panel for my server. I need a command that will say if httpd is running or stopped. Will probably be using the same code for other services as well.
4
votes
2answers
130 views

How to return either “on” or “off” for: chkconfig --list | grep httpd

To ensure httpd is automatically started on reboot. I simply run this command chkconfig httpd on what I am looking for is a way to be told if this setting is on or off instead of this command ...
1
vote
1answer
3k views

httpd fails to start after install

While I try to install server through yum install httpd in Fedora 19, enabling and starting it shows errors. I checked httpd status and it's also failed. Can some body explain what the problem is? ...
-2
votes
1answer
1k views

httpd start fails and shows up error

I installed Apache through yum install httpd in Fedora. When I try to start the service it shows the following error: [root@localhost ~]# systemctl enable httpd.service ln -s ...
0
votes
0answers
183 views

Red Hat/CentOS Cluster HA Web Server Issue “rgmanager[30244]: [script] Executing /etc/rc.d/init.d/httpd stop”

I'm trying out to deploy a red hat cluster to setup a HA Web Server. I followed the documentation below at page 81 ...
0
votes
1answer
151 views

How to detect the incoming httpd Connection Counts of each VHOSTS?

With RHEL and Apache (httpd), is there a way to: Detect which v.host (domain) is gaining how many incoming connections? Because in this few days, i got a lot of incoming connections on the Server ...
-1
votes
1answer
42 views

Apache Downloading a lot data, how to find out which script?

Apache Downloading a lot data, how to find out which script? I host a few sites, i noticed a ton of bandwidth being Downloading (not so much when uploading) when the httpd service is running, when I ...
1
vote
2answers
47 views

Tracking from httpd instance to PHP script when PHP is a module

I'm trying to figure out exactly what's going on that kicks CPU usage in random httpd workers so high but I'm having a little hard of a time figuring out what PHP page is being requested so that I can ...
3
votes
1answer
63 views

How to interpret the following pattern of uptime data?

I have a small web server running mysql and wordpress which after a while appears to stop processing web requests. I can't even log into the server via ssh as ssh client times out when trying to ...
2
votes
1answer
778 views

SELinux httpd write access to a directory

I am new to SELinux. came from debian. I want to give httpd access to a directory. SELinux Alert Browser suggests: # grep httpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp ...
0
votes
1answer
56 views

Why the main page of apache points to Virtual Host

I've configured two Virtual Hosts using a single IP and following the documentation. Here the conf: VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:80 ...
2
votes
1answer
3k views

Apache throws 403 Forbidden after moving DocumentRoot (CentOS 6.4)

I installed Apache via yum on CentOS 6.4. I changed the DocumentRoot in /etc/httpd/conf/httpd.conf to point to /home/djc/www: DocumentRoot "/home/djc/www" <Directory "/home/djc/www"> ...
1
vote
0answers
68 views

prefork doesn't appear to be listening to MaxClients in config file

Apologies in advance if this is a stupid question, I'm new to all of this! I have prefork installed on a ubuntu server which I confirmed by running aptitude search apache2-mpm- Which gave me p ...
1
vote
0answers
227 views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 I built mod_fcgid from source, put it into the ...
3
votes
1answer
328 views

Apache Request Hangs For 2 Minutes Exactly

I am experiencing some odd behavior with apache. I have requests that are hanging for exactly two minutes. The request could be one file one time, and then a completely different file another time. ...
2
votes
2answers
2k views

How do I find out what file Apache is serving when a port is hit?

I'm working on a server someone else set up. The server is CentOS 4.6 running Apache/2.0.59 (httpd). They have an update service setup on port 8443. I know it is working but I need to find out what ...
1
vote
1answer
318 views

installing apache httpd server on RHEL-6

I have 5 systems running Apache tomcat server, for load balancing i need to install Apache httpd server, how should I do this, please provide me some useful links and your opinions on this. I am ...
1
vote
0answers
383 views

Debian - Apache 2.2 & mod_php - memory usage

I have a memory problem with my servers (Debian 6.0) where is installed Apache httpd 2.2, mod_php and APC. Actually it seems that httpd allocate all available memory (4GB) when is waiting too much ...
1
vote
0answers
213 views

403 Forbidden on Sub-Folders

I am a Linux newbie and decided to do a LAMP install to start getting more familiar with it (as our company is moving more towards nix these days). Everything went great and PHPMyAdmin, MySQL, ...