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

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -