There is for example the /App/Public/Theme/style.css directory. In the html file the style is connected.

<link href="/App/Public/Themes/css/bootstrap.css" rel="stylesheet"> 

The question is, is it possible to somehow force apache to give static files from a specific directory when prompted

 /Theme/.*?(css|gif....) <link href="/Themes/css/bootstrap.css" rel="stylesheet"> 

?

  • I will raise the topic. - or_die

1 answer 1

Link to the docks of Apache With regular support

 <DirectoryMatch "^/www/(.+/)?[0-9]{3}"> # ... </DirectoryMatch> 

would match directories in / www / that consisted of three numbers

  • Edit apache configs is not desirable. It is necessary, somehow through htaccess - or_die