apache - How do I create the project outside the /var/www/ directory? -
i've ubuntu server static ip testing purpose, i'd create project (for example hello-world) outside /var/www/ directory, let's in location(/home/username/webroot/hello-world/). should accessible via browser http://xxx.xxx.xxx.xxx/hello-world/ how do this?
i use alias:
alias /hello-world /home/www/foo <directory "/home/www/foo"> options -multiviews -followsymlinks +symlinksifownermatch allowoverride </directory>
Comments
Post a Comment