diff --git a/public_html/lists/.htaccess b/public_html/lists/.htaccess index 053f40cd3..65dd1df0e 100644 --- a/public_html/lists/.htaccess +++ b/public_html/lists/.htaccess @@ -1,4 +1,3 @@ - DirectoryIndex index.php @@ -14,7 +13,7 @@ DirectoryIndex index.php # app.php is the entrypoint for phpList4 - + # Apache < 2.3 Order allow,deny @@ -27,6 +26,13 @@ DirectoryIndex index.php + + Options -MultiViews + RewriteEngine On + RewriteRule api/v2/ api.php [L] + + + # if you want more than this for attachments, you can increase these values # but you really, really should consider uploading them somewhere # and only sending a link in your mails diff --git a/public_html/lists/api.php b/public_html/lists/api.php new file mode 100644 index 000000000..a4176340a --- /dev/null +++ b/public_html/lists/api.php @@ -0,0 +1,12 @@ +configure() + ->dispatch();