Bug 40004 - apacheconf crashes when add directory options
Summary: apacheconf crashes when add directory options
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apacheconf
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact: David Lawrence
URL:
Whiteboard:
: 41950 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-10 03:50 UTC by redhat
Modified: 2013-04-02 04:15 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-05-10 14:26:41 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.