Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined!
    Join Date
    Apr 2006
    Posts
    3

    Thumbs up 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

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Hi, and welcome!
    Linux Mint + IceWM Registered:#371367 New Members: click here

  3. #3
    Linux User Game master pro's Avatar
    Join Date
    Sep 2005
    Location
    Tasmania, australia
    Posts
    274
    Hi, good luck with linuxing

  4. #4
    Just 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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •