Results 1 to 3 of 3

Thread: .htaccess not being read

  1. #1
    Guest

    Default .htaccess not being read

    My .htaccess file doesn't seem to be being read by the web server. I have a rewrite rule in my .htaccess and the .htaccess is on the server but when I try to process a download via my site, I get a 404 error.
    Code:
    RewriteEngine On
    RewriteRule ^download/([a-f0-9]{32})/(.+)$ x.php?file=$2&hashCode=$1
    it worked fine on a ubuntu server from AWS once I followed this guide. Can I get .htaccess turned on? Thanks in advance.

  2. #2
    karl94 is offline AlterVista Staff
    Join Date
    Jan 2015
    Posts
    573

    Default

    Try to add the directive
    Code:
    RewriteBase /

  3. #3
    Guest

    Default

    Thanks that worked!

Posting Permissions

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

SEO by vBSEO