Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Creating a virtual host


HI,

these are my steps:

- I have installed apache2 (apt-get install apache2).

- I have created /etc/apache2/sites-available/tirengarfio.com with this content:

Code:

<VirtualHost *>
ServerName tirengarfio.com
DocumentRoot /var/www/rs2/web

Alias /sf /var/www/rs2/lib/vendor/symfony/data/web/sf
<Directory "/var/www/rs2/lib/vendor/symfony/data/web/sf">
AllowOverride All
Allow from All
</Directory>
<Directory "/var/www/rs2/web">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>

- I have enabled the site and check that the symbolic link is in /etc/apache2/sites-enabled

- I restart and reload apache.

- I have an index.php file in /var/www/rs2/web

When i go to tirengarfio.com it shows "It works" instead of the content of /var/www/rs2/web/index.php

Any idea?

Regards

Javi
View Original Thread
Comments
0
Be the first to comment

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect
avatar
Tags: allow, allowoverride
nginx virtual host management
Jul 17, 2010
Are there recipes in puppet to deal with configuring nginx virtual host files? Ideally they'd be parameterized..

Recommended way to setup Virtual Host
Jun 7, 2010
Hi, Can anyone tell me the recommended way to setup Virtual Host with one Physical IP on the server and multiple domains. ? Name Based Virtual Host Vs IP Based Virtual Host what is the best to choose/ Regards Nasir

still see .htaccess and .htpasswd trough virtual host
Jul 8, 2010
Hello list, I have become little confused and hope to get some help. I have a suse 11.2 server running Apache/2.2.10 (Linux/SUSE) with some virtual hosts. I already have the following in httpd.conf file `````````````` AccessFileName .htaccess …

Setting Up Virtual Host Help Needed on WinXP
Jun 3, 2010
Howdy, I'm new to Apache web server. I have installed Apache 2.2.15 on my Windows development computer to become familiar with using it to run my web sites locally. The live production server will run them on a linux box under Apache, so I want…

users@httpd] virtual host failure on SUSE
May 24, 2010
I've had this problem before and fixed it but can't remember what the fix was :( I've got a couple of virtual sites on an SUSE server which I've just updated and now what was perfectly functional is not working. fbwiki.lsces.co.uk was showing …

Tomcat 6 | Load Balancer IP configuration added as virtual host
Aug 12, 2010
Hi, I have an active-passive configuration of tomcat 6.0.18 running an ebxml based B2B gateway solution. The server is configured to run on port 8443 with a with a Cisco loadbalancer in front configured to NAT request received over 443 port (only…

Re: apr_dbd: Support for multiple database connections from the same virtual host
Jun 9, 2010
Topic up On Fri, May 21, 2010 at 1:07 AM, Marko Kevac <ma### @kevac.org> wrote: > Can someone comment on this, pls? > > On Mon, May 17, 2010 at 12:28 PM, Marko Kevac <ma### @kevac.org> wrote: >>…

Updated: (SLING-1513) allow host-specific rendering for virtual hosts. "Multitenancy Support"
Aug 13, 2010
[ https://issues.apache.org/jira/browse/SLING-1513?page=com.atlassian.ji ra.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-1513:

svn commit: r964722 - in /tomcat/trunk/webapps: docs/changelog.xml host-manager/WEB-INF/web.xml host-manager/index.jsp manager/WEB-INF/web.xml manager
Jul 16, 2010
Author: markt Date: Fri Jul 16 09:09:44 2010 New Revision: 964722 URL: http://svn.apache.org/viewvc?rev=964722&view=rev Log: As suggested on the users list, add redirects to the HTML interface to the root of the host-manager and manager…

Tomcat 6.0 always uses default host in multi-host config
May 25, 2010
I have two IP-based virtual hosts configured in a standalone Tomcat server. Each host has its own SSL certificate and keystore. Tomcat appears to behave as if only the default host is defined. When I hit seconddomain.com, Tomcat serves the ROOT…