What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Configuring Apache Authentication And Authorisation

Configuring Apache Authentication And Authorisation
Author: Message:
rav0
Veteran Member
*****

Avatar
i have an avatar

Posts: 1419
Reputation: 29
35 / Male / Flag
Joined: Aug 2003
O.P. Configuring Apache Authentication And Authorisation
I have been/am messing about with my configuration on my ISP provided webspace. They run Apache 2.0, and each user has their own directory, which they can configure through .htaccess.

I'm trying to forbid access for the whole site, but then allow access to all for certain files which I choose to make public.

I've got it working how I want, except for one part. My index file is index.php, and it is served to all. Pre security tweaking, somebody could request /rav0/ or /rav0/index.php and get the same result. Now, post security tweaking, requesting /rav0/index.php gives is the same as it was before, but requesting just /rav0/ wont serve the page, it throws a 403 at you.

I want to block access to /rav0/* then allow access to /rav0/index.php, and /rav0/ which gives the same as /rav0/index.php.

This is the part of my .htaccess that is giving me trouble
code:
Order deny,allow
Deny from all

<Files
index.php>
Allow from all
</Files>

| [Image: dorsh] |

(\ /)
(O.o)
(> <)

This is Bunny. Copy Bunny into your signature to help him on his way to world domination
11-10-2005 11:09 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On