add a robots.txt to the docroot to tell bots to not scrape our ZM install.
This commit is contained in:
parent
1a5d9d5586
commit
fb424a7eef
|
@ -10,7 +10,7 @@ configure_file(includes/config.php.in "${CMAKE_CURRENT_BINARY_DIR}/includes/conf
|
||||||
|
|
||||||
# Install the web files
|
# Install the web files
|
||||||
install(DIRECTORY api ajax css fonts graphics includes js lang skins tools views DESTINATION "${ZM_WEBDIR}" PATTERN "*.in" EXCLUDE PATTERN "*Make*" EXCLUDE PATTERN "*cmake*" EXCLUDE)
|
install(DIRECTORY api ajax css fonts graphics includes js lang skins tools views DESTINATION "${ZM_WEBDIR}" PATTERN "*.in" EXCLUDE PATTERN "*Make*" EXCLUDE PATTERN "*cmake*" EXCLUDE)
|
||||||
install(FILES index.php DESTINATION "${ZM_WEBDIR}")
|
install(FILES index.php robots.txt DESTINATION "${ZM_WEBDIR}")
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/includes/config.php" DESTINATION "${ZM_WEBDIR}/includes")
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/includes/config.php" DESTINATION "${ZM_WEBDIR}/includes")
|
||||||
|
|
||||||
# Install the api config files (if its not in the source directory)
|
# Install the api config files (if its not in the source directory)
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
User-agent: *
|
||||||
|
Disallow: /
|
Loading…
Reference in New Issue