The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
33 views

Ejabberd: restrict registration to specific vhost?

I'd like to configure ejabberd so that registration is only possible on the specified vhost. How to enable registration only on xmpp.example.com and restrict access to example.com to admins who ...
0
votes
1answer
61 views

Nginx Server Block Config

I'm having a problem with my nginx configuration. I have several virtual hosts on the same server. However, I'm attempting to add another virtual host, this one being an SSL website. The website ...
-1
votes
1answer
53 views

Complex Nginx Vhost Config

I tried whole day to make an nginx vhost config to acomplish my needs but i make it wrong all the time. Here is what i need to do. I have a server in which i stream Movies & Live Streams. The ...
0
votes
1answer
22 views

vhost configuration to control access

Link that works: http://me.em360send.com/login/forgotPassword Link on the same server (IP address) does not work: http://54.86.5.204/login/forgotPassword As per access log, one request is ...
1
vote
1answer
94 views

Nginx https vhost capering all requests

I am trying to setup a gitlab instance along an own cloud instance on the same server. Both work fine over http, and both work fine over https if one one host is enabled. The weird thing is that the ...
1
vote
1answer
103 views

apache config - vhost item listed but cannot be found

I'm using Ubuntu 14.04, with Apache installed by tasksel. apache2ctl -S says www.ijiameng.com exist in different conf files, in which default has higher priority, as below: ...
0
votes
0answers
48 views

Nginx vhost cakephp multi apps

Hi I have two cakephp webistes with directory structure: /var/www/belledecor.local/ +app +admin +Vendor +bin +cakephp +composer +autoload.php app is webiste ...
1
vote
1answer
142 views

Password protect vhost virtual document root

I have the following setup for automatically generating subdomains/virtual document roots configured in /etc/apache2/apache2.conf (running on Debian 7.0) <VirtualHost *:80> ServerAlias * ...
1
vote
2answers
170 views

How can I tell nginx to serve SSL for one domain only?

Yes, this is something of a duplicate to this question, however, according to the ngnx document "Configuring HTTPS servers" (the section "Single HTTPS Server"), this limitation no longer exists, and ...
1
vote
1answer
88 views

CGI Script not running in PHP file

I have a CGI script in the server called script.cgi and I have added the following code to the domain vhost: Action add-footer /cgi-bin/script.cgi AddHandler add-footer .htm .html I have ...
1
vote
1answer
76 views

Accessing a vhost on a LAN

I have a LAMP server configured to server VHOSTs. The problem here is that when I try to access it through the same LAN, I seem to try and access the local IP address and not the VHOST address. ...
0
votes
0answers
78 views

Redmine on Apache2 - moving passenger docroot + symlinks

I have to upgrade some production servers to ssl, one of them a Redmine host and i don't have experience with apache+passenger. Searches here and other places did not yet provide an answer for my ...
1
vote
2answers
85 views

Redirect all URLs to a single URL

I have a machine foo00 whos CNAME is foo. With nginx I can access my site from the following URLs: foo/ foo00/ foo.domain.local/ foo00.domain.local/ How can I configure nginx so that all are ...
-1
votes
2answers
79 views

How to bind munin to use a vhost or port number?

Currently I'am able to access my munin setup using the default url. www.mydomain.com/munin For security reasons, I want to only allow Munin to be access using port number. Like this ...
1
vote
1answer
133 views

nginx SSL with bare domain and wildcard

This is turning out to be an annoying problem that I'm hoping someone can help me with. To start, I run my own CA, so I'm doing self-signed certs; I can do anything I need with them using openssl. I ...
0
votes
1answer
60 views

Nginx load balancing based on vhosts

Well, I've a setup with 1 load balancers and 2 backends (with nginx). They are both serving two website, beta.xxx.fr and xxx.fr. I want my load balancer to serve both websites. Have you got any idea ...
-1
votes
1answer
46 views

Apache2 vhosts won't work [closed]

i'm trying to setup correctly a vhost under apache2. I'm running Suse 11.3. What i'm trying is: Add row to /etc/hosts 127.0.0.1 my.vhost.domain Create file.conf under vhosts.d <VirtualHost ...
0
votes
1answer
37 views

Multiple Apache Auth User Files

I have multiple vhosts on a host running apache. It is a test system and I would like to give users "basic authentication" access to their sites. For this I have a vhost file with basic auth ...
0
votes
1answer
328 views

Apache2 server (behind Zyxel USG 100 NAT/Firewall) with vhost does not log real clients ip addresses

SOLVED To allow the Zyxel USG 100's NAT to forward untouched packets to my web server i edited the policy route of the Zyxel. Zyxel -> Configuration -> Network ->Routing -> Policy Route ...
2
votes
3answers
2k views

Dynamic vhost giving 403 forbidden on OSX Apache

I have followed this guide and am trying to create dynamic vhosts on OSX by allowing foo.dev to direct to the web folder /foo. My difference being that I am using ~/Sites as my web folder instead of ...
0
votes
1answer
144 views

ClamAV not installed. ClamAV is already installed

Re-Edit: After lots of Googling, lots of tracing, lots of tinkering with the nginx.conf & /vhosts - It came down to an error message saying ClamAV was not up to date. Running clamscan told me ...
0
votes
0answers
379 views

2-way SSL with apache forward proxy

I'm working to set up Apache as a forward proxy with a client that uses 2-way SSL. The basic flow is myApplication --via http--> Apache proxy --via 2 way SSL--> client. After setting everything up, ...
1
vote
1answer
35 views

Compare usage of multiple domains for a single website (Apache)

What would be the most efficient way to compare the usage of multiple domains that are all bound to the same Apache vHost? What I want to know is which domains are used often to access the website and ...
1
vote
1answer
108 views

trying to setup vhost in nginx, domain pointing to default

So I'm trying to learn some web server configuration stuff. I've successfully installed nginx with php, and so on. I was in the process of trying to point my domain to my VPS, and that portion is also ...
0
votes
2answers
103 views

Apache access only to hostname not ip

Does anyone know is it possible to setup apache vhost in a following way: if user access to www.example.com then vhost takes it to /www/example.com if user access to www.example2.com then vhost ...
1
vote
1answer
810 views

Regular expressions in server_name with Nginx vhost

I have something I'm trying to do with Nginx. Say I have a few users and a subdomain, and each user has a directory at /home/dev/sites/USER_ID. I would like for USER_ID.dev.example.com to point to ...
1
vote
2answers
63 views

Does vhost order make a difference?

On our Centos webserver, Apache has a httpd.conf file which lists several vhost.conf files. We have five of these files for different sets of domains. One vhost.conf file can have hundreds of domains, ...
1
vote
1answer
441 views

Dynamic variable SetEnv vhost Ubuntu Apache2

I apologize if this question has already been asked. I am looking for a solution to make SetEnv use the %2 variable. Is that even possible? My vhost: <VirtualHost *:80> ServerName ...
0
votes
1answer
51 views

Ubuntu Apache2 vhost configuration

I am new to apache2 and I am getting some trouble configuring apache2 on Ubuntu Server 12.04 LTS. All the subdomain are pointing to the default one. Here is my objectives: domain.com -> MAIN SITE ...
1
vote
0answers
218 views

vhost working but not finding index.php

Its my first time that i have a vserver with plesk - i always deleted plesk and worked without it because i didnt liked it but now i try with and it doesnt work as i want it. installed magento here: ...
0
votes
3answers
132 views

Mass virtual hosting: map any portnumber to own domain name

I need to define rule (using mod_rewrite i think) to map any port to portnumber.domain.com. How to do that in Apache2 ? Now i have one config for each port number like below. # 9003.domain.com ...
0
votes
2answers
69 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
1answer
124 views

CentOS 6 & Apache2.2 VHost Configurations

I have a personal VPS configured to host two domains that I purchased, I managed to configure Apache correctly and get both domains able to point to their own directories and show correctly. I want ...
1
vote
2answers
43 views

Testing vhost config

I've been battling to get a vhost config working on an internal development server at work. I have found other vhost configs in the site-available directory. For some reason, I can't see why my new ...
1
vote
1answer
1k views

Virtual Host on a sub directory

I m working on a Zend web project and there a requirement that it works that it works good on top domain, and on a domain+directory paths like this: www.myDomain.com ...
0
votes
1answer
29 views

It is known that apache resolves foo.com even if as named virtual host only beta.foo.com exists?

The only virtual hosts i have are: <VirtualHost *:80> DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> ...
2
votes
1answer
123 views

Not all .htaccess files are read

I have used MAMP and Ubuntu server for years but have recently tried to use the built-in Apache Server on Mac OS X 10.7.5. My problem is some of my .htaccess files are being read and some are not. I ...
0
votes
1answer
89 views

Deny access to root directory while allowing access to the DirectoryIndex for default page

I am trying to deny access to the root directory while allowing access to certain files (ending in .html and .js) and specifying a DirectoryIndex so requests for the directory will respond with a ...
-1
votes
2answers
107 views

nginx vhost location parameters [closed]

I just transfered a website to a new server; here is my sites conf (vhost) in nginx and the last 2 entries from error.log . The images are not displaying when the index.php loads. regars, server ...
3
votes
4answers
2k views

How to disable https access to specific virtual hosts?

Alright, so I have an Apache server set up with the following directives: NameVirtualHost *:80 <VirtualHost *:80> ServerName example1.com ServerAlias www.example1.com DocumentRoot ...
0
votes
2answers
183 views

setting up a vhost alias with a wildcard for domain and document root - doc root not parsed correctly

I only have a fuzzy idea of the correct terminology to use in this question so please feel free to help me by clarifying it. I have a vhost setup. The idea is that I want a wildcard to route all ...
0
votes
1answer
83 views

Make Nginx point to vhost when visiting server via its IP address

I have a newly set up VPS running Nginx on Ubuntu. Currently when I visit my server's IP (e.g. http://123.123.123.123) it shows the contents of /usr/share/nginx/www. My only vhost (mydomain.com) is ...
2
votes
1answer
158 views

apache vhost config so that _default_ goes to another IP

hi I have 3 apache servers but one inbound ip with one port 80 to listen on. all port 80 traffice goes to 192.168.1.10. But I want to vhost to send certaindomains like www.mydomain.co.uk to the local ...
1
vote
2answers
249 views

how do I reverseproxy the hostname of a subdomain to a different domainname?

I want to reverseproxy a subdomain to another domainname with the same hostname. Example: fitzefatze.sourcedomain.com should get the content of: fitzefatze.targetdomain.com This should be dynamic, ...
3
votes
3answers
2k views

Dynamic nginx domain root path based on hostname?

I am trying to setup my development nginx/PHP server with a basic master/catch-all vhost config so that I can created unlimited ___.framework.loc domains as needed. server { listen 80; ...
0
votes
1answer
563 views

Disallow everything in directory except subdirectories with certain name using .htaccess or vhost.conf

How can I disallow everything in a directory except any subdirectories that have a certain name using htaccess or even vhost.conf for the site? I have a protected main directory which contains ...
0
votes
1answer
159 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. ...
1
vote
1answer
175 views

Virtualhosts not working on guest VM accessed via host

I have a Windows 7 host machine running VirtualBox (v4.122) and a guest VM of Kubuntu 12.04 running Apache2. I can access the Apache server from the host machine but it will only load the default ...
2
votes
0answers
291 views

nginx 2 symfony2 web application, one ip no domain

I have irritating with nginx. I set up in /usr/share/nginx/www/firstapp one application and in /usr/share/nginx/www/secondapp. in my default conf i setup that in / root localization i want first ...
2
votes
1answer
330 views

Handling site not found and page not found with dynamic mass virtual hosting

I have recently setup mass virtual hosting in Apache so that all we need to do is create a directory to create a new vhost. We're then also using wildcard DNS to map all subdomains to the server ...