You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Harrell, Roger" <rj...@bechtel.com> on 2004/11/12 01:19:35 UTC

RE: [users@httpd] and ForceType directive behaving odd ly

That was it. I knew it was something simple I was just missing. 

THANKS!!

Roger

-----Original Message-----
From: Tim Burden [mailto:Tim@Burden.ca]
Sent: Thursday, November 11, 2004 4:04 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] <Location> and ForceType directive behaving
oddly


Maybe AcceptPathInfo
http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo

----- Original Message ----- 
From: "Harrell, Roger" <rj...@bechtel.com>
To: <us...@httpd.apache.org>
Sent: Thursday, November 11, 2004 6:58 PM
Subject: [users@httpd] <Location> and ForceType directive behaving oddly


> Ok, here's the situation. I frequently use configs in both httpd.conf and
> .htaccess such as:
>
> <Location /filenamt>
> ForceType application/x-httpd-php
> </Location>
>
> or
>         <Files filename>
>         ForceType application/x-httpd-php
>         </Files>
>
> respectively to allow scripting with URLS not containing ?s and other
> special characters. So that way I can have a URL:
>
> http://www.somedomain.com/filename/variable1/variable2
>
> and so forth. I've had this working for several years, and just went to
> implement another script in the same fashion and it doesn't work.
>
> It's on the same machine, but a different <virtualhost> as several other
> domains that have this working. When I go to:
>
>
> http://www.somedomain.com/filename
>
> It behaves properly, but if I go to:
>
>
> http://www.somedomain.com/filename/variable1
>
> I get an Object not found error (404). The error logs show the 404 on:
> http://www.somedomain.com/filename/variable1
>
> I've checked the configs and can not see anything that is different.
Anyone
> have a clue what I might be missing?
>
> Thanks,
> Roger
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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

---------------------------------------------------------------------
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