Find the answer to your Linux question:
Results 1 to 3 of 3
I keep getting a 403 error when I try to access www.mydomain.com , using this dynamic-vhosts.conf Code: UseCanonicalName Off <Directory ~ "/var/www/*/htdocs"> AllowOverride FileInfo AuthConfig Limit Options MultiViews SymLinksIfOwnerMatch +ExecCGI ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    2

    Apache 2 dynamic-vhosts


    I keep getting a 403 error when I try to access www.mydomain.com, using this dynamic-vhosts.conf

    Code:
    UseCanonicalName Off
    
    <Directory ~ "/var/www/*/htdocs">
        AllowOverride FileInfo AuthConfig Limit
        Options MultiViews SymLinksIfOwnerMatch +ExecCGI
        <Limit GET POST OPTIONS PROPFIND>
            Order allow,deny
            Allow from all
        </Limit>
        <LimitExcept GET POST OPTIONS PROPFIND>
            Order deny,allow
            Deny from all
        </LimitExcept>
    </Directory>
    
    VirtualDocumentRoot /var/www/%0/htdocs
    
    RewriteEngine On
    
    Setenv VLOG /var/log/apache2/
    RewriteCond %&#123;REQUEST_METHOD&#125; ^&#40;TRACE|TRACK&#41;
    RewriteRule .* - &#91;F&#93;
    why is this happening???

  2. #2
    Just Joined!
    Join Date
    Feb 2005
    Location
    Scotland
    Posts
    13
    Maybe you would like to read this thread Here which helped me set my server up.


  3. #3
    Just Joined!
    Join Date
    Jul 2004
    Posts
    2
    thanks but I know how to setup vhosts.conf, i am trying to set up dynamic vhosts

Posting Permissions

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