1 vote
Accepted

pset7 - flash message does not show on redirect

In flask, flash messages are stored in the session cookie. The first thing that login does is session.clear(), which destroys the cookie, and with it, the message. I would never recommend removing ...
user avatar
1 vote

redirect my apache index?

I went with a change in /etc/apache2/sites-available Works good thanks! Here is some shortcuts for future reference. pi@raspberrypi2 /etc/apache2/sites-available $ apache2 default Usage: apache2 [-...
user avatar
  • 96
1 vote
Accepted

redirect my apache index?

NEW ADVICE: This tutorial should help you to change the DocumentRoot of your website by using Apache2 Virtual Hosts. The focus of the tutorial is on how to host more than one domain or subdomain on ...
user avatar
  • 3,035
1 vote
Accepted

Pset 6 - Parse - Too dynamic?

One problem is int pathend = strcspn(abpathstart, lastspace) + 1;. strcspn doesn't work the way you think it does (or wish it did!). From the man page (emphasis added): The strcspn() function ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible