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 ...
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 [-...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
redirect × 9flask × 3
pset6 × 2
cs50x × 2
pset7 × 2
parse × 2
python × 1
server × 1
final-project × 1
cs50-web-programming-with-python × 1
php × 1
google-maps-api × 1
syntaxerror × 1
http × 1
module × 1
apache2 × 1
no × 1