Results 1 to 2 of 2

Thread: Help needed with .htaccess redirects

  1. #1
    Join Date
    Jun 2010
    Posts
    22

    Help needed with .htaccess redirects

    Hi all,

    Having a bit of a crisis with an issue I have already solved once - and subsequently lost the piece of code that worked.

    I am storing resources in a resources directory (namely pdfs / ppt and various others) which are accessed by a PHP file once the file has checked whether an authorised user is logged in. The PHP then uss fpassthru to prompt a download.

    I had a .htaccess file preventing all direct access to the 'resources' folder, which I uploaded for testing, before deleting without backing up

    Please could someone help me out with this task, again it simply prevented any direct access to html and any other files within a directory, and redirected the user to the homepage to login.

    Thanks in advance,

    Luke

  2. #2
    Join Date
    Jun 2010
    Posts
    22
    Sorry to bump this up but I'm pretty desperate! Still struggling after many .htaccess attempts.

Similar Threads

  1. URL redirects- What are your thoughts?
    By stevetorres in forum Search Engine Optimization and Marketing
    Replies: 0
    Last Post: 27 Jun 2010, 10:42 PM

Posting Permissions

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