Tagged Questions
0
votes
0answers
15 views
Apache mod_fastcgi correct configuration for virtual host?
I'm configuring mod_fastcgi on my vps. I put main directive in httpd.conf (ubuntu 12.04):
<IfModule mod_fastcgi.c>
Alias /php5.fastcgi /var/www/fastcgi/php5.fastcgi
AddHandler ...
-2
votes
0answers
29 views
Apache2 (LAMP Stack) starts to become unresponsive and times out with only a 100 users on it
So I have WordPress site running on a stock LAMP Stack (apache2, mysql, PHP 5)hosted on a Medium AWS EC2 instance. The database is running on a RDS instance and I'm using W3C Total Cache. Anyhow, the ...
0
votes
0answers
29 views
Sever Comprimised, what to do to sort it out? [duplicate]
I know this is a rather loaded, and vague question. More so as no server is configured equally. That said I am just looking for some common tactics to helping detect the threat and then containing it ...
0
votes
0answers
20 views
Installing node.js/socket.io alongside Apache/PHP
I have a LAMP setup that I am currently very happy with. It is running an already built PHP application to which I need to add real time notification capability.
After hours of research I have ...
0
votes
1answer
28 views
Apache2 many CLOSE_WAIT. LAMP. Locating the issue
I've got a LAMP setup running and I seem to have many CLOSE_WAIT connections for apache2 program when I netstat (several hundred). This eventually causes my apache to become unresponsive.
Bellow is ...
-1
votes
2answers
66 views
LAMP make website public [closed]
POST EXISTS IN UBUNTU FORUMS ALSO
Hello all,
As the title describes i am trying to make my website public from a LAMP setup.
I trying but i am failing... so if you could give that extra push it would ...
0
votes
0answers
33 views
LAMP: too many connections from localhost
I'm running a ISPConfig LAMP server with Apache2 and php5-fpm.
I keep wondering, why do I get to see up to 300 connection from 127.0.0.1? I just don't get it.
I find out those connections by ...
0
votes
0answers
35 views
SSL Error / RSA premaster secret error
anyone know what is the problem regarding the error that encountered in the PayPal sandbox?
It was working fine for months last time and we changed our server and IPN stopped working. We are not ...
0
votes
2answers
99 views
Apache doesn't parse PHP on VHOST while it works on default
I set up a Debian 6 VPS to host couple of small sites and it works beautifully for default one.
Next i created new user and copy/paste default vhost file and enabled it with a2ensite and only ...
2
votes
1answer
61 views
Alternative to Samba with AMP stack
I am currently setting up a server on my network for web development work and was wondering if there is any better way of doing what I intend to do.
My work machine is a Windows 7 desktop and I am ...
1
vote
4answers
100 views
SSL causing same content on multiple domains
I have setup a Debian LAMP server where I host multiple websites. As far as I know I can only use SSL on one of them, if I'd like to use SSL on two or more sites I'd have to add another IP - so far so ...
0
votes
0answers
32 views
Linux Apache Alias Directories on windows domain permissions
I have an intranet that sits on a LINUX box. I need to set up aliases to shares/folders across the domain so that I can point to documents on the network from the intranet.
How do I give Apache ...
0
votes
0answers
25 views
Wiki URL dropping index.php when cancelling an edit [closed]
What is the best solution to this problem? I click a link on my wiki and it works fine HOST/wiki/index.php/Software_Tools_Department, I choose edit and the url is modified to ...
3
votes
2answers
288 views
What to do after hitting the dreaded 256 max connections Apache Limit
After scratching my head trying to figure out why my site was responding so slowly even though the server resources are fine, I finally checked the Apache status and found:
78 requests/sec - 0.7 ...
1
vote
0answers
83 views
Is it time to add a server [duplicate]
This question is about figuring out if horizontal scaling by adding servers is the next step or not. Here is the context:
About 1400 concurrent users at peak time (between 11:00am-4:00pm) in Google ...
1
vote
0answers
36 views
Predicting Linux Server Requirements For a Wordpress Install Based on Pageviews/Visits/Bandwidth [duplicate]
I'm looking to move a static non-profit website to Wordpress, but am having trouble getting a clear idea of what kind of VPS specs I'm going to require. I've been in contact with the support teams of ...
1
vote
1answer
84 views
Apache server not allowing mime type
How does one set mime types in Ubuntu 12.10 for .mp4 and .ogv video rendering?
I want to run simple video files through localhost. Please give suggestions.
I have kept these 3 lines in ...
-1
votes
3answers
59 views
Looking for modules to increase Apache and PHP Performance [closed]
We are looking for modules that will increase performance for apache and php, we know that the fastcgi module will help our page load times, is there any other modules out there that will give us a ...
0
votes
1answer
36 views
VPS Web Server - Single or Multiple Users
I want to start the process of learning to manage my own server and leave cPanel / WHM behind. I've just purchased a VPS (Linode) running Ubunutu. I'm going to he hosting multiple sites on there under ...
-2
votes
1answer
170 views
Centos LAMP CMS will only show home page [closed]
I'm having trouble getting the sub pages of a CMS working on a Centos virtual machine. In a web browser, if I go to localhost I see “Apache 2 Test Page powered by CentOS”. If I go to ...
-1
votes
2answers
238 views
403 Forbidden - Apache setup on Fedora [closed]
Besides being quite new to Linux, I'm also quite new in setting up servers and so forth. I'm running Fedora 18 64-bit with Apache installed. When I hit my localhost I get the Apache test page just ...
0
votes
1answer
100 views
Linux SFTP access to /var/www
I'm running Ubuntu 12.04.1 LAMP server and I'm trying to get a user read write FTP access to /var/www.
First I've installed vsftpd and set write_enable=YES and chroot_local_user=YES in vsftpd.conf ...
0
votes
0answers
140 views
odd “waiting for localhost” loading delay on wordpress ubuntu 12.04 server LAMP install
I have just installed wordpress (last version) on /var/www/wordpress on a default ubuntu server 12.04 LAMP installation.
Every time I want to load something on this wordpress (even the login screen) ...
0
votes
1answer
107 views
Debian/Apache Server waiting time very slow only with Chrome
I have a website running on a Linux Debian Squeeze server with Apache 2. The website is the only one on the server and the traffic to the website is very low (800-1000 connection per day).
The ...
0
votes
2answers
104 views
Mysql very slow, out-of-the-box configuration
I just installed AMP stack on a VPS. I logged in to mysql console and found out that queries were incredibly slow. A single update query, targeting 1 row in a table with ~200 rows took 0.5 seconds to ...
2
votes
1answer
49 views
Secure against c99 and similar shells
I'm trying to secure my server as much as i can without limiting my options,
so as a first step i've prevented dangerous functions with php
disable_functions = "apache_child_terminate, apache_setenv, ...
2
votes
1answer
182 views
PHP errors not being displayed
I'm using PHP with Apache on Ubuntu 12.10. Errors are not being displayed to the browser for some reason and I can't figure it out.
I have the following in my php.ini file:
error_reporting = E_ALL ...
1
vote
1answer
65 views
How can I narrow down why Apache randomly stops serving pages?
I am running a Turnkey Linux LAMP stack (based on Ubuntu). The server is hosting a relatively large WordPress installation with a pretty hefty amount of allocated RAM (on a dedicated machine). We get ...
0
votes
1answer
67 views
lamp server permissions on development server [closed]
I run a LAMP server on a ubuntu laptop I use only for development. I am not greatly concerned with security, since the server is never accessible outside the local network, and it's turned off when ...
1
vote
0answers
67 views
New LAMP server, all links redirecting to localhost
I've got a very frustrating issue with what should be a bespoke install of Ubuntu 12.04, the LAMP config provided in apt-get install lamp-server^, and a web application called The Fascinator.
After ...
0
votes
2answers
94 views
Should an apache process grow?
I have a question. Over time, should an apache process's memory consumption grow? I am wondering if this is normal apache behavior or we may be causing this somehow in code?
Basically, we have a ...
0
votes
1answer
87 views
How to determine if PHP-to-Solr connection is slow?
Hi have a LAMP stack connecting to a Solr 3.6.1 server running on CentOS 6.3. While benchmarking my app, I noticed sudden spikes in the time taken for PHP to send a search query to Solr and getting ...
2
votes
1answer
438 views
Optimising busy website with Varnish and lots of ram
[Updated to be much more consise!]
I'm new to the world of optimising web servers for lots of traffic, but that's now something I'm getting into.
On Monday our webserver was 'slashdotted' - we got a ...
0
votes
2answers
69 views
Serving index.html from a subdirectory
In my document root, I have to directories: home and foobar, both with their own index.html files.
How can I set it up so that when someone visits my site at example.com, they see the contents on ...
0
votes
0answers
16 views
Wordpress hacked. Disabled hacked site but bad traffic continues [duplicate]
Possible Duplicate:
My server's been hacked EMERGENCY
My Ubuntu 10.04 LTS VPS has been hacked, probably via a WordPress site.
I was alerted to it when I noticed the incoming traffic ...
1
vote
1answer
154 views
Why is my concurrency capacity so low for my web app on a LAMP EC2 instance?
I come from a web developer background and have been humming along building my PHP app, using the CakePHP framework. The problem arose when I began the ab (Apache Bench) testing on the Amazon EC2 ...
1
vote
2answers
759 views
High CPU usage resulting in server crash
running out of ideas to explore. First off - let me warn you - I'm a programmer, not a systech :)
Here is the situation.
Dedicated server (LAMP) running a fair amount of sites. mySQL server is on a ...
2
votes
1answer
133 views
.php files see Apache environment variables, .html files don't
Consider this environment:
$ cat .htaccess
AddType application/x-httpd-php .php .html
SetEnv Foo Bar
$ cat test.php
<?php
echo "Hello: ";
echo $_SERVER['Foo'];
echo $_ENV['Foo'];
echo ...
1
vote
1answer
240 views
Parsing .html as PHP: how to check which method would be right?
The usual way of parsing .html files as PHP is to add either the first (PHP as an Apache module) or both (PHP as CGI) of the following lines to an .htaccess file:
AddType application/x-httpd-php ...
0
votes
1answer
456 views
var/www permissions and FTP
There are many threads about this topic but many are subjective since it's such a flexible subject, so I hope I'm asking an objective question relevant to my setup which is: is this is a sensible ...
3
votes
2answers
511 views
Apache “httpd” process, utilizing all my servers memory
My small ec2 instance with 1.7 GB memory, running the Amazon AMI based off of CentOS, has an issue with Apache utilizing way too much memory than it should. If you take a look at the screenshot, the ...
0
votes
1answer
313 views
Who should own /var/www? [duplicate]
Possible Duplicate:
How should I structure my users/groups/permissions for a web server?
I've seen a few answers to this on the internet, but I'm looking for a definitive answer. I have a ...
0
votes
1answer
150 views
Bitnami lampstack install libapache2-mod-proxy-html
I was trying to install libapache2-mod-proxy-html on a Bitnami Lampstack by using
sudo apt-get install libapache2-mod-proxy-html
However, when I add the following line to httpd.conf
LoadModule ...
0
votes
2answers
1k views
Upgrade Apache 2 to 2.2.22 on Debian 6.0
How I can upgrade Apache 2 from 2.2.17 to 2.2.22 on Debian 6.0 (x86)?
0
votes
2answers
90 views
“Server Error” on localhost LAMP server
I'm not too experienced with server issues and stuff like that. I have a LAMP server setup on Ubuntu 12.04 for local PHP and web development.
It was working fine just a little bit ago, then one time ...
2
votes
1answer
340 views
CentOS 6 Apache Virtual Host Config Help for Development Server
I have setup a LAMP server with CentOS. It will be used as a development server within our domain. It is our first Linux server and would like to actually put one into production in the future.
The ...
1
vote
1answer
161 views
Apache2 mod_proxy: backend servers log frontend server as source of all requests
I have five servers running Ubuntu (LAMP). One of them (called Server1) receves all incomming requests from the internet, and uses VirtualHosts and mod_proxy to deliver the correct request to the ...
2
votes
4answers
1k views
Need working guide to install latest Apache or Nginx, PHP & MySQL for production
Ok I'm told the best and easiest way to install Apache/Nginx, PHP, MySQL for production these days is to pull in the software using apt-get or similar package manager for your specific distro. The ...
-4
votes
3answers
95 views
Suggestion needed for improvement of current server configuration [closed]
I have a LAMP server with following configuration -
32 Bit OS Debian Etch
Apache 2.2
PHP 5.2
MySQL 5.0.32
Hardware
3 GB memory
2 Intel(R) Xeon(R) 1.86GHz CPUs
Each Apache process taking ...
1
vote
1answer
289 views
Is suPHP any more secure than alternatives?
I have a web application needs write access to certain folders on a LAMP server.
Since suPHP / suEXEC escalate operations to an account you specify, it seems like your server is no more secure ...

