virtualhost

Multiple virtual hosts - all of those beyond the first are inheriting the DocumentRoot

Hey, I am trying to set up several virtual hosts in my apache httpd.config file. However it seems that if I change them round, they all inherit the DocumentRoot value from the first one. My VirtualHosts are as follows: <VirtualHost customerApp_Global:427> ServerName customerApp_Global DocumentRoot "C:/wamp/www/customerApp_v2" Direc...

Apache on localhost: give virtual hosts specific servers name

Hi, Ok, I ask my question first and below are details of what I have so far trying to solve the thing: On Apache running on localhost, I want to have different virtual hosts that would be accessible through url: http://name-of-the-virtual-host.name-of-the-machine/ Details: So I have Apache running on port 8080 of my laptop. Linux Min...

VirtualHost problem

Dear members, can someone tell me why I can't view my index.php from the subdir /oorbellenboutique/ ??? It shows http:// www.oorbellenboutique.nl/startpagina/index.php but it must be the index.php from f:/inetpub/wwwroot/oorbellenboutique The correct URL must be: http:// www.oorbellenboutique.nl/index.php My DNS is: A *.oorbellenbo...

127.0.0.1 works, localhost not - VH - Zend Ce, Mac

Hi guys, I am having weired problem, after adding my virtual host conf entry localhost is not working (getting forbiden 403) but 127.0.0.1 does (all accessed via browser - http), here you have my conf: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "/MyData/__www/default" ServerName localhost <Location /> Order deny,allow...

VirtualBox networking question

I'm running a dev server on a VirtualBox installation running Windows Server 2003. I'd like to access the virtual machine from my host machine's browser (i.e http://virtualhost/) - anyone know how I can set this up? ...

How to hide awstats url parameters

Hi all, currently in order to access statistics on my site I access this link: www.mysite.org/awstats/awstats.pl?config=awstatsconffile.org all is working fine, but what I want to achieve is simply this: www.mysite.org/stats/ I've created the "sites" directory and inside I've created the .htaccess file but without success. Any idea...

Apache VirtualDocumentRoot best setting

Hi, I want to have a clean, efficient directory setup with VirtualDocumentRoot. (Reference: http://httpd.apache.org/docs/2.0/mod/mod_vhost_alias.html). In particular, I am thinking of the following: 1) http://example.com to be served by /apache_root/example.com 2) http://www.example.com to be served by /apache_root/www/example....