Data Importer Tool
-
I'm using pretty much the standard, the default .htaccess that comes with the data-importer tool, and the generated .htpasswd file I created. I've just added the below. Just update the
# Whitelist API Requests
line with API requests from the services you're using with the data-import tool.# Password Protect Entire Directory AuthName "Restricted Access" AuthType Basic AuthUserFile /path/to/.htpasswd require valid-user # Whitelist API Requests Allow from api.domain.com
-
@JLX89 said in Data Importer Tool:
- Restart the LAMP App and you can access the interface at: https://firefly-importer.domain.tld
Many thanks for this, very helpful !
However after doing all this configuration, I cannot access to the data-importer athttps://firefly-importer.{my-domain.tld}
I have a DNS error.I don't see in the
.env
where the URL is set ? Also, I guess I need to create manually add an entry to my DNS record for thefirefly-importer
sub domain ? -
@cylon Did you update the app "public route" in your Apache configuration from
/app/data/public
to/app/data/data-importer/public
and restart the app? You'll also want to double check the permissions:sudo chown -R www-data:www-data /app/data/data-importer sudo chmod -R 775 /app/data/data-importer/storage
The DNS is handled by the LAMP app from the settings you chose when you deployed the app.
-
@dadams-AU More than likely along the lines of what @robi said.
You'll need to retrace your steps and ensure you completed the configuration change in the public routes in
/app/data/apache/app.conf
and ensure that you set the permissions correctly using:sudo chown -R www-data:www-data /app/data/data-importer sudo chmod -R 775 /app/data/data-importer/storage
If you haven't restarted the LAMP app, you'll need to do that before all of the previous settings work correctly.
-
@jadsmrizk The latest lamp app has 8.3 now
-