0
votes
2answers
33 views

how to add wamp feature to lamp

I am used to do web development using wampserver in windows but recently I wanted to move to Linux and I am using LAMP now but I found that some useful feature in wampserver are not available in LAMP ...
2
votes
1answer
52 views

Serving webpages with Apache on Ubuntu server

I've set up an old machine running Ubuntu server 13.1. I can access it remotely with webmin and I was able to install apache that way. What I would like to be able to do is to put web pages and be ...
1
vote
1answer
201 views

Web server seems to keep serving old images, issue with Apache & VirtualBox?

I'm asking this here because I'm pretty sure it's a Linux issue. I'm running Apache server locally on Ubuntu Server 12.10, which runs inside a virtual machine (VirtualBox) on Windows 7. The "www" ...
2
votes
1answer
589 views

How to properly setup web server directory permissions

I'm lost with this, hopefully I can find some help here: I have Ubuntu 12.04 LTS webserver. For example I have user "myuser". There is a public directory which is my web root. I chowned it and all ...
0
votes
2answers
51 views

Help with directory ownership/permissions for apache

I've been using Ubuntu Linux for a couple years now but I still have trouble with permissions. I need to setup my web server for production. The root web directory should always be accessible by ...
0
votes
0answers
90 views

nginx should not handle unicorn's request

I have a server on which I have configured Nginx and Unicorn, where Unicorn servers static pages. In my case I'm writing a rewrite rule in Nginx that, if a request comes to mydomain.com it should ...
1
vote
1answer
188 views

HAProxy should not forward an incoming request to down instance

In my scenario, I have 2 servers, both are communicating with HAProxy. When a request comes in, HAProxy splits the request and sends it to both servers, following a round robin method. If in any case ...
2
votes
2answers
899 views

Moving a root directory to a separate partition

I'd like to create a new partition and move the contents of the /var directory to it for the security reason of having /var/www and other subdirectories "mounted" with nosuid, noexec, and nodev ...
2
votes
1answer
424 views

Specific directory permission for one user using sftp

My web server structure looks like this: /Home/User/Public_Html/Website_one /Website_two /Website_three/Directory_one ...
1
vote
3answers
9k 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
2k views

Not able to configure phpmyadmin in Ubuntu 12.04

I tried to configure LAMP on Ubuntu 12.04 following this guide (http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp). But when I point to ...
2
votes
1answer
442 views

Run an application under Tomcat

I have an application that needs to run under Tomcat. I have installed Tomcat but I don't know where can I put the directory of the project.
2
votes
1answer
387 views

“error: no such device” at boot in Ubuntu Server 11.10 with Raid1

I have a configuration of 4 HDD's as Raid1 2 pairs of 2 HDD's. First Raid1 pair is for system, so I just made an 40GB space for swap, and the rest of it for the root, the second pair of Raid1 is for ...
2
votes
3answers
669 views

Linux program running on Ubuntu machine but not on Unix webserver

I've downloaded the command-line program "Whitaker's Words" which was available for Linux as well as Windows etc. There is a main program named words. I tried to execute it on my Ubuntu (11.10) ...
3
votes
2answers
644 views

Installing php-cgi under Ubuntu for Cherokee web server

I have set up Cherokee web server on my server, and want to enable PHP and MySQL support for applications like Wordpress and phpBB. I have tried running these commands: sudo apt-get install php5 ...
2
votes
1answer
343 views

How can I monitor the load of a php script on a server?

We've got a website on our dedicated server which seems to be causing problems. Recently it has been crashing our dedicated server - it's very annoying. It will crash at random times. The tech ...
3
votes
3answers
4k views

How to configure permissions to allow gedit, apache, and an IDE play together?

I'm using plain Ubuntu Desktop 11.04 and installed my lamp stack using lamp-server. I am trying to use Netbeans as my IDE. Currently, all virtual hosts are being run from /var/www/vhostname -- but as ...
7
votes
2answers
2k views

Ubuntu vs Debian for server

What would be a better choice for a web server, Debian or Ubuntu? I mainly use Python & PostgreSQL with Nginx and sometimes PHP & MySQL. What are pros/cons of each?