Truemag

  • Categories
    • Tips And Tricks
    • Internet
    • PHP
    • Javascript
    • CSharp
    • SQL Server
    • Linux
  • Lastest Videos
  • Our Demos
  • About
  • Contact
  • Home
  • Write With Us
  • Job Request
Home Linux HTTP/ HTTPS Document, CGI-BIN And Access/ Error Logs On cPanel, Plesk And VirtualMin

HTTP/ HTTPS Document, CGI-BIN And Access/ Error Logs On cPanel, Plesk And VirtualMin

There are some important paths such as public_html, httpdocs, httpsdocs, cgi-bin and access logs folders you need to remember all the time especially when you setup websites on Linux server.

I’ve just purchased a new Virtual Dedicated Server located in the US at Godaddy because my old dedicated server at iweb located in Canada but over 20% of my visitors are come from US and I also want to reduce monthly cost a bit.

I’m moving all my websites to the VPS and have to search html/https document, cgi-bin and http logs folder so many times. Therefore, I collect these common paths for further use and would to share to my readers.

1. cPanel

+ HTTP Document Folder:

/home/<username>/public_html/

/home/<username>/public_html/

+ HTTPS Document Folder:

/home/<username>/public_html/

/home/<username>/public_html/

+ CGI-BIN Folder:

/home/<username>/public_html/cgi-bin/

/home/<username>/public_html/cgi-bin/

+ HTTP Access Logs And Error Logs:

/usr/local/apache/domlogs/

/usr/local/apache/domlogs/

2. Plesk

+ HTTP Document Folder:

/var/www/vhosts/<domain>/httpdocs/

/var/www/vhosts/<domain>/httpdocs/

+ HTTPS Document Folder:

/var/www/vhosts/<domain>/httpsdocs/

/var/www/vhosts/<domain>/httpsdocs/

+ CGI-BIN Folder:

/var/www/vhosts/<domain>/cgi-bin/

/var/www/vhosts/<domain>/cgi-bin/

+ HTTP Access Logs And Error Logs:

/var/www/vhosts/<domain>/statistics/logs/

/var/www/vhosts/<domain>/statistics/logs/

3. Virtualmin

+ HTTP Document Folder:

/home/username/public_html

/home/username/public_html

+ HTTPS Document Folder:

/home/username/public_html

/home/username/public_html

+ CGI-BIN Folder:

/home/username/cgi-bin

/home/username/cgi-bin

+ HTTP Access Logs And Error Logs:

/home/username/logs

/home/username/logs

Below are from Godaddy Support – Critical Paths:

perl

/usr/bin/perl

/usr/bin/perl

php

/usr/bin/php

/usr/bin/php

sendmail

/usr/sbin/sendmail

/usr/sbin/sendmail

4. Simple Control Panel

HTTP Document Root

/home/<username>/public_html/

/home/<username>/public_html/

HTTPS Document Root

/home/<username>/public_html/

/home/<username>/public_html/

CGI-BIN

/home/<username>/public_html/cgi-bin/

/home/<username>/public_html/cgi-bin/

HTTP Logs

/var/log/httpd/

/var/log/httpd/

5. No control panel

HTTP Document Root

/etc/httpd/htdocs/

/etc/httpd/htdocs/

HTTPS Document Root

/etc/httpd/htdocs/

/etc/httpd/htdocs/

CGI-BIN

/etc/httpd/cgi-bin/

/etc/httpd/cgi-bin/

HTTP Logs

/etc/httpd/logs/

/etc/httpd/logs/

Note: some paths are common across servers, while others differ between control panels and versions.

Mar 23, 2012Hoan Huynh
Create Auto Refresh Page Or Redirect After A Given SecondsC# Get List of databases in SQL Server
You Might Also Like:
  • JavaScript Detect Protocol (HTTP/ HTTPS) To Load Or Handle Accordingly
  • Auto Delete Old IIS Logs, FTP Logs, SMTP Logs In Windows
  • ASP.NET Cookie Domains HTTP HTTPS
  • Linux CentOS view live website access log with tail command
  • Linux Chmod Change Mode Directory Recursive
  • sphinx install error access is denied
  • Virtualmin Upgrade PHP
  • Difference Between cPanel and WHM (WebHost Manager)?
  • Linux Find Out PHP/ MySQL/ MySQLD/ HTTPD … Command File Location
  • PHP CURL Post To HTTPS Website
Hoan Huynh

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at [email protected]

9 years ago Linuxcontrol panel, cPanel, No control panel, Plesk, Simple Control Panel, Virtualmin116
0
GooglePlus
0
Facebook
0
Twitter
0
Digg
0
Delicious
0
Stumbleupon
0
Linkedin
0
Pinterest
Most Viewed
PHP Download Image Or File From URL
22,198 views
Notepad Plus Plus Compare Plugin
How To Install Compare Text Plugin In Notepad Plus Plus
20,070 views
Microsoft SQL Server 2008 Attach Remove Log
Delete, Shrink, Eliminate Transaction Log .LDF File
15,848 views
JQuery Allow only numeric characters or only alphabet characters in textbox
13,327 views
C# Read Json From URL And Parse/Deserialize Json
9,819 views
4 Rapid Development is a central page that is targeted at newbie and professional programmers, database administrators, system admin, web masters and bloggers.
Recent Posts
  • Free Online Photo Editor
  • Easy Tips For Writing An Essay
  • What Can I Expect From An Academic Essay Service?

  • Can Be Essay Service Companies Good For You?

  • Tips To Choosing The Ideal Essay Writers
Categories
  • CSharp (45)
  • Facebook Graph API (19)
  • Google API (7)
  • Internet (87)
  • iPhone XCode (8)
  • Javascript (35)
  • Linux (28)
  • MySQL (16)
  • PHP (84)
  • Problem Issue Error (29)
  • Resources (32)
  • SQL Server (25)
  • Timeline (5)
  • Tips And Tricks (141)
  • Uncategorized (112)
Recommended
  • Custom Software Development Company
  • Online Useful Tools
  • Premium Themes
  • VPS
2014 © 4 Rapid Development