0
votes
0answers
44 views
+50

What is the best way to configure Apache or AWS to support a Rails multi tenancy application that allows each customer to have their own domain name?

I'm building a Rails 3 SaaS site that allows for multi-tenancy. When a customer signs up they put in their own domain name, e.g. mycompany.com. I need mycompany.com to point to my SaaS application and ...
0
votes
0answers
17 views

Nginx glob in try_files

Is it possible in nginx to do something that is the equivalent of a file path glob in try_files? server { try_files /var/www/*/assets/$uri; } That is, if /var/www/ contained site_a and site_b, ...
1
vote
1answer
291 views

Dell R610 memory configuration for all 12 slots

I purchased 12 sticks of RAM on eBay to go into a Dell R610 server. The RAM is ECC REG PC3-12800 DDR3-1600 yet when I occupy all 12 slots with this ram I get the following error on boot: MEMORY ...
0
votes
1answer
54 views

Server Memory with Magento

I have a cloud server with the following specifications: 2vCPUs 4G RAM 160GB Disk Space Network 400Mb/s System Image: Ubuntu 12.04 LTS I am only running Magento CE 1.7.0.2 on this server. Nothing ...
0
votes
1answer
58 views

Lighttpd wrong config file syntax

Been trying for hours but just can't seem to get the correct syntax in my lighttpd configuration. As a last resort I am now asking the hive mind of server fault :P I am trying to get trac hosted on ...
1
vote
1answer
60 views

Optimizing nginx site configuration

First time working with nginx. Due to my limited knowledge of location directive precedence I had to repeat the code at two places (fastcgi). Can I optimize this file and not repeat code? This is my ...
0
votes
0answers
63 views

VirtualDocumentRoot Setup For Local Development

I'm trying to learn about setting up httpd.conf and httpd-vhosts.conf files. I would like to have a local setup, using Wampserver on Windows 7, so that I can add a new project just by adding a new ...
0
votes
1answer
30 views

Nginx global config inherits from named config?

I've got two nginx configs, one is a global catchall config without a server name set that should handle any request. And i got a second configuration that has a server name set that handles only the ...
1
vote
1answer
388 views

Security configuration in IIS8 does not allow for folders to be created on network shares with ClassicASP

I need to find the IIS8 configuration that allows this code to work with Windows Authentication Enabled. No Anonymous access. I have a three lines of code written with Classic ASP that are meant to ...
0
votes
1answer
45 views

Server Virtualization - Power on demand

I have a cluster of (virtual) development servers set up using virtual box. Each of these servers is for an independent product and their use tends to be focused on a few of them at any given time. ...
1
vote
1answer
96 views

Can not access tomcat's default page

I am quite new to Tomcat. I use win XP. I have installed Tomcat 7.0.3, started it. I have started a browser, go to localhost:8080 and I can see the congratulations page, saying that tomcat is ...
1
vote
1answer
369 views

Asterisk Connection not working

I have installed Asterisk on VirtualBox by following the steps from here. Everything went ok until I got to navigate to an IP to configure Asterisk using FreePBX: 10.0.2.15 (Shouldn't be something ...
0
votes
1answer
261 views

extend size of partition

I am asking for help on how to properly extend the size of partition Here is my situation. Running fdisk -l, give this result root@ ~]# fdisk -l Disk /dev/sda: 2000.3 GB, 2000398934016 bytes 255 ...
1
vote
1answer
113 views

Recommended Configuration to setup Tomcat 7 on windows OS

I have created a small web application using java/jee which will be deployed in LAN environment. I want to know the recommended hardware configuration. Details are as follows 1) Expected number of ...
0
votes
1answer
115 views

Nginx config rewriting subdomain name to 1st URI segment

I'm unable to do the following nginx.conf rewrite: test.mysite.info to: mysite.info/test here's what i've tried: server { server_name test.mysite.info; rewrite ^ ...
1
vote
1answer
978 views

Nginx rewrite to eliminate “www” not working

I've looked at many SE threads and done various google searches and can't figure out why i can't redirect www.mysite.com to mysite.com on my nginx server. The 1st server block does the ...
0
votes
1answer
309 views

apache2 - apache2.conf optimal settings - only 8 people served at a time atm

im new to server administration and i've got a site with many users and dynamic content and a virtual server with 2gb ram and a good multicore cpu. but only 8 users are served by the server ...
0
votes
1answer
96 views

Fresh Debian install / setup users per Babushka

I posted this question on the babushka google group , but I got since 5 days no response. I will try my luck here: What is the correct way to setup some users with Babushka on a shiny new Debian box ...
1
vote
1answer
1k views

nginx: How can I set proxy_* directives only for matching URIs?

I've been at this for hours and I can't figure out a clean solution. Basically, I have an nginx proxy setup, which works really well, but I'd like to handle a few urls more manually. Specifically, ...
4
votes
1answer
912 views

server handover document template - users, security settings (firewall,selinux), packages etc

As part of the handover of our linux application server automated builds I would like to produce a high level "handover document" which captures the key functions and config items. (This is more of a ...
0
votes
1answer
52 views

How to retrieve all MySQL settings?

I have a configured MySQL server (MySQL 5.1.47-community) that works perfect. I installed a second server (MySQL 5.5.15-community) to see if the new version of MySQL would work with my application ...
5
votes
4answers
4k views

Directly editing IIS 7 applicationHost.config configuration file

I know that IIS 7+ now uses XML config files instead of the metabase. I also know that if I edit a web.config file for a given site, IIS automagically detects the changes and implements any ...
1
vote
2answers
528 views

How do you clone a sharepoint 2010 front end server and then add the clone to the farm?

We have a SharePoint 2010 farm with one front-end server. This server is a VMWare virtual machine. Let's call it SERVER1. We want to add a new front-end server to this SP farm to enable load ...
0
votes
2answers
89 views

What are good ways to stress-test machines in data center clusters?

We recently got a bunch of machines in data center and want to do stress testing for drive failures. How to stress test for drive failures. Are there any tools available? Are there any other ...
2
votes
1answer
142 views

Contional declaration in Apache httpd

We want to be able to set Cache-Control headers based on User-Agent in Apache For example, if a User-Agent contains substring foo we want to set Cache-Control to 10 minutes. But if not set it to 1 ...
0
votes
1answer
982 views

client denied by server configuration

I using Wamp sesrver, i got the following error, how do I fix this problem? [client 127.0.0.1] client denied by server configuration: D:/httpd-2.2-x64, referer: http://localhost/sabredav/ my D:/ ...
12
votes
8answers
784 views

What is this server doing?

I have a bunch of linux virtual servers left over from a previous IT department. They have names like 'magic' or 'stuff'. I'm not quite sure what they're doing...or if I need them... How would you ...
1
vote
1answer
142 views

nginx - config for several domains

So in the past, I've just had one nginx.conf file. I'd like to separate this out for each domain (right now there's two), but to stay organized in case there's more. How is this possible to let each ...
2
votes
5answers
361 views

MySQL goes away when traffic volume spikes

I have 2 servers running 1 website. Server #1 is dedicated to Apache, serving the website files to the Internet. Server #2 is dedicated to MySQL, serving the database to the Server #1. Gigabit ...
4
votes
5answers
9k views

Apache2 configuration error: “<VirtualHost> was not closed” error

So I've already checked through my config file and I really can't see an instance where any tag hasn't been properly closed...but I keep getting this configuration error...Would you mind taking a look ...
1
vote
2answers
474 views

How do I configure Ruby On Rails on windows XP with APACHE and MYSQL

It has been quite some time I am struggling to get Ruby On Rails working on my System which is having Windows XP operating system. I am trying to configure ROR to use apache and mysql so that I do ...
0
votes
1answer
94 views

Best web service server configuration

We've just taken over supporting a system for a new client, and they would like to expand on the server infrastructure it uses. My expertise is more in development, I have a few ideas but I would ...
3
votes
2answers
3k views

Help needed setting up nginx to serve static files

I'm trying to setup nginx to serve static files. Basically all I need is to have http://mydomain.com/site_media/ point to /var/django/myproject/site_media. I have tried so many configurations and ...
2
votes
4answers
161 views

Do you delete unused config file lines?

I've been configuring Apache and PHP, and the default config files have a ton of commented-out options, many of which I doubt I'll ever use. After saving the default file as a backup and tweaking my ...
-2
votes
3answers
2k views

Setting up subdomain on one .com to point to the subdomain on another .com shows cPanel welcome [closed]

I have 2 domains on 2 different servers, using two different sets of nameservers. In the DNS settings for the first TLD, lets say foo.com, I have the @ pointing to server1 which is running a specialty ...
0
votes
1answer
539 views

Can I reset the exim4 configuration to its initial default?

I have an Ubuntu 8.04 web server on which I had an exim4 installation. I had e-mail set up with a smarthost, but I changed it to local mail only using dpkg-reconfigure exim4-config The problem is ...