Skip to content

Instantly share code, notes, and snippets.

@arn-ob
Last active June 12, 2017 06:48
Show Gist options
  • Select an option

  • Save arn-ob/f2b0d91b04075a1b6a2192cf8a2fc9c7 to your computer and use it in GitHub Desktop.

Select an option

Save arn-ob/f2b0d91b04075a1b6a2192cf8a2fc9c7 to your computer and use it in GitHub Desktop.
Mount disk and give the direct location to the website in Linux
Mount Disk and mapped to the site . This Test at Apache2
1. sudo mkdir /mountLocation
2. sudo mount /dev/whatever /mountLocation
3. Locate the dir to the apanche2 config <Directory>
Config
</Directory>
4. At the Site config file Add Aliens
Alias "/DirName/" "/Location/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment