Question: How to create a symbolic link to SBM

How to create a symbolic link to SBM

Could you please give me some guidance on how to create a symbolic link? I uploaded SBM to my cPanel outside of Public_html Now I just need to link the sbm.php file (symbolic link) to the

T

Tony

Asked

Could you please give me some guidance on how to create a symbolic link?

I uploaded SBM to my cPanel outside of Public_html Now I just need to link the sbm.php file (symbolic link) to the sbm folder where the files are stored. Below is the code I am using in the sbm.php file to link to the sbm folder.



  • MS

    Mian Saleem

    Answered

    Hello,

    The symbolic link means that you need to delete the public_html folder and create it with link like ln -s /path/to/sbm/public /home/user/public_html Please only do it if you know what are you doing and don’t have any other site/data in the pubic_html folder.

    Other options

    1. Main Domain

    If you want to install at main domain you can upload the files to public_html folder and redirect access to public folder by creating the .htaccess file like

    DirectoryIndex index.php
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^public
    RewriteRule ^(.*)$ public/$1 [L]
    </IfModule>
    
    # It will redirect all request to public folder unless it to public folder. 
    

    2. Subdomain

    You can use the subdomain and the path to /path/to/sbm/public If your cpanel don’t allow the subdomain path outside of public_html folder than you can upload the file in the public_html folder and deny access to /path/to/sbm id the request is not to public folder.


    The best option to host Laravel is on VPS (Virtual Private Server). There are many cloud VPS server providers such as AWS, DO, Vultr There are quite many options available to manage server such as Laravel Forge, Ploi & Cloudways etc. I am using Laravel Forge with AWS to host the demo.

    Thank you

  • T

    Tony

    Answered

    I think it would be easier to just pay you guys to install the script for me. How would I go about doing that?

  • MS

    Mian Saleem

    Answered

    Hello,

    You can open ticket to request installation. It will require you to have at least $20 balance. If you don’t have, you can buy credit.

    We will require 12 - 24 hours to complete the installation.

    Thank you

  • Login to Reply