htaccess password protection and mod-rewrite?

Posted by mathiregister on Stack Overflow See other posts from Stack Overflow or by mathiregister
Published on 2010-05-21T06:48:17Z Indexed on 2010/05/21 7:10 UTC
Read the original article Hit count: 240

Filed under:
|
|

hey guys, i wonder how i can solve the following problem. on the root directory of my server lies a file calles upload.php

i want to be able to add a "/upload" (without .php) to my URL and the browser should ask for a password (and maybe username if possible). I i enter the password (and username) correctly upload.php should be opened.

Is this possible with htaccess?

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about mod-rewrite