1.6.1 htdocs/xampp/sqlite/.htaccess

Problems with the Linux version of XAMPP, questions, comments, and anything related.

1.6.1 htdocs/xampp/sqlite/.htaccess

Postby Dave_L » 07. May 2007 19:44

[XAMPP 1.6.1 for linux]

The file /opt/lampp/htdocs/xampp/sqlite/.htaccess contains:

Code: Select all
# nobody should be able to access this directory by http (oswald, 31oct03)
AuthName "impossible"
AuthType Basic
require valid-user


That .htaccess file does not prevent access to the directory. I suggest changing it to:

Code: Select all
# This folder does not require access over HTTP
# (the following directive denies access by default)
Order allow,deny
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43

Postby Dave_L » 08. May 2007 01:49

I just noticed the XAMPP bug tracker, and reposted there: http://bugs.xampp.org/view.php?id=37

Is the bug tracker still the preferred place to post stuff like this?
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43

Postby Kristian Marcroft » 08. May 2007 07:03

Hi Dave,

if you actually want to restrict access the "Order" should always be "deny, allow".
Yes the bug tracker is the prefered way for bug reporting.

Thanks
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby Dave_L » 08. May 2007 10:31

Thanks. I've never fully understood the Order directive. I copied that example from /opt/lampp/phpmyadmin/libraries/.htaccess.

I've also used "Deny from all" without an Order directive, and it seems to work too.
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43

Postby Wiedmann » 08. May 2007 13:40

Dave_L wrote:Order allow,deny

That's also correct.

A "Order Allow,Deny" without any following "Allow" or "Deny" directive, denies the access for all.

On the other side a "Order Deny,Allow" without any following "Allow" or "Deny" directive , allows the access for all.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests