Re: Apache issue

Jacob Bresciani <[email protected]>
Newsgroups gmane.comp.security.linux
Message-ID <[email protected]>
quick test, either read through the /etc/init.d/apache (sometimes httpd)
startup script or start apache manually.

apache -f config_file
sometimes
httpd -f config_file

-f as you should have guessed forces the config file to use.

On Wed, 2005-06-22 at 12:59 -0400, Alan Harrylal wrote:
> I agree with Tom. Sometimes apache uses the httpd.conf in /etc/httpd/
> 
> -- Cheers,
> 
> Alan Harrylal
> Systems Administrator
> Florida International University
> 
> ----- Original Message ----- 
> From: "Tom Stowell" <[email protected]>
> To: <[email protected]>; <[email protected]>
> Sent: Wednesday, June 22, 2005 10:37 AM
> Subject: Re: Apache issue
> 
> 
> Just a shot in the dark, but make sure Apache is using the right config 
> file.
> 
> 
> 
> Tom Stowell
> Network Administrator
> DeForest Area School District
> 520 E. Holum St.
> DeForest, WI 53532
> Fax: (608)-842-6545
> Voice: (608)-842-6500
> Email: <[email protected]>
> 
> 
> console, n. [From latin consolatio(n) "comfort, spiritual solace."] A device 
> for displaying or printing condolances or obituaries for the operator.
>             -- Stan Kelly-Bootle, The Computer Contradictionary.
> 
> 
> >>> <[email protected]> 06/22/05 02:44AM >>>
> Hello,
> I'm using Apache/2.0.52 on Fedora Core 3. I've copied the configuration file 
> of the previous apache's version on a Redhat, as I do everytime when 
> upgrading to a new version of Apache (I configured only the new httpd.conf 
> manually), and now the problem is that none of the security measures is 
> working, I'm bypassing all of them (.htaccess and ip list specification).
> 
> The mod_access module is enabled.
> 
> In my httpd.conf, I have:
> 
> AllowOverride All
> 
> <Directory /www/html/directory/rzone>
>         Order Allow,Deny
>         Allow from  10.0.10.
>         Deny from all
> </Directory>
> 
> 
> 
> My .htaccess is:
> AuthType Basic
> AuthName Welcome
> AuthUserFile /www/html/directory/rzone/.htmdp
> 
> <Limit GET POST>
>         require valid-user
> 
>         Order Allow,Deny
>         Allow from  10.0.10.
>         Deny from all
> </Limit>
> 
> When I was desprate, I've configured the access file as follow:
> 
> Order Allow,Deny
> Deny from all
> 
> and I still have access to the web site.
> 
> Any idea ?
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.