You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Phill Ashworth <ad...@dwvc.org> on 2003/02/01 08:20:11 UTC
[users@httpd] Apache 2 content negotiation
I've just switched to Apache 2 and I'm experiencing some different
behaviour to my previous setup with Apache 1.3
I use content negotiation in order to have urls such as
www.mysite.com/phpdoc/new
instead of
www.mysite.com/phpdoc.php?article=new
I don't do any kind of url rewriting and the url
www.mysite.com/phpdoc/new used to work fine, phpdoc.php would be run
and I could parse the url to get any parameters ('new' in this case).
However under Apache 2 I can only access the file as
www.mysite.com/phpdoc
Anything else after the document name causes a file not found error.
I don't know if this is a difference in behaviour in Apache 2 or if I
have not configured a particular option or module correctly.
I would appreciate some suggestions
Thanks
Phill Ashworth
---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache 2 content negotiation
Posted by Phill Ashworth <ad...@dwvc.org>.
Apologies for reposting the same question but I think it may be related
to some of the current threads.
In short I have moved to Apache 2 from 1.3.
I used to use urls such as www.mysite.com/phpdoc/qparm to access the
document www.mysite.com/phpdoc.php
I would then extract script parameter(s) from the url using the
REQUEST_URI variable.
However this has ceased to function after the upgrade and I am unable
to work out why.
I now get 'file not found' errors.
MultiViews are active and working and I can access www.mysite.com/phpdoc
Any pointers in the right direction would be much appreciated.
Thanks
Phill
On Sabato, feb 1, 2003, at 08:20 Europe/Rome, Phill Ashworth wrote:
> I've just switched to Apache 2 and I'm experiencing some different
> behaviour to my previous setup with Apache 1.3
>
> I use content negotiation in order to have urls such as
> www.mysite.com/phpdoc/new
> instead of
> www.mysite.com/phpdoc.php?article=new
>
> I don't do any kind of url rewriting and the url
> www.mysite.com/phpdoc/new used to work fine, phpdoc.php would be run
> and I could parse the url to get any parameters ('new' in this case).
>
> However under Apache 2 I can only access the file as
> www.mysite.com/phpdoc
> Anything else after the document name causes a file not found error.
>
> I don't know if this is a difference in behaviour in Apache 2 or if I
> have not configured a particular option or module correctly.
>
> I would appreciate some suggestions
> Thanks
> Phill Ashworth
---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org