Re: Paths vs. Hosts
| From: | Vincent Gevers | Date: | Tue, 07 Sep 2004 12:17:43 +0000 |
| Subject: | Re: Paths vs. Hosts | ||
| References: | 1 | Groups: | php.doc.web |
| Request: | Send a blank email to doc-web+get-251@lists.php.net to get a copy of this message | ||
On Tuesday 07 September 2004 05:30, Sean Coates wrote:
> Hello,
>
> 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 (-:
I'm lucky that no-ip.com supports wildcards.. otherwise it wouldn't have
worked for me.
going for paths only is fine by me, all we need is to get lib_general.inc.php
(include_path?) which defines PATH_ROOT and include problems should be
solved, using full paths..
>
> 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.
I saw the patch..
would be nice if you can make it PEAR CS..
>
> 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/).
yeah.. http://docweb.phpdoc.info/copyright.php
but I don't think that would be
hard to fix, just setting as www/all I guess
about the RFC System.. I think WEB_ROOT and PATH_ROOT should be used there,
won't that fix all url and path problems there?
also, i don't think that we really need long urls
like /php/nl/rfc/rfc-overview.php
/rfc/.. would be fine IMO
Vincent
>
> Please read the info at the rfc-patch page (above) for more info.
>
> S
>