[GH-ISSUE #242] webvirtcloud/computes/urls.py url error #162

Open
opened 2026-02-27 15:57:35 +03:00 by kerem · 0 comments
Owner

Originally created by @xmarcux on GitHub (Jun 17, 2019).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/242

Hi, installed without a problem.
I wanted to run apache instead of nginx and converted config from nginx to apache.
That is when I realized that nginx sends raw urls, so this problem will not be seen in nginx.
Apache "cleans up" the url so then I get a django error when I click on computes.
Line 12 in: https://github.com/retspen/webvirtcloud/blob/master/computes/urls.py
That looks like this today:
url(r'^/', computes, name='computes'),
Should be changed to:
url(r'^$', computes, name='computes'),

Just the same as in:
https://github.com/retspen/webvirtcloud/blob/master/instances/urls.py Line 5
https://github.com/retspen/webvirtcloud/blob/master/webvirtcloud/urls.py Line 8
https://github.com/retspen/webvirtcloud/blob/master/logs/urls.py Line Line 5

Originally created by @xmarcux on GitHub (Jun 17, 2019). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/242 Hi, installed without a problem. I wanted to run apache instead of nginx and converted config from nginx to apache. That is when I realized that nginx sends raw urls, so this problem will not be seen in nginx. Apache "cleans up" the url so then I get a django error when I click on computes. Line 12 in: https://github.com/retspen/webvirtcloud/blob/master/computes/urls.py That looks like this today: ` url(r'^/', computes, name='computes'),` Should be changed to: ` url(r'^$', computes, name='computes'),` Just the same as in: https://github.com/retspen/webvirtcloud/blob/master/instances/urls.py Line 5 https://github.com/retspen/webvirtcloud/blob/master/webvirtcloud/urls.py Line 8 https://github.com/retspen/webvirtcloud/blob/master/logs/urls.py Line Line 5
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#162
No description provided.