This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Temporary link (xx.xx.xx.xx/~link)
#1
Temporary link (xx.xx.xx.xx/~link)
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?
Reply
Thanks given by:
#2
RE: Temporary link (xx.xx.xx.xx/~link)
Here you go!
http://forums.sentora.org/showthread.php?tid=932
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: Temporary link (xx.xx.xx.xx/~link)
(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>
Reply
Thanks given by:
#4
RE: Temporary link (xx.xx.xx.xx/~link)
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.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#5
RE: Temporary link (xx.xx.xx.xx/~link)
(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.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
How can I create panel link helenmai 1 6 ,301 10-16-2018, 02:47 PM
Last Post: fearworks
Webmail roundcube link megasmorf 1 5 ,316 08-21-2018, 08:57 AM
Last Post: TGates
Missing a temporary folder dancristian 6 117 ,532 09-16-2016, 05:41 AM
Last Post: dancristian

Forum Jump:


Users browsing this thread: 1 Guest(s)