Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50810 - webmin apache module cannot find config files
Summary: webmin apache module cannot find config files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL: http://www.gentoo.org/news/en/gwn/200...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-11 16:22 UTC by Mario Vazquez
Modified: 2004-05-15 01:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix to apache configuration on webmin (apache2fix.diff,821 bytes, patch)
2004-05-12 17:12 UTC, Mario Vazquez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Vazquez 2004-05-11 16:22:00 UTC
Webmin 1.130 and 1.140 are unable to find the apache2 config files since those were moved to another location with the recent apache2-2.0.49-r1 as mentioned in the link.
http://www.gentoo.org/news/en/gwn/20040329-newsletter.xml

Reproducible: Always
Steps to Reproduce:
1.  Emerge apache2
2.  Emerge webmin
3.  Try to configure apache2 from the webmin apache module.

Actual Results:  
The Apache root directory /etc/apache does not exist. If you have Apache
installed, adjust the module configuration to use the correct paths.

Expected Results:  
The apache options should be visible.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-11 21:52:10 UTC
unfortunately, I am HEAVILY swamped and will be for a few weeks to come.  This is now at the top of my long-list, but I don't know when I can get to it.  Do you think youu might be able to provide a patch to get this to work?  Otherwise it will probably be around the 19th before I can even look at this...
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-11 21:53:07 UTC
btw, youu probably know that, but... as a workaround, you can just manually configure the apache module to point to the new location...
Comment 3 Mario Vazquez 2004-05-12 17:03:26 UTC
Yeah, I can make the changes manually, but would be a little easier if the modules support the correct files.  But there is another problem.  Apparently the Apache module assumes that the apache version installed is 1.3.x.  So the problem is more complex.  It would be nice if the ebuild detects if the user have apache1/2 installed and applied the patch if needed (only for apache2).

I will post the config changes that reflect current apache-2.0.49-r1 ebuild 
Comment 4 Mario Vazquez 2004-05-12 17:12:57 UTC
Created attachment 31305 [details, diff]
Fix to apache configuration on webmin

This should be applied ONLY if apache2 is installed
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-12 19:21:57 UTC
yes i agree... everything should work out of the box ;)  thanks.  I'll get to this asap.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-15 01:00:43 UTC
adding to portage right now...