DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12894>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12894

Apache 2.0.40 is not assuming the DEFAULTTYPE for files without extension

           Summary: Apache 2.0.40 is not assuming the DEFAULTTYPE for files
                    without extension
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: PC
               URL: http://www.gramadosite.com.br
        OS/Version: Windows 9x
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: [EMAIL PROTECTED]


I have a PHP script called "cgi" (without extension ".php")

So, my site works this way: to access the "news" section I call:
www.mysite.com/cgi/news  and the php script must be executed and 
interpret the parameter "news" as an action.

Well.. useing apache 1.3 it works very fine! but I am trying to 
update to apache 2.0 and got this situation:

if I try: http://www.mysite.com/cgi IT TRIES TO SAVE my php script on user's 
machine 

if I try: http://www.mysite.com/cgi.php IT WORKS PRETTY WELL.

if I try: http://www.mysite.com/cgi/action IT GOES TO 404 ERROR

I think my "way" of generating urls is very good comparing to 
/cgi-bin/script?var1=value1&var2=value2 form.
Ex.: www.mysite.com/cgi-bin/myscript.php?action=news&day=15&month=09

Using /cgi/action/var1:value1/var2:value2 is more... "elegant"
Ex.: www.mysite.com/cgi/news/day:15/month:09

Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to