This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From terminal: | |
1: yum install epel* | |
2: yum update / yum upgrade | |
3: Add repo source | |
- CentOS and Red Hat Enterprise Linux 6.x | |
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | |
sudo rpm -Uvh remi-release-6*.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Go to Module Admin. | |
2. Click Apache Config. | |
3. Scroll to bottom, look at "Override a Virtual Host Setting" section, select your vhost from dropdowns. | |
4. In "Custom Entry" field, paste the following code: | |
`DocumentRoot "/var/sentora/hostdata/[username]/public_html/[domain-alias]/public"` | |
Replace [username] with your login username, and [domain-alias] with your domain directory friendly name (domain.com => domain_com). | |
5. "Save Host" and waiting for Sentora Daemon, or from terminal, reload httpd service: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kCFURLErrorUnknown = -998, | |
kCFURLErrorCancelled = -999, | |
kCFURLErrorBadURL = -1000, | |
kCFURLErrorTimedOut = -1001, | |
kCFURLErrorUnsupportedURL = -1002, | |
kCFURLErrorCannotFindHost = -1003, | |
kCFURLErrorCannotConnectToHost = -1004, | |
kCFURLErrorNetworkConnectionLost = -1005, | |
kCFURLErrorDNSLookupFailed = -1006, | |
kCFURLErrorHTTPTooManyRedirects = -1007, |