<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Small correction: adding robots.txt to the config folder has worked since 2.2.2, not 2.6.0.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I think documentation of this feature was lost because it was added around the same time that the tech-docs repository was being created.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Andrew.<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Swanson, Bob
 <bob.swanson@uconn.edu><br>
<b>Sent:</b> 21 May 2019 17:08:33<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Help with robots.txt</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Consolas}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif}
a:link, span.x_MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
p
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New"}
p.x_msonormal0, li.x_msonormal0, div.x_msonormal0
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif}
p.x_xmsonormal, li.x_xmsonormal, div.x_xmsonormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
p.x_xmsolistparagraph, li.x_xmsolistparagraph, div.x_xmsolistparagraph
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
p.x_xmsochpdefault, li.x_xmsochpdefault, div.x_xmsochpdefault
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif}
span.x_xmsohyperlink
        {color:#0563C1;
        text-decoration:underline}
span.x_xmsohyperlinkfollowed
        {color:#954F72;
        text-decoration:underline}
span.x_xemailstyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
span.x_HTMLPreformattedChar
        {font-family:"Consolas",serif}
span.x_EmailStyle27
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Thank you so much!</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">I will comply.</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Bob Swanson</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">UConn Libraries</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">860-486-5260 – Office</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">860-617-1188 - Mobile</span></p>
</div>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
<b>On Behalf Of </b>Blake Carver<br>
<b>Sent:</b> Tuesday, May 21, 2019 11:54 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Help with robots.txt</span></p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<div>
<p class="x_MsoNormal"><span style="font-family:"Calibri",sans-serif; color:black">Look at that!</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-family:"Calibri",sans-serif; color:black"><a href="https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Farchivesspace%2Farchivesspace%2Fcommit%2F0bfb91e7f27a18b4cb6e0a27527be1041c877237%23diff-f266d24dcc6fcbe9020ee4f31cf538f7&data=02%7C01%7Cbob.swanson%40uconn.edu%7C60149aa8361344aef23008d6de049c5c%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C636940508729129268&sdata=MJ9vLNVGxdo0LQ53cO40qAmukhSclOrZv8yFwiO9WKk%3D&reserved=0">https://github.com/archivesspace/archivesspace/commit/0bfb91e7f27a18b4cb6e0a27527be1041c877237#diff-f266d24dcc6fcbe9020ee4f31cf538f7</a></span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-family:"Calibri",sans-serif; color:black">Yep, sure looks like that'll work as well. </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-family:"Calibri",sans-serif; color:black">So it seems like the easiest way to serve up a robots file is just throw it in your config directory.</span></p>
</div>
<div class="x_MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">
<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
 on behalf of Andrew Morrison <<a href="mailto:andrew.morrison@bodleian.ox.ac.uk">andrew.morrison@bodleian.ox.ac.uk</a>><br>
<b>Sent:</b> Tuesday, May 21, 2019 11:37 AM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Help with robots.txt</span> </p>
<div>
<p class="x_MsoNormal"> </p>
</div>
</div>
<div>
<div>
<p class="x_MsoNormal">Hello,</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">If you put a robots.txt file in the config folder of your ArchivesSpace system, it will be served by a request for /robots.txt, after the next restart. I cannot remember where I read that, and cannot find it now, but can confirm it works,
 since I believe 2.6.0.</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">Regards,</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">Andrew Morrison</p>
</div>
<div>
<p class="x_MsoNormal">Software Engineer</p>
</div>
<div>
<p class="x_MsoNormal">Bodleian Digital Library Systems and Services</p>
</div>
<div>
<p class="x_MsoNormal"><a href="https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.bodleian.ox.ac.uk%2Fbdlss&data=02%7C01%7Cbob.swanson%40uconn.edu%7C60149aa8361344aef23008d6de049c5c%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C636940508729129268&sdata=hHEwf14Gs%2Bm5sfD8Lp68S7wN0n9pL1NbK2nbkO90pWg%3D&reserved=0">https://www.bodleian.ox.ac.uk/bdlss</a></p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">On Tue, 2019-05-21 at 13:59 +0000, Swanson, Bob wrote:</p>
</div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<div>
<p class="x_xmsonormal">Please forgive me if this is posted twice, I sent the following yesterday before I submitted the “acceptance Email” to the ArchivesSpace Users Group.  I don’t see where it was posted on the board (am I doing this correctly?).</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">So far as I can tell, this is how I’m supposed to ask questions regarding ArchivesSpace.</p>
<p class="x_xmsonormal">Please forgive and correct me if I’m going about this incorrectly.</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">I am new to ArchivesSpace, Ruby, JBOD and web development, so I’m pretty dumb.</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">The PUI Pre-Launch checklist advises creating and updating
<b>robots.txt</b>,</p>
<p class="x_xmsonormal">So we would like to set up a <b>robots.txt</b> file to control what crawlers can access when they crawl our ArvhivesSpace site
<a href="https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchivessearch.lib.uconn.edu%2F&data=02%7C01%7Cbob.swanson%40uconn.edu%7C60149aa8361344aef23008d6de049c5c%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C636940508729139257&sdata=g1gJFYqoFtX5S5EImTzssbksDfi328kw%2B%2F1H6TigIXk%3D&reserved=0">
https://archivessearch.lib.uconn.edu/</a>.</p>
<p class="x_xmsonormal">I understand that <b>robots.txt</b> is supposed to go in the web root directory of the website.</p>
<p class="x_xmsonormal">In a normal apache configuration that’s simple enough.</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">But,</p>
<p class="x_xmsonormal">We are serving ArchivesSpace via HTTPS.</p>
<p class="x_xmsolistparagraph" style="text-indent:-.25in">a)<span style="font-size:7.0pt; font-family:"Times New Roman",serif">      
</span>All Port 80 traffic is redirected to Port 443.</p>
<p class="x_xmsolistparagraph" style="text-indent:-.25in">b)<span style="font-size:7.0pt; font-family:"Times New Roman",serif">     
</span>443 traffic is proxied to 8081 (for the public interface) per the ArchivesSpace documentation.</p>
<p class="x_xmsonormal" style="margin-left:1.0in">  <b>RequestHeader set X-Forwarded-Proto "https"</b></p>
<p class="x_xmsonormal" style="margin-left:1.0in"><b>  ProxyPreserveHost On</b></p>
<p class="x_xmsonormal" style="margin-left:1.0in"><b>  ProxyPass / <a href="http://localhost:8081/">
http://localhost:8081/</a> retry=1 acquire=3000 timeout=600 Keepalive=on</b></p>
<p class="x_xmsonormal" style="margin-right:0in; margin-bottom:12.0pt; margin-left:1.0in">
<b>  ProxyPassReverse / <a href="http://localhost:8081/">http://localhost:8081/</a></b></p>
<p class="x_xmsonormal">So, my web root directory (var/www/html) is empty (save some garbage left over from when I was testing).</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">I’ve read the documentation on <a href="https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.robotstxt.org&data=02%7C01%7Cbob.swanson%40uconn.edu%7C60149aa8361344aef23008d6de049c5c%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C636940508729139257&sdata=BxRVDxhr3LQAM%2FX2GD58d%2Bt%2BUoNsnoJPYfWRk6UtH9c%3D&reserved=0">
www.robotstxt.org</a> but I can’t find anything that pertains to my situation.</p>
<p class="x_xmsonormal">I have to imagine that most ArchivesSpace sites are now https and use robots.txt, so this should be a somewhat a somewhat standard implementation.</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">I don not find much information on the Users Group site pertaining to this,</p>
<p class="x_xmsonormal">I find reference to plans for this being implemented at the web server level back in 2016,</p>
<p class="x_xmsonormal">But nothing beyond that.</p>
<p class="x_xmsonormal"><a href="https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fpipermail%2Farchivesspace_users_group%2F2016-August%2F003916.html&data=02%7C01%7Cbob.swanson%40uconn.edu%7C60149aa8361344aef23008d6de049c5c%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C636940508729149251&sdata=RaQCHvtRY6H7Ned5F0ULjrwYo1yG6E7lyi%2FvHgrGUSI%3D&reserved=0">http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2016-August/003916.html</a></p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">A search of the ArchivesSpace Technical Documentation for “robots” comes up empty as well.</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">Can you please direct me to any documentation that may exist on setting up a robots.txt file in a proxied HTTPS instance of ArchviceSpace?</p>
<p class="x_xmsonormal">Thank you, and please tolerate my naivety.</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal"><span style="color:#1F497D">Bob Swanson</span></p>
<p class="x_xmsonormal"><span style="color:#1F497D">UConn Libraries</span></p>
<p class="x_xmsonormal"><span style="color:#1F497D">860-486-5260 – Office</span></p>
<p class="x_xmsonormal"><span style="color:#1F497D">860-617-1188 - Mobile</span></p>
<p class="x_xmsonormal"> </p>
</div>
<pre>_______________________________________________</pre>
<pre>Archivesspace_Users_Group mailing list</pre>
<pre><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a></pre>
<pre><a href="https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=02%7C01%7Cbob.swanson%40uconn.edu%7C60149aa8361344aef23008d6de049c5c%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C636940508729149251&sdata=BUFnf%2FKkS6d%2BBrLDT1S1X5S09kuEtmG%2B3OWFlOk3ob4%3D&reserved=0">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></pre>
</blockquote>
</div>
</div>
</div>
</body>
</html>