Is there a way to do this? I’d like for my assets to be served from a different document root, and I’m not sure if Apache has directives for that.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To serve whole directories from a different location, there’s
Alias:works in
httpd.confonly, though, if you want to point outside the web root.For specific files there is
AliasMatch.