using .htaccess with xampp for linux

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

using .htaccess with xampp for linux

Postby elpit » 01. June 2005 12:50

Hi there. I'm newbie here. This is my latest doubt.
I have several html documents linked between them, some of them using PHP 5. I'm using XAMPP for Windows, but Iwould like to know how to protect some pages using .htaccess files using XAMPP (version for Linux).

The file distribution is the following(more or less):
I want admin.html protected by .htaccess. From this html document you can access reg1.php and reg2.php, but after you are accessing via admin.html, i don't want them to require a password again.
Should I place .htaccess in ./admin directory?
And what .htaccess file do I place in de ./admin/aplicadmin directory?
Also, I have in the same in the parent directory of ./admin/ ( see below) a xml file that i dont want to be exported. May I protect it the same way as in Apache-linux?
Thanks a lot. Xampp is just wonderful.

P.S. I supposse the whole path should be something like this:
./xampp/htdocs/aplication/admin/......... Is this right?
No busques la Verdad. En su lugar, deja que Ella venga a tí.
Posts: 1
Joined: 01. June 2005 12:37
Location: Seville, Spain

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests