Results 1 to 4 of 4
Hi All,
Just wanted to say hi to everyone, and maybe ask where is the best place to ask silly newbie questions?
I'm now in SW Ireland, used to be ...
- 04-22-2006 #1Just Joined!
- Join Date
- Apr 2006
- Posts
- 3
Hi from a newbie
Hi All,
Just wanted to say hi to everyone, and maybe ask where is the best place to ask silly newbie questions?
I'm now in SW Ireland, used to be in the UK until last year.
Just rented myself a Linux server in the middle of London, and thank goodness for wireless broadband!
I'm trying to set up the server with name-based virtual servers using Apache.
I've run a smallholders web site for a couple of years and now I want to move it to 'my' server.
All going OK, except when I come to set up a second server.
Can't even get it to work using ~name.
Bit baffled.
Anyway, good to find a bunch of Linux people, (which I'm not really yet as still using a windowbox to access Webmin).
Now got a 'spare' old laptop which might get Linux put on it, if I can decide which version to go for.
So - Hi All.
Ron
- 04-22-2006 #2
Hi, and welcome!
- 04-22-2006 #3
- 04-22-2006 #4Just Joined!
- Join Date
- Apr 2006
- Posts
- 3
Hi and thanks for the welcome.
The Apache problem is best if I show you the config file...
<VirtualHost www.skingley.org:*>
DocumentRoot /var/www/html/skingley_org/htdocs
ServerName www.skingley.org
ServerAlias skingley.org
<Directory "/var/www/html/skingley_org/htdocs">
allow from all
AllowOverride All
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch
</Directory>
UserDir "."
ServerPath /var/www/html/skingley_org/htdocs
</VirtualHost>
<VirtualHost www.smallholders.org:*>
DocumentRoot /var/www/html/smallholders_org/htdocs
ServerName www.smallholders.org
ServerAlias smallholders.org
<Directory "/var/www/html/smallholders_org/htdocs">
allow from all
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch
AllowOverride All
</Directory>
UserDir "."
ServerPath /var/www/html/smallholders_org/htdocs
</VirtualHost>
As you see there's 2 servers, the first of which works fine, and is the only one to have a DNS entry pointing to it. It works OK using ~name too.
The second, using ~name, displays 'normal' web pages, but ignores .htaccess and any database actions.
Both 'sites' are identicle, for testing purposes, except for the paths in .htaccess and the database names etc.
Any ideas?
Thanks again.
PS just waiting for the last 400Mb of Ubuntu to download!


Reply With Quote
