It's better to have a sub-directory in /var/www for default web files
Bug #273425 reported by
Omid Mottaghi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
It's better to have a sub-directory in /var/www for default web files. Because /var/www is a directory for web sitessss.
For example, I want create two websites for two different users? Or I want to limit access to my own dir? Or ...
I can do all of these now, but its really more structural, to have a directory in the /var/www for default web site. So then if I install a web based application (eg. phpMyAdmin) it creates its link to this default web site directory.
I think that it is a bug!
Changed in apache2: | |
status: | Invalid → Incomplete |
To post a comment you must log in.
/var/www is just the default. If you wish to have multiple websites for different users then you need to take a look at virtual hosts.
https:/ /help.ubuntu. com/community/ ApacheMySQLPHP# Virtual Hosts