I got an ancient project on Windows hosting, where all the paths are spelled out with the "common / js / js.js" hardcode. Is it possible to configure the web server (apache) or .htaccess so that everything works fine in Linux without redirecting all the paths to "/common/js/js.js"?

  • Strange you have a project on "Windows", it is rather a project Krivorukov, because even on a Windows path it is worth pointing out as "./common/js/js.js" and by the way, yes, you can write a script that just parses all your files and replaces the paths in them to "Orthodox" =) (what do you have there (include|requre|...) " replace with {1} "/ - Vladimir Klykov

0