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.

DNS-Less preview
#10
RE: [HOW-TO] DNS-Less preview
I have succeeded to get DNS preview. For review please check this one https://199.180.116.69/~nitipinf/nitip_info/

Using global sentora entry will not work. I configure the httpd config file as informed in https://github.com/sentora/sentora-core/...t-71953710

After you add the code given, you will get error 403 which forbid you to access the web page. So, add new codes below the code given like this:

Quote:ServerName localhost (IP address seems not working on my server so I use localhost)
AliasMatch ^/~([a-zA-Z0-9]+)/?(.*) /var/sentora/hostdata/$1/public_html/$2 Add the code below, just like what TGates use with a little modification on the permission (depends on the Apache version that you use)
<Directory /var/sentora/hostdata>
     
#Options
FollowSymLinks
   Options Indexes FollowSymLinks Includes ExecCGI
   AllowOverride All
   Require all granted (Little modification on the permission because of different Apache version)
      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: TGates , Cantalupo


Messages In This Thread
DNS-Less preview - by TGates - 01-29-2015, 09:06 AM
RE: [HOW-TO] DNS-Less preview - by Me.B - 01-29-2015, 05:52 PM
RE: [HOW-TO] DNS-Less preview - by Ron-e - 04-01-2015, 04:37 AM
RE: [HOW-TO] DNS-Less preview - by Ron-e - 04-11-2015, 05:44 AM
RE: [HOW-TO] DNS-Less preview - by txt3rob - 06-24-2015, 06:17 PM
RE: [HOW-TO] DNS-Less preview - by Ron-e - 06-24-2015, 11:23 PM
RE: [HOW-TO] DNS-Less preview - by Ron-e - 06-24-2015, 11:41 PM
RE: [HOW-TO] DNS-Less preview - by yarrha - 07-28-2015, 11:45 PM
RE: [HOW-TO] DNS-Less preview - by Ron-e - 07-29-2015, 12:50 AM
RE: [HOW-TO] DNS-Less preview - by yarrha - 07-29-2015, 01:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)