Opened 15 years ago
Closed 15 years ago
Last modified 14 years ago
#6466 closed patch (fixed)
RewriteBase causes MythWeb ical and rss feeds to fail
Reported by: | Owned by: | Rob Smith | |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | Plugin - MythWeb | Version: | unknown |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
If the RewriteBase? apache directive is used and set to '/', instead of the default '/mythweb', a str_replace to generate the hyperlinks to the ICal and RSS files functions improperly.
The default link should be
/mythweb/ical/tv/upcoming?
becomes
/ical/tv/ical/upcoming?
The patch adds a check for this particular scenario in both places.
Attachments (2)
Change History (8)
Changed 15 years ago by
Attachment: | mythweb.fixrewritebase.patch added |
---|
Changed 15 years ago by
Attachment: | mythweb.fixrewritebase.2.patch added |
---|
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
This change has broken the link references to recorded programs. Within the defines.php, I have done a temporary workaround by appending /mythweb to the $stream_url at line 105 ($stream_url .= "/mythweb/";) to fix this, as apparently root_url define is failing to pick up the RewriteBase? setting in the mythweb.conf.
comment:3 Changed 15 years ago by
Resolution: | fixed |
---|---|
Status: | closed → new |
comment:4 Changed 15 years ago by
Owner: | changed from xris to Rob Smith |
---|---|
Status: | new → accepted |
comment:5 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:6 Changed 14 years ago by
I'm still seeing a similar issue, the link being generated is http://justinjohnson3.dyndns.org:7654/mythweb/ical/mythweb/tv/upcoming?skip_duplicates&skip_deactivated
but the correct link is http://justinjohnson3.dyndns.org:7654/mythweb/ical/tv/upcoming?skip_duplicates&skip_deactivated&
correct patch file