Not sure if this would work on Unix but is some what of an option on a dual
boot Linux/windows system.
Try setting up a partition in Fat32 that both Linux and Windows can read and
in there create your htpasswd file.
It should work.
Or stop playing about and just stay with penguin power!!!
Andy
"Ralf Gmeiner" <rgmeiner.TakeThisOut@gmx.de> wrote in message
news:c6j9qr$cos82$1@ID-29177.news.uni-berlin.de...
> Hello!
>
> I use WAMP for developing and LAMP for hosting my website.
>
> Sometimes I need to password-protect certain directories. On the
LAMP-Server
> I need to put
>
> AuthUserFile "/somepath/.htpasswd"
>
> into my htaccess file to point to the password-file. On the WAMP-Server,
> however, it's:
>
> AuthUserFile "c:\someotherpath\htdocs\.htpasswd"
>
> This requires me to use two different htaccess-files (win.htaccess and
> linux.htaccess), that each must be renamed to .htaccess on the approriate
> server. This method is quite circumstantial. I don't know how to put logic
> into the htacces files (if LAMP use this directory; else use that
> directory). Hence my question:
>
> Is it possible to use a single htaccess-file on both systems? If so how?
>
> Thanks for your help.
>
> Ralf
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: UNIX + Windows htaccess in one file possible?