3
votes
2answers
56 views

How to manage error_log and access_log of apache?

I noticed my error_log file grows larger and larger. I tried changing the LogLevel in httpd.conf from LogLevel debug to LogLevel emerg But I still see errors being posted about favicon.ico not ...
1
vote
1answer
87 views

yum - No package httpd available (new VPS)

So I have a new VPS that only has the bare bones. Not what I was expecting at all and I may be well past my depth but I'm trying to get the essentials running. The host is Swedish and aggressively ...
0
votes
2answers
62 views

Apache folder permission error

I have a folder name public that I set up Apache to serve files out of, for some reason I was getting a 403 with the error message: You don't have permission to access / on this server. My ...
0
votes
0answers
27 views

configuration of apache on sunfire v880 runing solaris 10

I am runing SunOS 5.10 on Sunfire v880 for my project but I can't run the Apache which is already installed. I have tried svcadm enable apache but it says that apache is not a known service. How do I ...
3
votes
1answer
39 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 ...
-3
votes
1answer
68 views

Is there a better way to stop and restart Apache server every 30 minutes? [closed]

I have to stop and restart Apache every 30 minutes in order to avoid it becoming extremely slow over time. The cron job that I use as follows: @echo off rem Launch google.com, wait 2 seconds, then ...
1
vote
1answer
84 views

cannot locate cacti files under /srv/www/cacti

I am installing cacti on SLES-11-SP2 following instructions on Open Suse Cacti guide but I cannot locate the cacti files under /srv/www/cacti after the installation. Do you have any idea where they ...
4
votes
1answer
94 views

How to set a directory's permissions for group read/execute access

I am running Arch and have just install XAMPP. I have change changed my document root to /srv which is a separate EXT4 partition. I have set the Apache HTTP server to use a group called "http". I have ...
0
votes
1answer
76 views

why is my php script slower on debian than freebsd?

We moved a web-based application to a new server recently, but the new server seems to run slower than the old one. The old server was FreeBSD 7 with Apache 2.2, mod_php 5.3, and mySQL 5.1. The new ...
1
vote
1answer
79 views

Weird memory spikes in Debian VPS

I run a medium VPS (4GB RAM) as a web server. I host some private Ruby on Rails sites with Apache and mod_passenger. I also have two legacy apps which run with "passenger standalone" (two Nginx ...
1
vote
1answer
232 views

Worker MPM or Prefork?

I understand that there is a comparison topic between the two modules but this is different. I was contacting cPanel support in order to help me freeing up some memory usage on the VPS. They found ...
0
votes
1answer
36 views

Opencats installation error

i am trying to install opencats. While installing i am getting following error.. What is the problem?
0
votes
1answer
433 views

How do I set up of IBM Cognos Business Intelligence with an Apache web server?

I'm trying to put together an Apache configuration for quickly getting IBM Cognos Business Intelligence Server up and running. But I got no idea of how to do it, could someone help me?
1
vote
2answers
103 views

Configuring CentOS apache server to default to a specific port for ExpressJS and Node

Completely new to Linux and virtual private servers so please bear with me. I have a webapp built on ExpressJS and NodeJS that runs on port 5000 of my server, accessible via web by typing: ...
1
vote
2answers
72 views

Running Apache as Group only?

I have a folder with files owned by: joe:www-data, joe belongs to the group. Apache only seems to cooperate with www-data:www-data. Is there a way around this so I can keep the user as joe and the ...
1
vote
1answer
104 views

Why wouldn't Perl CGI script run

I'm using Apache on CentOS and am trying to run a Perl CGI script as directory index so it will run automatically as a subdomain. I added DirectoryIndex script.cgi and added a Directory stanza noting ...
0
votes
1answer
135 views

Installing Domjudge in Fedora 19

I tried to install Domjudge in Fedora 19 (based on its documentation) and it installed successfully but when I try to start it in browser (localhost/domjudge) I get the following error: Forbidden ...
2
votes
2answers
926 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 ...
0
votes
1answer
386 views

Cannot start Apache server with Bugzilla installed

Linux noob here... I've installed Bugzilla following the guide here, however, when I restart my Apache server (so I can login to the Bugzilla system), I get the following error... Jun 27 16:10:30 ...
1
vote
3answers
191 views

Make web project writable by apache and other user

I am running ubuntu 12.04 LTS . To be able to view my web project in the browser I did the following: chown -R www-data:www-data /var/www/project Now I wanted to open the project in netbeans but it ...
1
vote
1answer
209 views

Permission error to access mounted directory in localhost

OK, I formatted my flash to ext4 file system, changed all the permissions to 777 and mounted it to /var/www/html/web. Now, when i access localhost/web it gives the following error: "You don't have ...
3
votes
1answer
598 views

Benchmarking Apache using ab

I was doing some performance testing for Apache using ab. Apache in our case is only working as a load balancer balancing load between two Liferay servers. Initially, I did the testing for 1000 ...
0
votes
1answer
151 views

Bash config files being read in contradiction to `man bash`

While trying to determine the differences between .bashrc and .bash_profile I notice that .bashrc is never read, and that .bash_profile is only read from SSH, but not from PHP. This seems to ...
4
votes
1answer
1k views

recovering deleted file held open by apache?

suppose an apache log file gets deleted but its held open by apache then this is what i am doing. pid=$(lsof | grep text.txt | awk '/deleted/ {print $2}') fd=$(lsof | grep text.txt | awk '/deleted/ ...
0
votes
2answers
606 views

Best way to find out what Linux Version is used on a Webserver

Is this feasible? Can I find out which distro is used to host specific webpages? Whois doesn't have info for this.
1
vote
3answers
8k views

Apache 403 Forbidden on sub folders?

I can view all files in the root directory (/var/www) but as soon as i enter a sub directory (eg /var/www/test) i get a 403 Forbidden error. I'm running Ubuntu 12.04.01. Have tried searching for ...
1
vote
1answer
208 views

Runtime User Privilege Management ColdFusion on CentOS cPanel

I'm needing to understand the correct workflow for managing permissions to allow the ColdFusion 9 runtime user {coldfusion} to have access to user accounts. The germane elements ... Centos 5.8 WHM ...
4
votes
1answer
1k views

How to configure permissions to allow apache to securely have access to a file in a shared environment?

This is a follow up question from my previous, but I felt it might be more Linux based. http://serverfault.com/questions/414207/how-to-set-linux-permissions-to-allow-apache-to-have-access-to-a-file ...
2
votes
1answer
89 views

How to make a module dynamically loadable on Debian?

I'm applying an API from maxmind. They require additional an module for Apache. Now they recommend the command: apxs -i -a -L/usr/local/lib -I/usr/local/include -lGeoIP -c mod_geoip.c ...
2
votes
2answers
171 views

What should I teach in my Linux class? [closed]

I'm teaching a basic Unix class using Ubuntu. We've already covered basic Unix stuff such as: bash shell scripting file and directory permissions filesystem hierarchy common commands I would like ...
12
votes
2answers
40k views

What user should apache and PHP be running as? What permissions should /var/www files have?

I just spun up an Ubuntu 11.10 box and then ran apt-get install apache2 php5 to install apache2 and PHP 5 on the box. Now it is functioning as a "web server" and it loads the "It Works!" page. Now I'm ...
0
votes
1answer
458 views

apache ldap authentication taking far too long

I configured apache2.2 (CentOS 5.6) to provide ldap authentication with Active Directory. <Directory "/var/www/html"> AuthType Basic AuthName "Authenticate with domain ...
3
votes
1answer
354 views

Creating a local in-house testing web server

What we are trying to achieve is to have an in house Linux-based (probably Ubuntu) web server which we can test on before pushing to our remote dedicated hosting server. The problem we are going to ...
0
votes
2answers
230 views

Linux (Debian) web server advice

I'm at the start of a new company in which the main activity is building internet web apps. I was very familiar with linux 8-9 years ago, but since then, I've lost a lot of touch with it (couldn't ...
1
vote
2answers
4k views

Apache 2 and PHP 5 not working

I have a test.php file in the web server directory with php phpinfo(); content. When I try to execute php test.php at a shell then it executes correctly. But when I try to open the web page in a ...
0
votes
1answer
45 views

Configure webserver for compression

Based on this page: http://code.google.com/speed/page-speed/docs/payload.html#GzipCompression I need to enable compression on my website, but I have no idea how to do this. If this is the right ...
1
vote
1answer
281 views

Easy Regex on Apache Logs

I'm struggling to create a regex for Apache logs. It's for ignoreregex on Fail2ban. I'd really like to be able to put something like /house to catch all files in that directory or ...
5
votes
1answer
367 views

How can I setup Apache on Linux to stream WMV-HD to Xbox 360?

What I am looking for is a free and open source solution. If the distro I use matters, it is Open SUSE. VLC supports only WMV1&2.