Search results

  1. A

    X-LiteSpeed-Location - Can only access public_html

    Hi mistwang - no there never was a dl directory.. just the alias. The way i've gotten it to work is by putting the contents into a web root folder - home/fakepath/public_html/ukei84l I've then taken both of your advice with the .htaccess and put this in there: Options -Indexes RewriteEngine...
  2. A

    X-LiteSpeed-Location - Can only access public_html

    In the virtual host section in httpd.conf i've put: Alias /dl /home/fakepath/downloads Within the /home/fakepath/downloads directory .htaccess I've put: RewriteEngine on RewriteCond %{ORG_REQ_URI} ^/dl RewriteRule . - [R=403,F] Test...
  3. A

    X-LiteSpeed-Location - Can only access public_html

    Thanks for that Nitewave - that's a great description - the only thing i'm having trouble with is adding a context. i have access to litespeed webadmin v4.2.4 - You have mentioned to use Example vhost - i'm not sure what that is? so i logged into the webadmin and did the following...
  4. A

    X-LiteSpeed-Location - Can only access public_html

    Would you be able to give an example of protecting from direct access with litespeed? I did the .htaccess 'deny from all' method, but that concluded in the same original error. I then allowed my server IP address in the .htaccess file, but that concluded in the same error. I'm not going to tell...
  5. A

    X-LiteSpeed-Location - Can only access public_html

    Thanks for that response mistwang - i can certainly search for this, but another question that pops up is - if i assign a URL to that directory - if other users put this into the URL bar, will they also be able to access it?
  6. A

    X-LiteSpeed-Location - Can only access public_html

    Hi everyone, hopefully this isn't some silly question - i've just been around the ropes and had to change a script to allow downloads via an X-LiteSpeed-Location header. Only problem i have is that i can't have the .zip files outside of the public_html directory. I have the script set up so...
Top