Ajax over symbolic link

Ajax over symbolic link

piq_pm_pjkpiq_pm_pjk Posts: 21Questions: 7Answers: 1
edited September 2016 in Free community support

Hello,

Is it possible to make the ajax call to php over a symbolic link?

    $('#customers').dataTable( {
        ajax: 'symlink/tables/customers/table.customers.php',

The error we get when trying to read the table:

DataTables warning: table id=customers - Ajax error. For more information about this error, please see http://datatables.net/tn/7

Thanks.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 62,082Questions: 1Answers: 10,178 Site admin
    Answer ✓

    The fact that it is a symlink makes no difference to Editor or any other HTTP consumer - either it is accessible as an HTTP resource or not.

    To find out (it looks like it isn't), you would need to refer to your HTTP server's documentation. Apache for example has an option to allow or disallow the following of symlinks. Other HTTP servers probably have similar options.

    Allan

This discussion has been closed.