(04-01-2015, 04:28 AM)Hi ,Not work for me, i´m using Ubuntu 14.04 on Amazon EC2 Instance with Elastic IP and when reboot the instance i get this error ForbiddenYou don\t have permission to access / on this server.I tried with Elastic IP and Private Ip and nothing, do you have another idea ?This instructions works for last version of sentora ? 1.0.0Waiting your reply !!ThanksRon-e Wrote: New version with open_basedir which is more secure..
Replace xxx.xxx.xxx.xxx with your server ip.Code:</virtualhost>
# Add Alias for DNS-Less Previews
<VirtualHost *:80>
ServerName xxx.xxx.xxx.xxx
DocumentRoot "/var/sentora/hostdata"
php_admin_value open_basedir "/var/sentora/hostdata:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
AliasMatch ^/~([a-zA-Z0-9]+)/?(.*) /var/sentora/hostdata/$1/public_html/$2
<Directory /var/sentora/hostdata>
Options FollowSymLinks
AllowOverride All
Order Allow,Deny
Allow from all
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_admin_value upload_tmp_dir /var/sentora/temp
</IfModule>
</Directory>
how to preview a domain not pointed yet to sentora?
|
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
how to preview a domain not pointed yet to sentora? - by wormsunited - 04-01-2015, 12:11 AM
RE: how to preview a domain not pointed yet to sentora? - by Ron-e - 04-01-2015, 12:43 AM
RE: how to preview a domain not pointed yet to sentora? - by wormsunited - 04-01-2015, 03:07 AM
RE: how to preview a domain not pointed yet to sentora? - by wormsunited - 04-01-2015, 03:15 AM
RE: how to preview a domain not pointed yet to sentora? - by Ron-e - 04-01-2015, 03:53 AM
RE: how to preview a domain not pointed yet to sentora? - by wormsunited - 04-01-2015, 03:57 AM
RE: how to preview a domain not pointed yet to sentora? - by Ron-e - 04-01-2015, 04:13 AM
RE: how to preview a domain not pointed yet to sentora? - by Ron-e - 04-01-2015, 04:28 AM
RE: how to preview a domain not pointed yet to sentora? - by matheusmelo - 06-11-2015, 04:49 PM
RE: how to preview a domain not pointed yet to sentora? - by wormsunited - 07-08-2016, 01:27 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Is Sentora dead? | rajeevrrs | 2 | 3 ,972 |
12-17-2022, 09:20 AM Last Post: TGates |
|
Sentora debug and error files | johnnyp | 0 | 1 ,591 |
10-27-2022, 06:16 PM Last Post: johnnyp |
|
Transfer Account to another Sentora | BenI | 1 | 3 ,334 |
07-21-2022, 07:19 PM Last Post: Nigel |
Users browsing this thread: 1 Guest(s)