skip cgi-bin dir
This commit is contained in:
parent
d9eed3865f
commit
c8beae3851
|
@ -11,6 +11,11 @@ $TARGET=shift;
|
||||||
|
|
||||||
for my $f (@FILES) {
|
for my $f (@FILES) {
|
||||||
print "$f\n";
|
print "$f\n";
|
||||||
|
if($f =~ m@/cgi-bin/@) {
|
||||||
|
print "skipping\n";
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
|
||||||
$target_dir=$f;
|
$target_dir=$f;
|
||||||
$target_dir=~s@/[^/]+$@@;
|
$target_dir=~s@/[^/]+$@@;
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,11 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
You are visiting a site converted from Gemtext to HTML, what you
|
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>
|
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$
|
$body$
|
||||||
|
<img src="//piwik.lehmann.cx/piwik/piwik.php?idsite=1&rec=1&bot=1&action_name=gemini.lehmann.cx">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue