oggnik / acm-hscc

ACM High School Coding Competition Website
1 stars 0 forks source link

To make the site work with the Apache pass we need a few changes I think #51

Closed vidia closed 7 years ago

vidia commented 7 years ago

Can you make the links to images and stylesheets use the full url "acm.cs.purdue.edu/hscc/" or "/hscc/"? Right now that page forwards properly, but it doesn't load images and CSS correctly right now. I am not sure if I can make it forward completely correctly or not without that change.

oggnik commented 7 years ago

Do I also need to add /hscc/ to the other calls? For example the login post call?

oggnik commented 7 years ago

Yeah, looks like I do. I'll add an environmental variable to prepend to all the URLs

oggnik commented 7 years ago

@oggnik For future reference: app.config["APPLICATION_ROOT"] = "/abc/123"

oggnik commented 7 years ago

@vidia The entire site is now running on /hscc, can you update the apache settings to match it? (Instead of pointing to "IP", point it to "IP/hscc") Thanks

oggnik commented 7 years ago

Works now, thanks @vidia