PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

HTAccess File For Downlaods

s2Member Plugin. A Membership plugin for WordPress®.

HTAccess File For Downlaods

Postby erichamby » October 17th, 2010, 5:24 pm

The HTAccess file in the downloads folder dont seem to work. Users can still access the file by putting in the direct URL to the file.
User avatar
erichamby
Registered User
Registered User
 
Posts: 38
Joined: May 6, 2010

Re: HTAccess File For Downlaods

Postby Jason Caldwell » October 22nd, 2010, 10:06 pm

Hi Eric. Thanks for reporting this important issue.

Please try changing your .htaccess file to this:
Code: Select all
order allow,deny
deny from all

If you still have trouble, check your Apache server configuration
to make sure you have these lines in your httpd.conf file for Apache.
Code: Select all
AllowOverride All
AccessFileName .htaccess

Also, please be sure ONE of the following Apache modules are enabled in your server configuration.

mod_access ( for Apache 1.3 - 2.0 )
https://httpd.apache.org/docs/2.0/de/mo ... ccess.html

mod_authz_host ( for Apache 2.1+ )
http://httpd.apache.org/docs/2.2/mod/mo ... _host.html


If you're on a Windows server running IIS instead of Apache, none of this will help. Windows servers running IIS will need to install a web.config file to replace the .htaccess file normally intended for Linux/Unix based operating systems. See: http://learn.iis.net/page.aspx/557/tran ... webconfig/
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron