Is mod_alias enabled? I’m trying to use the Alias command in my .htaccess files, and it doesn’t seem to be working.
No, mod_alias is not enabled on our servers. However, most things which can be done with mod_alias can be done with mod_rewrite instead, which is installed on our servers.
Alright. Thanks. You might consider changing that, as, while it’s true that mod_rewrite can do everything mod_alias does, mod_alias does it with less server overhead, to my understanding. And the scripts are much easier to write.
except you can’t. “Alias may only be used in server or virtualhost context, and not in a .htaccess file.” Well, harrumph.
@Calion said:
except you can’t. “Alias may only be used in server or virtualhost context, and not in a .htaccess file.” Well, harrumph.
That would explain why a relatively harmless module is not enabled on any shared hosting service. So I’m afraid that mod_rewrite will have to do for now.