Ticket UUID: | 6cd35b3ca5b47cbd524787a9ea78809287504b0f | ||
Title: | self referring links determined wrong in cgi mode | ||
Status: | Closed | Type: | Code_Defect |
Severity: | Priority: | ||
Subsystem: | Resolution: | Rejected | |
Last Modified: | 2008-12-03 14:44:05 | ||
Version Found In: | dec2c22d9d | ||
Description & Comments: | |||
In cases where the cgi is called called by a handler and not directly in the url fossil generates ugly links. you can see an example of this at http://roxirc.lighter.net/. suggest using REQUEST_URI rather than SCRIPT_NAME
drh added on 2008-11-26 02:09:52: kkinnell added on 2008-12-01 15:23:02: anonymous claiming to be rockshox added on 2008-12-02 18:43:17: DirectoryIndex home <Location "/fossil.cgi"> SetHandler None </Location> anonymous added on 2008-12-02 18:44:07: Action fossil /fossil.cgi SetHandler fossil drh added on 2008-12-03 14:44:05: Everything works correctly as currently implemented. You are asking for a change that will make URLs more cosmetically appealing when using fossil under a particular configuration of Apache. Cosmetics are nice. But everything works now. And to implement this change would probably break other configurations. I think it is much better to confirm to standards and work across all platforms than to try to make the URLs a little shorter when using certain configurations of Apache. Apache is widely used, but it is not universal. The main fossil website is an example of a website that does not use Apache. www.fossil-scm.org uses a single-file webserver dispatched using inetd and called althttpd. |