The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
64 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
15 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
17 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
33 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
18 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
32 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
38 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
29 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
55 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
1answer
576 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
54 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
22 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
42 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
52 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
109 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
30 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
195 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
38 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
4k 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
116 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 ...
0
votes
1answer
2k 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
960 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
171 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
108 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
44 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
57 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
532 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
53 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
2k 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
64 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
213 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
298 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
295 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
373 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
206 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, ...
0
votes
1answer
244 views

Server returning 'Not Found' for “www.host.com” but not “host.com”

My server is returning the correct paths for all of my domains as long as they are not prefixed with www. The following is one of my domains in it's simplest form: <VirtualHost *:80> ...
1
vote
1answer
211 views

Unable to find Red Hat Server

Running into a strange problem. I have a local server running Red Hat on a virtual machine (accessed through putty). I'm using this server to work on a website in Django, which I run with: python ...