Find the answer to your Linux question:
Results 1 to 2 of 2
Ok, I have one server, three addresses: xscape.to sterling.xscape.to kari.xscape.to Now, when I try to access http://sterling.xscape.to I get this . I havn't bother setting up http://kari.xscape.to until I get ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2002
    Posts
    40

    Apache VirtualNameServers


    Ok, I have one server, three addresses:
    • xscape.to
      sterling.xscape.to
      kari.xscape.to

    Now, when I try to access http://sterling.xscape.to I get this. I havn't bother setting up http://kari.xscape.to until I get this one working. Anyway, 403 Forbidden... I don't get it.

    Here is my vhost.conf.

    Code:
    NameVirtualHost *:80
    
    <VirtualHost *&#58;80>
    ServerName xscape.to
    ServerAlias www.xscape.to
    DocumentRoot /var/www/localhost/htdocs/
    </VirtualHost>
    
    <VirtualHost *&#58;80>
    ServerName sterling.xscape.to
    DocumentRoot /var/www/sterling/
    </VirtualHost>
    
    <VirtualHost *&#58;80>
    ServerName kari.xscape.to
    DocumentRoot /var/www/kari
    
    </VirtualHost>
    Here is the directory structure.

    Code:
    Badger www # ls -la
    total 20
    drwxr-xr-x   5 root root 4096 Jul 28 00&#58;02 .
    drwxr-xr-x  13 root root 4096 Jul  4 03&#58;48 ..
    drwxr-xr-x   2 root root 4096 Jul 28 00&#58;02 kari
    drwxr-xr-x   6 root root 4096 Jul  4 03&#58;48 localhost
    drwxr-xr-x   2 root root 4096 Jul 28 00&#58;02 sterling
    As you may have not noticed, www.xscape.to works perfectly well. Any ideas?

  2. #2
    Just Joined!
    Join Date
    Nov 2002
    Posts
    40

    Fixed...

    Well,

    Code:
    <Directory /var/www/sterling/>
    AllowOverride All
    Options MultiViews Indexes Includes FollowSymLinks
    <IfModule mod_access.c>
    Order allow,deny
    Allow from all
    </IfModule>
    </Directory>
    fixed everything.

Posting Permissions

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