The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
148 views

Individual Authenticator (Daemon) for Apache Wildcard-VHosts

In our development environment we're using the following VHost-Configuration for the majority of our projects: <VirtualHost *> ServerName misc.webdev.local ServerAlias *.webdev.local ...
2
votes
2answers
444 views

Multiple SSL Certs 1 IP Port Redirection

So I have been trying to figure out how to setup multiple ssl sites using only 1 ip. The issue that I am seeing is when you have multiple vhosts using ssl the first site that has ssl is the one that ...
0
votes
2answers
1k views

Setting up simple vhost on lighttpd

I've recently installed Lighttpd on Ubuntu 10.04. I used the standard concfig file without modification and placed my content in /var/www. I opened a browser typed in the URL www.myexample.co.uk and ...
1
vote
2answers
229 views

Apache VHOST: host vs. IP

I have the following Apache config: ServerName mydomain.com <VirtualHost 1.2.3.4:80> # contains my IP NameVirtualHost 1.2.3.4 # contains my IP ServerName mydomain.com ...
0
votes
1answer
745 views

Plesk vhost.conf changes

Can I permanently change the "httpdocs" in Plesk? I want the DocumentRoot to change from /var/www/vhost/<domain>/httpdocs to /var/www/vhost/<domain>/web/htdocs At the moment I am making ...
0
votes
2answers
490 views

PHP scripts displaying raw source when accessed through an alias (apache)

I have a server with a few different domains on it (each in a separate VHost). Each VHost runs fine, executing PHP properly, etc. For the sake of example, two of the domains are foo.com and bar.com. ...
0
votes
2answers
336 views

Need to disable sub-subdomain in vHost or .htaccess

Several of my clients created an "A" record to point a sub domain of their site to my server. E.g., http://subdomain.clientsite.com points to my IP address. This works fine. However, if I manually ...
0
votes
2answers
517 views

HAProxy to the rescue? (multiple machines w. vhosts)

This is more of a 'best practice' or 'input appreciated' question. Currently we manage about 5 webservers (in two DC's) that run Nginx for PHP websites. The plan is to redesign the setup so it is ...
0
votes
1answer
358 views

permission 403 error

I switched from opensuse yesterday and i'm trying to configure the personal pc. In opensuse was pretty easy because i only needed to use the yast. Now: I've got 403 error Forbidden You dont have ...
1
vote
2answers
148 views

What is the best way to manage an Apache Virtualhost Config?

i currently want a customer to manage his virtualhosts on his own. This should be done by some kind of web interface where even someone without much technical expertise can manage it. I was looking ...
0
votes
1answer
168 views

WebHost Manager - Apache's VHost isn't matching the DNS entry

I've used CPanel's WebHost Manager to create a new host on my VPS. I then used my HOSTS file to point fake.com to the relevant IP address. The problem I'm having now is, Apache isn't recognizing the ...
2
votes
1answer
831 views

Apache serving different directory

I have defined a single vhost configuration (see below) for a domain. All HTML files in the root get served properly. But I can't access any files within a particular sub-directory called 'icons'. ...
0
votes
1answer
900 views

Using URL within Vhost container with mod_perl dynamically

We want to retrieve URL and use it inside our vhosts, realtime. To demonstrate my case, I placed random numbers on ServerAdmin directive, $ServerAdmin = int(rand(100))."loko\@koko.com"; As you ...
0
votes
3answers
2k views

Using variables within Apache virtualhost containers

If request is coming from http://xxx.domain.com, i want to be able to say; DocumentRoot /home/${SUBDOMAIN_NAME} so that Virtual host's DocumentRoot will be assigned to /home/xxx Any way I can ...
1
vote
3answers
237 views

Sometimes Apache outputs the PHP sourcecode

I have quite a strange problem with my Apache server. I have two files containing <?php phpinfo(); ?>. They are both placed on the same server, however in different vhosts. The vhosts look like ...
0
votes
4answers
298 views

DocumentRoot set to /var/www2, and i get 403 Forbidden

originally i had the virtual host inside /var/www/dir which worked well. However, i wanted to separate this site from the other, so i create /var/www2/ i set DocumentRoot to /var/www2/ now when i ...
3
votes
1answer
277 views

Apache virtual hosts

I have a number of virtual hosts in my apache installation. I have two IP adresses that I use, one for SSL only. My default virtual host is like this: NameVirtualHost * <VirtualHost *:80> ... ...
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 ...
1
vote
1answer
746 views

How to set default site for IP access on apache vhost environment?

I have a vhost environment on Debian Linux with Apache running. It runs fine but I couldn't figure out how to set up a default site for requests that go directly to the servers IP instead of a domain ...
2
votes
4answers
3k views

mod_rewrite not adding REDIRECT_URL environment variable

We run a site based on Zend Framework using apache httpd (2.2) with mod_rewrite for SEO and usability friendly URL:s. Recently we added mod_proxy (and mod_proxy_balancer, mod_proxy_http, mod_rpaf) for ...
2
votes
4answers
10k views

ssl_error_handshake_failure_alert with Commercial CA-based client certificate

Attempting to implement client authentication with an SSL cert. http://www.modssl.org/docs/2.8/ssl_howto.html#auth-selective Receive the following errors. Apache: Re-negotiation handshake failed: ...
4
votes
3answers
2k views

Dynamic Virtual Hosts In Apache

My httpd-vhosts.conf file looks like this: <VirtualHost *:80> DocumentRoot "/www/foo/htdocs" ServerName foo </VirtualHost> <VirtualHost *:80> DocumentRoot "/www/bar/htdocs" ...
2
votes
1answer
2k views

What is the logic behind VirtualHost / NameVirtualHost

I understand the concepts of name-based virtual hosts (i.e. serving two domain names differently) and ip-based virtual hosts (i.e. a serving two ip's differently) But... Should I always specify an ...