MESSAGE
DATE | 2013-03-20 |
FROM | Ruben Safir
|
SUBJECT | Re: [NYLXS - HANGOUT] yabb
|
On Wed, Mar 20, 2013 at 09:38:30AM -0400, David Sugar wrote: > Isn't this what the existing apache uri rewrite rules/module is also normally > used for, to do translations between uri paths and cgi arguments? I recall > mediawiki can use rewrite rules to normalize document paths to feed the core > app. Why do they have/want to do it differently than anyone else has? > Doing it as a kind of redirect just seems bizaare to me. But I have heard > equally bizzare things recently, like people insisting that file managers > should now only present case insensitive file ordering, when of course the > native file system is and always have been case sensitive...
I'd have to look at the specifics of what your refering to, but while in the Pharmacy, the essential difference would be regular expression mapping wbich would be a fairly large security hole for a standard setup, or any set up with usage of an .htaccess file. It would allow for anyone to inject anything at all into cgi as a get statement.
Ruben
> > Ruben Safir wrote: > > > This is an example of something that is just a PIA to churn through, > > partly because these idiots are splicing an ISII crapolla fix into > > their "documentations", and secondly because assume your sitting on > > someone elses webserver, rather than your own, and thirdly because > > they believe that your apache set up has a rather rare and somewhat > > insecure module installed for RedirectMatchUrl, and then ... > > > > their last instruction fails to identify what the hell the code is > > for! Is it httpd.conf? Is it perl code to drop into the application? > > > > The who concept is to redirect a static uri like > > > > http://www.myuri.com/messages/some_numbers_as_arguments > > > > to their cgi engine automaticaly, to be translated to look > > internally as something like this: > > > > > > http://www.myuri.com/cgi-bin/yabb.pl?some_numbers_as_arguments > > > > > > It would be just simpler to drop down to mod_perl and add it as a > > script into the apache calls under the URI of > > > > http://www.myuri.com/messages/ > > > > and be done with it.... > > > > The whole discussion of symbolic links to directories is just confussing > > the issue. There doesn't need to be any real directory when the server > > is picking up that uri and handling it entirely within the apache > > engine. > > > > Ruben > >
|
|