Skip to content

Commit 68dc2b7

Browse files
committed
Stopped mirroring .htaccess from share/GUI to Mission Portal docroot
Sync of share/GUI to docroot was already changed to disabled by default. This bring this one off promise from the same source to the same destination into alignment with that. Ticket: ENT-13173 Changelog: Title
1 parent 06870f7 commit 68dc2b7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cfe_internal/enterprise/CFE_knowledge.cf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,11 @@ bundle agent cfe_internal_setup_knowledge
129129
handle => "cfe_internal_setup_knowledge_dir_httpd",
130130
perms => mog("755", "root", "root");
131131

132-
"$(cfe_internal_hub_vars.docroot)/.htaccess"
133-
comment => "Correct up htaccess file in doc root",
134-
handle => "cfe_internal_setup_knowledge_files_doc_root_htaccess",
135-
copy_from => no_backup_cp("$(sys.workdir)/share/GUI/Apache-htaccess");
132+
"$(cfe_internal_hub_vars.docroot)/.htaccess" -> { "ENT-13173" }
133+
comment => "Correct up htaccess file in doc root",
134+
handle => "cfe_internal_setup_knowledge_files_doc_root_htaccess",
135+
copy_from => no_backup_cp("$(sys.workdir)/share/GUI/Apache-htaccess"),
136+
if => "mpf_enable_mission_portal_docroot_sync_from_share_gui";
136137

137138
"$(cfe_internal_hub_vars.public_docroot)/scripts/." -> { "CFE-951" }
138139
comment => "Ensure permissions for $(cfe_internal_hub_vars.public_docroot)/scripts",

0 commit comments

Comments
 (0)