skip to Main Content

Proxyreverse in Apache2 with wordpress

I have installed and configured Wordpress on my server using also apach2 virtualhosts. I made a virtualhost with this config <VirtualHost *:80 *:443> ServerAdmin [email protected] ServerName yourluxuryroad.com ServerAlias www.yourluxuryroad.com DocumentRoot /var/www/yourluxuryroad ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined RewriteEngine on RewriteCond %{SERVER_NAME}…

VIEW QUESTION

Can't use the rows being retrieved from my database to build <li> items – Jquery ajax

app.get('/api/getTransactions/', function(req, res){ console.log("GET: Transactions"); let sql = 'SELECT * FROM balance;'; db.all(sql, [], function(err, rows){ var result = {}; if(err){ res.status(404); result["error"] = err.message; } else { console.log(JSON.stringify(rows)); res.json(rows); } }); }); function createTL() { $.ajax({ method: "GET", url:…

VIEW QUESTION
Back To Top
Search