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)
#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:


Messages In This Thread
Temporary link (xx.xx.xx.xx/~link) - by thunt4jr - 11-09-2016, 06:41 AM
RE: Temporary link (xx.xx.xx.xx/~link) - by thunt4jr - 11-11-2016, 02:47 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)