We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

running multi copies (one test) on single server(wamp) | Forum

Topic location: Forum home » Support » General Questions
John Woodsmall
John Woodsmall Sep 21 '12

I am trying to run 2 copies of oxwall on different urls same server.

One work just fine as the 1st virtual host in apache.

The second (which was a copy of 1st) does not work and the server reverts to the 1st one.

here is the http.conf (last part)

# Listen for virtual host requests on all IP addresses
NameVirtualHost *:80
Include "c:/wamp/alias/*"
<VirtualHost 89.20.200.69:80>
 ServerName www.earthus.net
 DocumentRoot "c:/wamp/www/oxwall"
# Other directives here
<Directory "C:/wamp/www/oxwall">
 allow from all
 order allow,deny
 AllowOverride All
 DirectoryIndex index.php
</Directory>
</VirtualHost>
<VirtualHost 89.20.200.69:80>
 ServerName www.earthuk.net
 DocumentRoot "c:/wamp/www.test/oxwall"
# Other directives here
<Directory "C:/wamp/www.test/oxwall">
 allow from all
 order allow,deny
 AllowOverride All
 DirectoryIndex index.php
</Directory>
</VirtualHost>

 

any ideas ?

 

 

 

John Woodsmall
John Woodsmall Sep 23 '12

There are two servernames:

earthus.net

and

earthuk.net

 

If I run it on the server as local host...it works (I have installed a simple new oxwall on c:\wamp\www\oxwall_test)

When  I run it from the wamp console on the server (with /ow_includes/config.php:

# define('OW_URL_HOME', 'http://localhost/oxwall.test/');
define('OW_URL_HOME', 'http://www.earthuk.net/');
This system reverts to the 1st url (earthus.net).

If I change it to localhost it works correctly.

 

But If I run it from the web, it reverts to the 1st url.

 

So I have this.

1.) 1st url oxwall works correctly.

2.) 2nd url oxwall_test reverts (goes to) oxwall (above...earthus.net)

 

 

 

 

 

how to setup a subdomain the 2nd path???

 

Here is the modified conf file:

<VirtualHost 89.20.200.69:80>
 ServerName www.earthus.net
 DocumentRoot "c:/wamp/www/oxwall"
# Other directives here
<Directory "C:/wamp/www/oxwall">
 allow from all
 order allow,deny
 AllowOverride All
 DirectoryIndex index.php
</Directory>
</VirtualHost>
<VirtualHost 89.20.200.69:81>
 ServerName www.earthuk.net
 DocumentRoot "c:/wamp/www/oxwall_test"
# Other directives here
<Directory "C:/wamp/www/oxwall_test">
 allow from all
 order allow,deny
 AllowOverride All
 DirectoryIndex index.php
</Directory>
</VirtualHost>

John Woodsmall
John Woodsmall Sep 25 '12

ok

can you logon and fix the problem?

I need you static ip address.

or a range.