I'm pretty new to Sentora and I'm trying to get a temporary link before I move the domain name over. I'm tired of cPanel keep going down on me and have to refresh the license every day even tho I paid for a year.
I have tried to look for temporary link thread or something similar. Can someone point me to the right direction, please?
(11-10-2016, 03:45 AM)TGates Wrote: [ -> ]Here you go!
http://forums.sentora.org/showthread.php?tid=932
You're awesome. However, that didn't work for me.
I'm using Centos 7
Here is my code below. I did both localhost and my IP address and neither one of them worked. Yes, I did force update and read everything from that link you provided. What could I be doing wrong?
Code:
</virtualhost>
# Add Alias for DNS-Less Previews
<VirtualHost *:80>
ServerName localhost
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>
It has to do with the allow/deny section. It is different between apache 2.2 and apache 2.5. Updated that thread with the changes.
(11-11-2016, 03:59 AM)TGates Wrote: [ -> ]I think it has to do with the allow/deny section. It is different on CentOS. Will check the other threads in that post, I think somebody posted the change.
I think I read that post what you're talking about but not sure yet. I'm thinking that I'm overlooking or trying too hard.