¿Apache Alias ​​también funciona con variables mod_vhost_alias?

I'm using mod_vhost_alias for Apache to dynamically use vhosts and documentroots which works fine... But now I'm trying to add an alias to another directory somewhere within the dynamic allocated directories but I can't get it to work...

Esto es lo que tengo:

<VirtualHost *:80>
    ServerName project.dev.testdomain.com
    ServerAlias *.project.dev.testdomain.com

    UseCanonicalName Off
    VirtualDocumentRoot /home/%-5/www/%-4/subdir/httpdocs



    Alias /images/ "/home/%-5/www/%-4/subdir/latest/images/"
</VirtualHost>

In error log it just shows: File does not exist: /home/%-5

Por favor avise...

preguntado el 28 de agosto de 12 a las 10:08

Tried it without quotes as well... No luck... -

Hey ho, I'm kind of having a similar issue. Did you make any progress on the topic? -

Sorry but no, I got stuck doing other stuff and I moved away from Apache to Nginx altogether :S This is as far as I got back then... -

0 Respuestas

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.