I'm contacting you for help.
I develop a site in laravel with sub-domain and dynamic domain. I don't have any problems as long as I'm in the Laravel logic. On the other hand, my client added the request to keep url and part of the site with another php site.
To summarize: https://test.com/livres/auteurs/ = new website https://test.com/pca/{variable} = old site to keep.
I tried to put it in the public folder and with a htaccess to prevent laravel from going on it.
It fails. and I get in the server logs this error:[Wed Jan 09 13:04:00 2019][error][client 62.197.103.26] File does not exist: /home/www/mondossier/mondossier/public/ca/D233FA6A
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteBase /
RewriteRule ^(ca) - [L]
#RewriteRule ^/ca\/([a-z0-9-]+)\$ /ca/ [R] /index.php?code=lireArticle [L]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond "%{REQUEST_URI}" "!^/ca/" [NC,OR]
RewriteCond %{QUERY_STRING} ^ca/ [NC]
RewriteRule ^/ca/([A-Z0-9]+)$ https://test.com/ca/index.php?code=$1 [L]
RewriteRule ^ index.php [L]
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule . - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{THE_REQUEST} ^GET.index.php [NC]
RewriteRule (.?)index.php/(.*) /$1$2 [R=301,NE,L]
Do you see my mistake? Any other leads?
Thank you in advance