-- Leo's gemini proxy
-- Connecting to lucaweiss.eu:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
Have you had troubles getting your exported Unity WebGL project to work?
> GET /Release/UnityConfig.js **404 (Not Found)**
>
> GET /Release/fileloader.js **404 (Not Found)**
>
> GET /Release/1446299115.js **404 (Not Found)**
I got the instructions here:
Export your Unity project as WebGL (probably already did this).
Move every file from the `Release` folder into the `Compressed` folder. You can now delete the `Release` folder.
Your folder structure should look like this:
.htaccess index.html Compressed * many files (.datagz, .jsgz, .memgz) TemplateData * many image files, 1 .css & 1 .js file
Enter `sudo a2enmod rewrite` in the terminal (to activate the `rewrite` Apache module).
Open `/etc/apache2/apache2.conf` with your favorite text editor and find the following part:
`<Directory /var/www/>` / `<Directory /var/www/html/>` (or wherever your "main" folder is)
Change `AllowOverride` from `None` to `All` and save the file.
I hope this helped you!
-- Response ended
-- Page fetched on Sat May 11 14:39:02 2024