Wordpress and Drupal on vhosts
Posted by: Elefanten (213.236.150.---)
Date: February 25, 2009 05:17PM

Hello !

I have a Wamp server running on a windows 2003 on my local lan, (192.168.1.x)

On this i have Wordpess that is running fine.

I have installed Drupal 6.9 and it works fine, but this site needs to be accesssible from the local LAN from another computer, how do i do this ? I have tried some stuff as you see and i tried to change site information in drupal to 192.168.1.10/brukskvalitet, but when i try from another computer on the LAN
and enter [192.168.1.10] i get the old wordpress with an error instead.

What am i doing wrong or missing ?



Here is my vhost file :


#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#


WORDPRESS

<VirtualHost *:80>


ServerAdmin webmaster@dummy-host.localhost
DocumentRoot "C:/wamp/www/jabbathehutt"
ServerName [www.jabbathehutt.no]
ServerAlias [www.jabbathehutt.no]
ErrorLog "logs/dummy-host.localhost-error.log"
CustomLog "logs/dummy-host.localhost-access.log" common


</VirtualHost>

WAMP ADMIN

<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.localhost
DocumentRoot "C:/wamp/www"
ServerName [localhost]
ErrorLog "logs/dummy-host2.localhost-error.log"
CustomLog "logs/dummy-host2.localhost-access.log" common
</VirtualHost>


DRUPAL

<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.localhost
DocumentRoot "C:/wamp/www/drupalsite1"
ServerName [192.168.1.10]
ErrorLog "logs/dummy-host2.localhost-error.log"
CustomLog "logs/dummy-host2.localhost-access.log" common

</VirtualHost>

Options: ReplyQuote
Re: Wordpress and Drupal on vhosts
Posted by: yfastud (Moderator)
Date: February 26, 2009 12:08AM


Options: ReplyQuote


Sorry, only registered users may post in this forum.