Redirect to home folder


Results 1 to 2 of 2

Thread: Redirect to home folder

  1. #1
    Join Date
    Nov 2018
    Posts
    1

    Redirect to home folder

    Hey guys i have a server that i store files on and i can't seem to get the tru path of the file and share it..

    my Home/ftuser . contains folders that i need to be able to link to?

    like http://MYIP/home/ftpuser/Folder/File.avi


    so currently it is pointing to my WWW folder.

    is there a way to make my root accessable?

    i tried .htaccess and it does not seem to be detected at all...

    #RewriteEngine On
    #RewriteCond %{REQUEST_URI} !^home/abc/
    #RewriteRule (.*) /home/abc/$1

    RedirectMatch ^/$ http://www.example.com/home/abc/

  2. #2
    Join Date
    Feb 2014
    Location
    Riviera Beach, Maryland, USA
    Posts
    118
    Is your server:

    1. On your home network with a private IP address?
      or ,
    2. Out on the internet somewhere with a public IP address?

    If the former ("a.") and it has a private IP addresses within the range of:

    10.0.0.0 - 10.255.255.255
    172.16.0.0 - 172.31.255.255
    192.168.0.0 - 192.168.255.255

    it is intentionally not directly accessible from the internet.
    More information here: https://en.wikipedia.org/wiki/Private_network

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •