Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New VFP poll up at www.activevfp.com
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Divers
Thread ID:
00784049
Message ID:
00792101
Vues:
56
If you're running multiple sites, you should be able to easily put the site info in during the setup when it pops up the 'Enter IIS WebSite'. You put in the Domain Name(or IP Address) and WebSite Name for each different one.
You can't right click in XP Windows Explorer to get properties/Security?? As an alternative, you could run something like the following (taken from PostSetup - using the CACLS command, ignore STRTOFILE):
STRTOFILE([cacls "]+lcPath1+[" /E /G IUSR_]+lcCompName+[:W] + CHR(13)+CHR(10),THIS.cAppStartPath+"temp.cmd",.T.)
STRTOFILE([cacls "]+lcPath1+[" /E /G IWAM_]+lcCompName+[:W] + CHR(13)+CHR(10),THIS.cAppStartPath+"temp.cmd",.T.)
STRTOFILE([cacls "]+lcPath1+[" /E /G IUSR_]+lcCompName+[:R] + CHR(13)+CHR(10),THIS.cAppStartPath+"temp.cmd",.T.)
STRTOFILE([cacls "]+lcPath1+[" /E /G IWAM_]+lcCompName+[:R] + CHR(13)+CHR(10),THIS.cAppStartPath+"temp.cmd",.T.)
*individual data files
FOR lnI = 1 TO lnFileCount
   STRTOFILE([cacls "]+lcPath1+[\]+laDataFiles(lnI,1)+[" /E /G IUSR_]+lcCompName+[:W] + CHR(13)+CHR(10),THIS.cAppStartPath+"temp.cmd",.T.)
   STRTOFILE([cacls "]+lcPath1+[\]+laDataFiles(lnI,1)+[" /E /G IWAM_]+lcCompName+[:W] + CHR(13)+CHR(10),THIS.cAppStartPath+"temp.cmd",.T.)
   STRTOFILE([cacls "]+lcPath1+[\]+laDataFiles(lnI,1)+[" /E /G IUSR_]+lcCompName+[:R] + CHR(13)+CHR(10),THIS.cAppStartPath+"temp.cmd",.T.)
   STRTOFILE([cacls "]+lcPath1+[\]+laDataFiles(lnI,1)+[" /E /G IWAM_]+lcCompName+[:R] + CHR(13)+CHR(10),THIS.cAppStartPath+"temp.cmd",.T.)
ENDFOR
>Claude,
>
>Thanks much for the response. In XP I don't have the security options dialog under the properties tab. Is there a way to set the security for these files that I am un aware of?
>
>In order to use this on multiple sites I would need to install it to my web server correct? Are there any hints to make this process go smoother?
>
>Thanks again
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform