Jefferson49 / ExtendedImportExport

A weebtrees custom module to download GEDCOM files on URL requests with the tree name, GEDCOM file name and authorization provided as parameters within the URL.
GNU General Public License v3.0
4 stars 0 forks source link

Directory paths #15

Open angelocorbo opened 3 weeks ago

angelocorbo commented 3 weeks ago

Hi,

Trying to run the bash script and it's not clear what my version of " http://MY_URL/webtrees/index.php?route=/webtrees/ " should be, because my set up doesn't have a 'webtrees" directory but a "wt" instead.

Regardless, running it returns:

Resolving icorbus.com... 79.47.19.32 Connecting to icorbo.com|79.47.19.32|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2024-08-21 17:41:44 ERROR 404: Not Found.

Let me know what questions this raises,

Angelo C.

Jefferson49 commented 3 weeks ago

Hello Angelo,

the URL is: BASE_URL/index.php?route=/webtrees/DownloadGedcomWithURL

BASE_URL is defined in the /data/config.ini.php file in your webtrees installation. In the config.ini.php file, you will find a line: base_url="..."

For example, if: base_url="http://mysite.info/wt" The download URL will be: http://mysite.info/wt/index.php?route=/webtrees/DownloadGedcomWithURL