Bug 40004

Summary: apacheconf crashes when add directory options
Product: [Retired] Red Hat Linux Reporter: redhat
Component: apacheconfAssignee: Jonathan Blandford <jrb>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: ddumas, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-10 14:26:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description redhat 2001-05-10 03:50:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

Description of problem:
when adding a directory option of a Virtual Host it crashes.


How reproducible:
Always

Steps to Reproduce:
1.start apacheconf
2. edit a virtual host
3. highligh directories
4. click add
5. click Let .htaccess files override directory options
6. click ok.
the program outputs error then hangs...


Actual Results:  Traceback (innermost last):
  File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in
__call__
    ret = apply(self.func, a)
  File "/usr/share/apacheconf/ApacheConf.py", line 870, in
on_dir_options_add_button_clicked
    run_dir_options_dialog (dialog)
  File "/usr/share/apacheconf/ApacheConf.py", line 846, in
run_dir_options_dialog
    dir_name = control.dehydrate_dir_options (dir_name)
  File "/usr/share/apacheconf/ApacheControl.py", line 760, in
dehydrate_dir_options
    dir.AllowOverride = Director.FROM_ALL
NameError: Director

Expected Results:  apacheconf should have adjusted the configuration files 
properly and not crashed.

Additional info:

since any manual change will be overwritten, this bug basically renders 
apacheconf as a useless tool.

Comment 1 Phil Knirsch 2001-05-10 14:51:23 UTC
Fixed in CVS, will be available via Rawhide soon...

Read ya, Phil

Comment 2 Phil Knirsch 2001-05-23 12:50:59 UTC
*** Bug 41950 has been marked as a duplicate of this bug. ***