Shared directory structure
From Webpipe Wiki
[edit]
Webpipe's Shared Linux Hosting Directory Structure
When you first login to your account via FTP or SFTP, you will see a number of directories in your "home" directory. The directory name, and it's intended purpose is listed below:
| Directory Name | Purpose |
| backup | You can store backup of important files in this directory |
| conf | Configuration Files used by the system for administration. Not viewable by you |
| private | A private directory for you to put files that you don't want to share with the world. |
| .ssh | SSH Configuration Files. Typically this directory would only contain an "authorized_keys" file and a "known_hosts". If you don't know what this means, you don't need to worry about this directory |
| tmp | Temporary Files |
| your_domain.com | Files for the website "your_domain.com" |
| your_other_domain.com | Files for the website "your_other_domain.com" |
Inside your directory, you will have a sub-directory for each domain that you have hosted with Webpipe.net. Each of these website directories contain a directory structure like this:
| Directory Name | Intended Purpose |
| backup | Store backups of important files here |
| cgi-bin | Your cgi-bin directory. Files in this directory are executed rather than just displayed. Typically files in this directory will end in .cgi or .pl. This directory is accessible on your website from http://www.your-domain.com/cgi-bin/ |
| conf | Configuration files used for your website. You can view the awstats.conf file and httpd.conf files and ask us to make changes to these files for you. You can also write to the "passwords" file to store passwords for password-protected directories using .htaccess files. |
| errordocs | Web pages to display custom errors on your site. Each of the files in this directory are displayed when a certain type of error is encountered. By default, we include a basic error page, but you can rewrite these to match your site. |
| logs | Raw apache log files, and data files used by the web site statistics program. |
| private | A place for you to store files that you don't want to share with the world |
| tmp | A place to write temporary files. If you have a script that creates temporary files, you should use this directory rather than the global /tmp for security reasons. |
| var | A place to put data files, common scripts, templates, etc. Generally used for scripts and data that your web site uses, but you don't want inside the DocumentRoot |
| www | This is where the actual files viewable on your website go. We put a few default files in here including a blank favicon.ico and a robots.txt file with no exclusions. We recommend keeping these or replacing them with ones configured specifically for your site. Everything in this directory is viewable from http://www.your-domain.com/ |



