0
votes
1answer
73 views

Apache ProxyPass in Dynamic Mass Virtual Hosting

In order to make my life easier with new vhosts popping up I set up my httpd.conf to use this: <IfModule mod_vhost_alias.c> <VirtualHost *:80> RewriteEngine On RewriteCond ...
0
votes
1answer
115 views

Configure Apache To Return Nothing For Default 443 VHost

I have several vhosts on port 443 and each of these vhosts have the ServerName config option set and also the correct SSLCertificateFile and SSLCertificateKeyFile values as well which vary depending ...
0
votes
2answers
51 views

Placeholders for apache2 VirtualHost

I have a conf like this <VirtualHost *:80> VirtualDocumentRoot /Users/molfar/Sites/%-2+ </VirtualHost> I'd like to dynamically set error and access logs paths. I tried the following ...
0
votes
1answer
81 views

Mac OSX 10.8.4 - Apache - Setting up Virtual hosts

I can't seem to get my virtual hosts working: I have an /etc/apache2/users/scottr.conf set up as: <Directory "/Users/scottr/Sites/"> Options Indexes MultiViews FollowSymLinks ...
1
vote
1answer
89 views

What is the best way to compare vhost traffic? [closed]

Recently one of my servers has been subjected to malicious ddos attacks. I have about 12 websites hosted on the server which uses name based v-hosting. I am trying to identify which virtual host(s) ...
0
votes
2answers
60 views

Apache Virtual Host not working on .com domain

I have got a strange problem. I have two domains: mysite.co.uk and mysite.com, which need to point to the same directory on my server. The VHost for mysite.co.uk works perfectly. However, mysite.com ...
0
votes
2answers
207 views

Apache virtualhost strange behaviour

I have multiple domains linked via A-Record to my server. For all of them I created a virtualhost. Some of them run with and without of www. Some have additional subdomains and some have wildcard ...
1
vote
1answer
1k views

Setup a shared Varnish server

Having set up and configured Varnish Cache to handle caching for a single site, I'm looking into expanding the service to cover multiple sites running across multiple webservers, each in turn running ...
0
votes
2answers
35 views

Which hosts file is apache using?

I'm trying to set up apache virtual hosts on my local machine. Since my file system is kind of a mess, I have several hosts files hanging around. Is there a way to determine which hosts file my apache ...
0
votes
1answer
99 views

Apache vhosts configuration

I have big problems trying to figure this out so please help me out. I have several virutal hosts configured and using the Debian default way of configuring vhosts. 2 folders sites-available ...
0
votes
0answers
133 views

Apache Virtual Host loads only one site at a time - 30s timeout

I have an issue with multiple virtual hosts on Apache2 on a default Turnkey Linux LAMP server (Debian Linux 6.0). They work fine, loading both websites, but not at the same time. I have set up two ...
0
votes
1answer
137 views

Multiple domains on same virtual hosts in Apache

I'm working on an application for my clients that allows them to set up small landing pages for their campaigns. I have a set of templates and views for adding text, photos etc to the templates. ...
0
votes
1answer
882 views

Apache vhosts config: Host Name instead of IP Address

I have a domain (example.com) hosted at an external provider. I directed the subdomain sub.example.com to my ubuntu server (12.04 with apache2). On my ubuntu server I have a vhost setup like this. ...
7
votes
3answers
9k views

Apache “Client denied by server configuration”, despite allowing access to directory (vhost configuration)

in Apache on Ubuntu I've set up a vhost, but in the browser I keep getting a "403 Access forbidden" error; the log says "Client denied by server configuration: /home/remix/". Looking for the solution ...
2
votes
4answers
733 views

Managing lots of Apache vhost ServerAliases

So I've got this site that's being served as a virtual host by Apache 2. And it has a metric ton of alternative domain names that are all supposed to resolve to it. Up to now I've handled things like ...
0
votes
1answer
190 views

Apache Wildcard Vhost not working

I can't seem to get a wildcard vhost working on my local apache installation. My vhosts file currently has the contents below. After I edit it, I'm making sure to restart the server but have still had ...
0
votes
2answers
144 views

VirtualHosts with Apache not respecting ServerName

This has always bugged me and I've never got around to figuring out why Apache does this, I always resorted to the mod_vhost plugin to work around the issue. Basically, I have 2 vhosts in ...
0
votes
0answers
195 views

Multiple vhosts on multiple IP addresses

I'm running Ubuntu 11.10, I have two IP addresses assigned to my VPS (Linode). I have followed their guide to enable static addresses (can be found here: ...
1
vote
2answers
410 views

Apache2 virtual hosts ran as different users

I am fairly Apache2 savy, but have been tasked at my job to do the following; Server currently has two vhosts. (Two totally separate clients) I was asked if I could create a user account by which the ...
0
votes
4answers
862 views

Apache2 (XAMPP) virtual hosts directive does not work (apparently)

I'm having a few problems when setting up IP-based virtual hosts. First of all I'm using the current XAMPP from apachefriends (XAMPP 1.7.7 with Apache 2.2.21) on Windows 7. The basic functionality ...
1
vote
1answer
227 views

Website integration: Frame, redirect or virtual domain?

I'm overwhelmed by the many choices one has in website design. I'm probalbly asking something really easy to set up, but since I don't have any experience, I'm looking for help. Current Setup I've ...
0
votes
1answer
106 views

Simply Apache virtual host configuration not working

I'm tying to configure Apache for running phpmyadmin in it's own folder, using phpmyadmin.local server name. I'm not an Apache "guru" and i can't figure out why this is not working. Any help would be ...
0
votes
1answer
998 views

Adding virtual hosts without restarting Apache?

I've got Apache 2.28, on Web-Developer Server Suite, PHP 5.38, MySQL latest version, and have got about 5 virtualhosts. This is my latest virtual host, which was a dynamic one: UseCanonicalName Off ...
0
votes
1answer
103 views

VirtualHost on Apache is not directing correctly

I am running Xampp for a dev server on Windows 7. my windows 7 hosts file @ (C:\Windows\System32\drivers\etc\hosts) has this... 127.0.0.1 www.testing.com testing.com localhost My Apache ...
1
vote
2answers
1k views

apache virtual hosts - server not found for subdomain

I want to set up a subdomain using virtual hosts. I have altered the httpd.conf file as follows, but I get a "can't find server" error when I try to access the url. I'm running Centos 5.5. ...
0
votes
2answers
391 views

Apache name-based vhost (ServerAlias)

I'm currently looking at the apache documentation regarding virtual host. It gives an example on this page: http://httpd.apache.org/docs/2.0/vhosts/name-based.html The example they show is: ...
2
votes
1answer
133 views

Apache vhosts 2 domains

com and .co.uk domains, is it possible to create a virtual host to point to a single directory on the box? At present I have <VirtualHost *:80> ServerName www.domain.co.uk ServerAlias ...
1
vote
1answer
567 views

Apache main site keeps redirecting to virtualhost

I have a website with Apache webserver, which hosts some subdomains too. The problem I face is that once I activate any virtualhost, the main site keeps redirecting to the (yet only) virtualhost I ...
1
vote
1answer
905 views

nginx virtual hosts are not working, all vhosts goes to the default one

I just did a clean install of nginx + php-fpm on a VPS running Ubuntu 10.10, nginx is serving and PHP is working fine, but I'm not able to add vhosts to it. Well, I can add them, but only one works, ...
0
votes
1answer
222 views

Using BIND for virtual hosts?

I've created the following virtual hosts: <VirtualHost *:80> ServerName testingsitehere.com ServerAlias www.testingsitehere.com DocumentRoot ...
1
vote
2answers
193 views

Making Apache Vhost only visible to users

I'm wanting to limit access to several things like PHPMyAdmin to users who are logged in and using SOCKS. To do that I'd like to make a virtual host in Apache. I'm guessing that the basic steps are to ...
1
vote
3answers
1k views

Can't get port based virtual hosts working in Apache2.2 CentOS 5.2, Plesk 8.6

I have installed Google Sitemap Generator on my CentOS server, which is running plesk 8.6. Google Sitemap Generator adds an include to an external conf in my httpd.conf as follows: Listen 8181 ...
0
votes
3answers
113 views

How to get apache to do a virtual host on all IPs except a few

I have around 130 IPs on my linux server. 125 IPs point to one site, and 5 of them point to another. I would like to make just two virtualhost definitions. Currently I am doing a wildcard at the ...
1
vote
2answers
6k views

Apache virtualhost permission denied with several different DocumentRoots tried. What should I try next?

I have a self compiled version of Apache 2 running under Mac OS X Leopard. It's a default install at /usr/local/apache2 and work fine. Today I wanted to add a virtual host so I could access a ...
0
votes
3answers
283 views

Total Wildcard DNS vHosts To 1 File

I'm looking to set a vhosts config so that all domains under ANY ip all point to var/www/index.php so that I can sort them from there... I'm sure this is pretty simple to do but it's hard to search ...