• Hi,

    I used your plugin in apache’s UserDir environment, and all my images links are broken. After debugging your code, I found that your method of discovering site_url (eazyest-gallery.php line 486) uses $_SERVER['DOCUMENT_ROOT'] which totally different on UserDir environment. Because by default ‘DOCUMENT_ROOT’ on UserDir directory points to Apache’s global DOCUMENT_ROOT. To get your plugin works, I must set DocumentRoot manually on .htaccess file.

    Hope you find a better implementation to discover site_url or you can note this on your plugin documentation page.

    Regards,
    Lim

    https://www.ads-software.com/plugins/eazyest-gallery/

  • The topic ‘Broke image links when UserDir apache modules enabled’ is closed to new replies.