How to share a folder (Apache)

Edit one of the numerous Apache configuration files, for instance

/etc/apache2/conf/apache2.conf

## Share a folder:
<Directory "/var/www/localhost/htdocs/shared_musics/">
Options +Indexes
IndexOptions FancyIndexing IconsAreLinks
</Directory>

Note: This property is inheritable by all subdirectories.

,

  1. 发表评论

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: