|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CVS, symlinks, and htaccess
I have a rather convoluted CVS setup designed to allow a development site and a live site to coexist as dev.xxxxxx.com and URL Live pages are in html/www, while dev pages are pointed to by a symlink named html/dev.
I'd like to require authentication for the dev site, but both sites share the same .htaccess file. Can anyone recommend a way to limit access to dev without affecting access to www? Perhaps from the html directory above both of them? Does the fact that the dev directory is actually a symlink make this even _more_ problematic? |
|
#2
|
|||
|
|||
|
>> a symlink make this even _more_ problematic
Yes. That's why Apache has Alias directive. >> but both sites share the same .htaccess file Have a look at Satify directive or do a search here. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > CVS, symlinks, and htaccess |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|