skip cgi-bin dir

This commit is contained in:
Alexander Lehmann 2023-03-18 19:43:19 +01:00
parent d9eed3865f
commit c8beae3851
2 changed files with 9 additions and 1 deletions

View File

@ -11,6 +11,11 @@ $TARGET=shift;
for my $f (@FILES) {
print "$f\n";
if($f =~ m@/cgi-bin/@) {
print "skipping\n";
next;
}
$target_dir=$f;
$target_dir=~s@/[^/]+$@@;

View File

@ -8,8 +8,11 @@
</head>
<body>
You are visiting a site converted from Gemtext to HTML, what you
really want to do s visit is the site with the Gemini protocol
really want is to visit the site with the Gemini protocol
at <a href="gemini://gemini.lehmann.cx/">gemini://gemini.lehmann.cx/</a><br>
The site was converted
with <a href="https://tildegit.org/alexlehm/gemini2html">gemini2html</a>.<br>
$body$
<img src="//piwik.lehmann.cx/piwik/piwik.php?idsite=1&amp;rec=1&amp;bot=1&amp;action_name=gemini.lehmann.cx">
</body>
</html>