Jump to content

Chair Hosting

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by Chair Hosting

  1. Hello,

    I am currently trying to enable ForceSSL in htaccess. However each time it is enabled, it gives off a "Redirect Loop" Error on the browser. 

    Code Used:

    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]
    

    Full htaccess

    ########################################################
    # package:    minPHP
    # filename:   .htaccess
    ########################################################
    
    <Files ~ "\.(pdt)$">
       order deny,allow
       deny from all
    </Files>
    
    # Protect against Clickjacking
    Header append X-Frame-Options "SAMEORIGIN"
    
    RewriteEngine on
    
    # Force HTTPS
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]
    
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php
    
    RewriteCond %{REQUEST_URI} ^(.*)/install.php$
    RewriteRule install.php %1/install/ [R=301,L]
    
    

    Thanks, Jacob

  2. Here is the code I have: 

             <form class="navbar-form navbar-right" role="form">
                <div class="form-group">
                  <input type="text"  class="form-control" name="username" placeholder="Username" value="" id="login_username">
                </div>
                <div class="form-group">
    			  <input type="password" placeholder="Password" class="form-control" name="password" value="" id="login_password">
                <div>
    			<input type="submit" name="login" value="Login" class="btn" />
              </form>
    

    Original:

            <?php endif ?>
            <?php
            if (Yii::app()->user->isGuest)
            {
            ?>
             <form class="navbar-form navbar-right" role="form">
                <div class="form-group">
                  <input type="text" placeholder="Name" class="form-control">
                </div>
                <div class="form-group">
                  <input type="password" placeholder="Password" class="form-control">
                </div>
                <button type="submit" class="btn btn-success">Login</button>
              </form>
            <?php
            }
            else
            {
    

    Thanks, Jacob

  3. Hello mate,

     

    Thank you for your custom, did you download the Blesta-3.3.2 zip? that's the latest and stable version. The docs might be made for 3.2, however it's the same way to create a product / etc.

    Im sorry, I hate reading.... I like those easy to setup 1s like WHMCS. I am only interested in Blesta because licensecat's offers. 

     

     

     

    Edit: Oh forgot.... It also has free multicraft module.

×
×
  • Create New...