You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Илья Шипицин <il...@academy.urc.ac.ru> on 2002/12/08 10:26:59 UTC

[users@httpd] tricky URL->filename mapping

Dear Sirs,

I want to implement following thing:

I've number of directories, say, /usr/local/www/data/sarg/USERNAME
USERNAME is "user1", "user2", and so on...

I want to protect those directories with passwords (easy thing) and I want
apache to map "http://www.some.host.ru/sarg/" onto those directories
depending on username provided.

Any idea how to implement that ?

Regards, (Наилучшие пожелания)
Ilia Chipitsine (Илья Шипицин)


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] tricky URL->filename mapping

Posted by Remo Mattei <re...@italy1.com>.
Use .htaccess per directory

Ciao, 
Remo Mattei  
        Cell 801-209-8554           Freelance Networking-Security/Consultant
        MCSE, MCP, MCP+I, MCT       Linux Trainer & Firewall Development
        http://www.italy1.com               remo@italy1.com
                   


> From: Илья Шипицин <il...@academy.urc.ac.ru>
> Reply-To: users@httpd.apache.org
> Date: Sun, 8 Dec 2002 14:26:59 +0500 (YEKT)
> To: users@httpd.apache.org
> Subject: [users@httpd] tricky URL->filename mapping
> 
> Dear Sirs,
> 
> I want to implement following thing:
> 
> I've number of directories, say, /usr/local/www/data/sarg/USERNAME
> USERNAME is "user1", "user2", and so on...
> 
> I want to protect those directories with passwords (easy thing) and I want
> apache to map "http://www.some.host.ru/sarg/" onto those directories
> depending on username provided.
> 
> Any idea how to implement that ?
> 
> Regards, (Наилучшие пожелания)
> Ilia Chipitsine (Илья Шипицин)
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org