www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sungsoo Kim <k...@ism.co.kr>
Subject config/4750: Option -ExecCGI doesn't work.
Date Thu, 22 Jul 1999 09:24:18 GMT

>Number:         4750
>Category:       config
>Synopsis:       Option -ExecCGI doesn't work.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jul 22 02:30:01 PDT 1999
>Originator:     kiss@ism.co.kr
>Release:        1.3.6
Redhat Linux 6.0
Here is my web server's directory structure.

/home/httpd/ibbs               ; document root
/home/httpd/ibbs/script        ; .php3 files here
/home/httpd/ibbs/images        ; .gif, .jpg files here
/home/httpd/ibbs/fileupload    ; uploaded files are stored here

I want to restrict somebody not to execute any CGI/PHP3 files
in the "fileupload" directory.

So, I have modified httpd.conf as follows;


# iBBS Linux
    ServerAdmin kiss@ism.co.kr
    DocumentRoot /home/httpd/ibbs
    ServerName ibbsl
    ErrorLog logs/ibbsl-error_log
    CustomLog logs/ibbsl-access_log common

<Directory "/home/httpd/ibbs">
    Options FollowSymLinks Includes
    AllowOverride None
    Order allow,deny
    Allow from all

<Directory "/home/httpd/ibbs/fileupload">
    Options -Indexes -ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all


But test.php3 in the "fileupload" directory is always executed.
Of course I didn't forgot restarting the httpd daemon.
(I am not a novice in apache web server.)

I think -ExecCGI option is not working in my environment.
This problem is concerned to security.
You can make the same thing at any time you want.
I think you know better.
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message