Bug 80526 - Apache refuses to start before beeing configured with apacheconf
Summary: Apache refuses to start before beeing configured with apacheconf
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apacheconf
Version: 8.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-12-27 17:26 UTC by Iago Rubio
Modified: 2013-04-02 04:17 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-01-27 14:49:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Iago Rubio 2002-12-27 17:26:15 UTC
Description of problem:

When I configured Apache Virtual Host directories with apacheconf, it refuses to
start.

It seems a silly bug as it's easy to hand solve, just a sintax error in apache.conf

The problem seems to be in the Virtual Host directories Allow and Deny sentences.

apacheconf miss the 'from' betwen Allow or Deny and the ip mask or hostname.

apache.conf extract before using apacheconf:

 	<Directory "/var/www/html/">
	 	AllowOverride none
 		Allow 10.0.0.
		Deny 0.0.0.0
		Order Allow,Deny
	</Directory> 

When apache parses the first Allow it finshes with error.
Just writing the 'from' sentence it works as spected:

 	<Directory "/var/www/html/">
	 	AllowOverride none
 		Allow from 10.0.0.
		Deny from 0.0.0.0
		Order Allow,Deny
	</Directory> 

Version-Release number of selected component (if applicable):

unknow but my system is updated via up2date .

How reproducible:


Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info:

Comment 1 Iago Rubio 2002-12-27 17:32:05 UTC
Sorry, I press enter by mistake so I could not finish the bugzilla report.

Continuing...

How reproducible:

setup an Virtual Directory with apacheconf and set the Allow and Deny directives.

Then start apache.

Steps to Reproduce:
1. open apacheconf
2. set a Virtual Host
3. set Allow and Deny directives
    
Actual results:

apache refuses to start

Expected results:

apache starts

Additional info:

no more needed (I supose)

Comment 2 Phil Knirsch 2003-01-27 14:49:02 UTC
Fixed in redhat-config-httpd-1.0.1-16 available via rawhide real soon now.

Read ya, Phil


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