Apache alias directive


#1

Hello,

did anyone manage to get the Alias directive from mod_alias working with shared hosting?

thanks, jure


#2

Alias can only be used in the global Apache config or within a VirtualHost container. For obvious reasons, you don’t get access to those in a shared hosting environment.

I’ve found that symlinks provide a workable, albeit not as clean, substitute for proper aliases. Alternately, you can set aliases using the panel (see Remap sub-directory).


If you want useful replies, ask smart questions.


#3

Thank you.