interfasys
Verified User
Problem #1
On /var/www/html, only folders with a ProxyPassMatch directive will work. Putting a rule on /var/www/html directly will kill all websites and without it, scripts at the root will get a 404
Problem #2
Aliases don't work if calling the server's hostname directly (404), regardless of problem #1, but they do work from customers' domains.
where the first part is virtual and the second one real
Problem #3
Rewrite rules for /var/www/html don't work, they always give a 404, regardless of problem #1
On /var/www/html, only folders with a ProxyPassMatch directive will work. Putting a rule on /var/www/html directly will kill all websites and without it, scripts at the root will get a 404
Problem #2
Aliases don't work if calling the server's hostname directly (404), regardless of problem #1, but they do work from customers' domains.
Code:
Alias /autodiscover/autodiscover.xml /var/www/html/webmail/rpc.php
Problem #3
Rewrite rules for /var/www/html don't work, they always give a 404, regardless of problem #1
Code:
RewriteEngine On
RewriteRule ^/Microsoft-Server-ActiveSync /webmail/rpc.php [PT,L,QSA]
Last edited: