Re: Paths vs. Hosts
| From: | Gabor Hojtsy | Date: | Tue, 07 Sep 2004 07:51:44 +0000 |
| Subject: | Re: Paths vs. Hosts | ||
| References: | 1 | Groups: | php.doc.web |
| Request: | Send a blank email to doc-web+get-250@lists.php.net to get a copy of this message | ||
Hi Sean,
I'm not a huge fan of the way docweb uses hostnames for language and project determination. Mostly for portability reasons -- not everyone can create hosts, or even wildcard hosts, but also I just don't like it, and I can't come up with a concrete reason (-: So, instead of complaining, I fixed it. My patch is available, here: http://www.phpdoc.info/docweb-rfc/ I'd like to get some feedback. Example site: http://docweb.phpdoc.info/ It might still be a bit buggy, but I'm really looking for comments, and we'll squash bugs in the coming days, if accepted (especially rfc/). Please read the info at the rfc-patch page (above) for more info.As I have said before, I am not really positive against using subdomains, and the portability arguments convinced me that this was a bad idea after all. I would prefer then if the code would only support one way of handling access points (via path and not subdomains). Maintaining both seems to be a bad idea. Also due to the mixed code I was unable to find out whether your solution supports arbitrary entry points like: http://docweb.example.com/en http://docweb.example.com/php http://docweb.example.com/en/php http://docweb.example.com/php/en Goba