I was wondering what would be the equivalent of Alias in the new httpd.conf

For example, I have

Alias /Microsoft-Server-ActiveSync /var/www/htdocs/horde/rpc.php

in /var/www/conf/httpd.conf with apache-httpd-openbsd-1.3.20140502p4.

With the new httpd, I tried stuff like

location "/Microsoft-Server-ActiveSync" {
    block return 301 "http://$SERVER_NAME/horde/rpc.php";
    fastcgi socket "/run/php-fpm.sock"
    }

in /etc/httpd.conf but that did not work. Not sure whether there is a different 3xx code that should be used instead of the permanent redirection.

Please let me know if you could point me to any examples that would be the equivalent of Alias.

Thanks very much,

Vijay

--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca

Reply via email to