0
votes
0answers
20 views

CenOS 6.5 Apache 2.2 Django Project gives / 403

I have Apache 2.2 running over CentOS 6.5 for first time. I faced no problem with Ubuntu with configurations below, but on CentOS always giving me 403 error. The example.com domain is living under ...
1
vote
1answer
52 views

Apache Auth directive cascade to alias directories

I have a reasonably lengthy block of authorization config directives within an Apache <Directory> context in a virtual host configuration file. It has LDAP credentials and a complex filter that ...
1
vote
2answers
75 views

difference between _default_:* and *:* in VirtualHost Context

I want to know the difference between "default:*" and "*:*" in VirtualHost Context. <VirtualHost _default_:*> #... ServerName host.example.com #... </VirtualHost> ...
0
votes
3answers
81 views

How to access web page on a server using the IP 10.0.0.3?

I have three internal servers that will never have any connection to the internet. I've had to build a local yum repo to set them up with tools like bugzilla and the like. However, all three are ...
-1
votes
1answer
72 views

Running Multiple sites with multiple domains apache

I am having a rough time running apache and using multiple domain names here is a snippet of my config file. I keep getting a error saying that NameVirtualHost has no VirtualHosts. I want them both ...
0
votes
1answer
79 views

Virtual hosts only working for 2/4 directories?

I am running CentOS 6.2 and I have in httpd.conf the following: <VirtualHost *:80> ServerAdmin user@example.co.uk DocumentRoot /var/www/html/example.co.uk/public ServerName ...
1
vote
2answers
138 views

How do I setup VirtualHosts to point two ports on same IP to different ServerNames?

I have set up the wiki software Gitit to run on two separate ports of the same Apache server (ports 1848 and 4000). I've confirmed that they are running. Now I want to proxy these two sites to ...
0
votes
0answers
928 views

Apache not writing to log files with virtual hosts

I have two virtual hosts on different ports. Here is what the config file looks like (roughly): <VirtualHost *:80> ServerName www.example.com Alias /favicon.ico ...
0
votes
1answer
170 views

Checking problems with running a new site on CentOS

I have an empty CentOS 6.3 box. I need to run multiple websites from this server. Things that I have done so far are: Installed Apache, MySQL, PHP and PHP modules by following this article. I ...
1
vote
1answer
58 views

How to set Directory for a specific country in Apache

So I need to set a VirtualHost that have one domain to route clients to different applications depending on their IP address. For example I want an american user that visits example.com to be served ...
0
votes
3answers
108 views

NameVirtualHost bad behavior on 2 IPs and 3 DocumentRoot

I have the next apache virtualhosts and NameVirtualHost settings: NameVirtualHost 10.100.106.89 <VirtualHost 10.100.106.89> DocumentRoot ...
-1
votes
2answers
140 views

Apache httpd VirtualHost config - multiple sites

[Advised to post here from StackExchange] I have a site to work on, because of the way the URLs are built the application seems to have been created on the assumption that it will be at the server ...
0
votes
1answer
501 views

Two virtual hosts with internal and external ip for same application, same port

Is it possible to have two virtual host configurations for the same server - one with internal ip address and one with domain name(the domain name points to the same server with the internal ip ...
0
votes
0answers
151 views

Want to deploy two sites unig a linux/centos server

Hello I want to deploy two sites. One called drupal, and another site called drupal-gh. Currently, I can only make one site only work at a time - but I need both. This is because when I deploy a site, ...
0
votes
2answers
89 views

Unable to get mod_rewrite to stop processing

This is linked to Rewriting subdomain.domain.com when other 'subdomains' exist I need mod_rewrite to 'stop' processing, but it seems to continue on. On my registrar, I've set A records as: ...
0
votes
1answer
172 views

Rewriting subdomain.domain.com when other 'subdomains' exist

My httpd.conf looks like this: NameVirtualHost 12.34.56.78:80 <VirtualHost 12.34.56.78:80> DocumentRoot /var/www/html/site ServerName www.example.com <IfModule mod_rewrite.c> ...
1
vote
1answer
176 views

Virtual Host configuration, Apache httpd running on non 80 port

I am trying to configure a virtual host on my Windows machine using Apache and HOSTS file combination. For example, I want www.example.com to be served from my server at localhost. However, port 80 ...
0
votes
2answers
40 views

Setting http://domain and http://ip to show different directories

Can someone tell me what httpd.conf settings I need to acomplish this? When in browser I access http://IP I want to show: /var/www/html/ And when I access http://domain I want to show ...
3
votes
5answers
266 views

Apache 1 virtual host definition listening on 2 ips - how?

We have a couple of complex virtual host definitions in our httpd.conf file. What I mean by that is: <VirtualHost .....> .... </VirtualHost> What I mean by complex is that they are ...
0
votes
1answer
176 views

Can't access apache after changing ports to non-80

I don't know what's wrong, I just changed /etc/httpd/conf/httpd.conf and now I can't access it from non-loopback address. After the change: Listen 2999 <VirtualHost *:*> DocumentRoot ...
0
votes
1answer
101 views

Setting up a virtual host on Linux

I'm setting up a virtual host on a linux machine. I've already made necessary DNS changes and they have propagated and are working correctly. There are many other virtual hosts setup in my ...
1
vote
1answer
127 views

Apache VHost Configuration Precedence?

So I have 2 configuration files. mysite.conf <VirtualHost *:80> ServerName www.mysite.com ServerAlias mysite.com *.mysite.com DocumentRoot ...
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: ...
0
votes
2answers
272 views

Apache2: not defined domains directing to the same virtual host

I have Apache2 configured in a debian box with virtual hosts. I have several domains pointing to the box's IP address. The domains whose virtual hosts are configured works perfectly. But if I type in ...
0
votes
1answer
110 views

Having Apache access to multiple folders in Windows Server 2008

I am modifying an existing Apache setup on a Windows machine to allow access to multiple directories and have hit a small obstacle due to confusion. I have the main root directory in which the web ...
0
votes
1answer
415 views

Only my default Virtual Host will execute PHP scripts--500 error otherwise

This should be a simple thing to find, but I've spent over an hour on it--time to ask for some assistance. I have a very basic CentOS 5.5 box running two virtual machines. The first machine has been ...
1
vote
1answer
244 views

Directory inside or outside VirtualHosts?

Is there a difference between putting Directory tags inside or outside VirtualHosts? I found a configuration file that has several VirtualHosts all with the same Directory tag inside, and the same ...
1
vote
3answers
740 views

httpd.conf / VirtualHost configuration problem for blog.example.com

I have a site located at /var/www/html/ which works fine. I'm now trying to setup "blog.example.com" by adding the following entry in httpd.conf Setup1 <VirtualHost *:80> DocumentRoot ...
0
votes
1answer
1k views

cPanel WHM virtualhost sample

Could anyone possible post a virtual host sample from a working httpd server, if possible with the most features enabled (like suPHP, suExec, php directives such as engine on off and others) ? The ...
0
votes
2answers
776 views

Apache httpd.conf: Multiple virtualhosts on a single ip

We have a local development server we have setup on a comcast business class connection with a single static ip. This is all routed through a DIR 655 router. Our issue is as follows: We have our main ...
2
votes
1answer
822 views

Apache Name-based Virtual Hosts - configuring httpd.conf file

I am running a web app on Tomcat at the following location on my server. /var/tomcat/webapps/SoccerApp I am looking to update the Tomcat httpd.conf file with the following virtual host... ...
0
votes
1answer
690 views

Overlapping Virtualhost on port 80

On my clients web server, he has this apache conf file: *rails_passenger_conf* Listen *:80 <VirtualHost *:80> # rails public folder DocumentRoot /www/myclientdomain.com/public ...
0
votes
3answers
444 views

Apache 2.2 localhost VirtualHosts problems

I am trying to setup my dev machine with virtual hosts so I can access my development projects with a simple url, like http:// project.dev/ rather that a whole http:// ...