|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi!
I've got the following problem: I use authentication in some .htaccess files, but I need to specify a RELATIVE path to the .htpasswd, because the server path is not persistent (this .htacess file is put in several directories), so I would need to do the following: AuthType Basic AuthName Secure-Area AuthUserFile admin/.htpasswd and not AuthUserFile /server/htdocs/admin/.htpasswd [...] Is this possible? Thanks! |
|
#2
|
|||
|
|||
|
>> Is this possible?
Yes but it must be a relative path to the ServerRoot and it won't work if your DocumentRoot is not under your ServerRoot. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > .htpasswd in current folder |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|