"Alias not allowed here" error

Discussion in 'Server Operation' started by Been Told, Jan 20, 2009.

  1. Been Told

    Been Told Member

    Hi there,
    I am installing a mediawiki and in order to allow for pretty URLs I have to use a htaccess file with this content:
    Code:
    Alias /wiki /var/www/web25/web/w/index.php
    The error log says:
    Code:
    [Tue Jan 20 14:00:54 2009] [alert] [client X.X.X.X] /var/www/web25/web/.htaccess: Alias not allowed here
    In /etc/apache2/apache2.conf I have:
    Code:
    <Directory /var/www/*/web>
        Options +Includes -Indexes
        [B]AllowOverride All[/B]
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        <Files ~ "^\.ht">
        Deny from all
        </Files>
    </Directory>
    What am I doing wrong? The setup in question is the Root server in my signature.
     
  2. Been Told

    Been Told Member

    Okay, I just inserted the Alias statement in the Apache Directives in ISPconfig... The Alias seems to work now.
     

Share This Page