how to preview a domain not pointed yet to sentora?
#8
RE: how to preview a domain not pointed yet to sentora?
New version with open_basedir which is more secure..

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>
Replace xxx.xxx.xxx.xxx with your server ip.

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply


Messages In This Thread
RE: how to preview a domain not pointed yet to sentora? - by Ron-e - 04-01-2015, 04:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora cp steps 421darren 6 17 ,380 06-12-2025, 03:29 PM
Last Post: AnthonyDillard
Improving Security on Your Sentora Panel: Best Practices DylanForeman 0 472 05-27-2025, 06:10 PM
Last Post: DylanForeman
Is Sentora dead? rajeevrrs 2 5 ,720 12-17-2022, 09:20 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)