linux - Where to administer apache fallback directory -


i have been put in charge of ubuntu 13 server installation. apache configured use /var/www default directory correct. issue seems there fallback directory configured points /usr/share. if type browser (www.address.com) serve documents out of /var/www, if know name of directory in /usr/share , type in (www.address.com/sharedir) serve out of /usr/share directory. have looked in apache config file , default site config file , not see association. not want behavior , concerned default behavior out of box.

can guide me areas behavior may controlled/managed. assistance.

open

/etc/apache2/sites-available/default

file , replace

/var/www

to

/path/to/folder/you/wish

save , better restart apache

service apache2 restart

now put website contents new location /path/to/folder/you/wish.

once changed document root of of site mentioned above, no files fetched other location. hopes you. :)


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -