httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Ludvig <michal-li...@logix.cz>
Subject Re: PATH_INFO in Apache 2.0.35 and PHP 4.2RC
Date Mon, 15 Apr 2002 13:42:10 GMT
On Mon, 15 Apr 2002, Artiom Morozov wrote:

> what about RewriteCond with file testing and if it's not a file, using 
> [E:PATH_INFO=$1]?

This should work for the second problem, but using this workaround for the 
first one doesn't look too clean to me. IMHO There should be a better 
solution... 

ML

> îÁ 2002.04.15 16:05 Michal Ludvig ÎÁĐÉÓÁĚ:
> > Hi all,
> > I'm trying to upgrade Apache 1.3.20 with PHP 4.0.5 to the new Apache
> > 2.0.35 and PHP 4.2RC (taken from CVS). I already made almost
> > everything
> > working, but am still fighting with these topics:
> > 
> > 1) I can't make PATH_INFO working.
> > Suppose I have an URL http://server/script.php which works, but
> > http://server/script.php/something doesn't. In the old Apache it
> > worked
> > without problems. I also tried to put 'AcceptPathInfo on' into
> > httpd.conf
> > as well as to .htaccess, but nothing changed. Apache just yields
> > "404-object not found" message. How do I let it work?
> > 
> > 2) One of my virtual hosts uses /some/script.php as a DocumentRoot.
> > Apache 1.3 accepted and used it (passing a propper PATH_INFO to it),
> > but
> > Apache 2.0 doesn't. It complains about non-existing DocumentRoot and
> > refuses to serve this virtual host.
> > 
> > Does anybody have an idea how to make these two things working?
> > 
> > Thanks in advance.
> > 
> > Michal Ludvig
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message