fix: The requested URL /uploads_macro was not found on this server
This commit is contained in:
parent
0748440cc6
commit
5892ad8721
2 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
around 40% in the process.
|
||||
- fix: Spectre needs to be restarted every day
|
||||
- Added a basic status interface to spectre, for troubleshooting.
|
||||
- fix: The requested URL /uploads_macro was not found on this server
|
||||
- fix: lack of testing for valid object creation
|
||||
- fix: No mention of intermediate upgrade step in gotcha's
|
||||
- fix: A newly released version of Html::Template fixes a bug with global
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ sub handler {
|
|||
return Apache2::Const::DECLINED if ($r->uri =~ m/^$url/);
|
||||
}
|
||||
my $uploads = $config->get("uploadsURL");
|
||||
$uploads .= "/" unless ($uploads =~ m{/$});
|
||||
if ($r->uri =~ m!^$uploads/dictionaries!) {
|
||||
# Do not allow web-access to personal dictionaries.
|
||||
$r->push_handlers(PerlAccessHandler => sub { return 401 } );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue