Closed Bug 221581 Opened 22 years ago Closed 22 years ago

HTML documents and CGI scripts should reside in different directories

Categories

(Bugzilla :: Installation & Upgrading, enhancement)

2.16.3
x86
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 44659

People

(Reporter: u20230201, Assigned: zach)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1) Gecko/20021204 Build Identifier: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1) Gecko/20021204 I'm having trouble configuring Apache2 to execute CGI scripts, but not HTML files in the bugzilla directory. Either Apache will execute both, or display both. It would be much easier if both types of files would live in different directories. Alternatively, improve the documentation. Reproducible: Always Steps to Reproduce: Expected Results: HTML displayed, CGI executed.
Version: unspecified → 2.16.3
you need AddHandler cgi-script .cgi Options +ExecCGI on the <Directory> block for your Bugzilla directory (and the <Directory> block needs to specify the real path, not a symlink). Beyond that, the suggestion of separating the HTML from the cgi is I believe the intention of bug 44659, so making this a dupe of that one. *** This bug has been marked as a duplicate of 44659 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.