LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2013, 09:37 AM   #1
Reprovo
Member
 
Registered: Jul 2013
Posts: 37

Rep: Reputation: Disabled
How do I access the <ifmodule> in debian.


Hi.I'm currently reading a tutorial about apache server Installation.I've come to a section describing the IfModule and how to use It to edit the prefork and worker MPM settings.I have no idea how to access It.The syntax <IfModule....> confuses me.
Any assistance would be appreciated!
 
Old 10-11-2013, 10:36 AM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,093
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
Just reading I'm not a server user (yet(?)) but found more to read stackoverflow....apache-prefork-vs-worker-mpm
http://httpd.apache.org/docs/2.2/mod/core.html
http://www.proftpd.org/docs/directiv..._IfModule.html

Last edited by jamison20000e; 10-11-2013 at 10:41 AM.
 
Old 10-11-2013, 11:53 AM   #3
Reprovo
Member
 
Registered: Jul 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thanks! I'll take a look
 
Old 10-12-2013, 02:29 PM   #4
Reprovo
Member
 
Registered: Jul 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
The two articles didn't help me figure out how to access the IfModule.
 
Old 10-12-2013, 05:09 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
These are configuration directives in the Apache configuration file. In Debian, this file is usually located in /etc/apache2/httpd.conf. Note that this files also includes other configurations from, among other places, /etc/apache2/conf.d.
 
Old 10-13-2013, 02:53 AM   #6
Reprovo
Member
 
Registered: Jul 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thanks for replying. httpd.conf and conf.d both appear to be empty.I open them within the etc/apache2/ directory.
 
Old 10-13-2013, 03:40 AM   #7
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,381

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Then it is likely they are in the vhost definition (in /etc/apache2/sites-available)
 
Old 10-13-2013, 07:33 AM   #8
Reprovo
Member
 
Registered: Jul 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
I checked the default and default-ssl files in the sites-available directory and there Is nothing referring to the IfModule.

default file:

<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
 
Old 10-13-2013, 03:25 PM   #9
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Interesting, in all my Debian Squeze servers, /etc/apache2/httpd.conf contains the basic server configuration with the per-site configuration in /etc/apache2/sites-available. You might also want to look in /etc/apache2/modules-available; it's possible that things may have been split up a bit further. Somewhere in the /etc/apache2 directory there will be a main configuration file (usually called apache2.conf or httpd.conf) that includes the files in sites-enabled (which has symlinks back to sites-available) and modules-enabled (which likewise has symlinks back to modules-available). I don't particularly like how Debian sets up the Apache2 config by default. It's nice how things are split into small, easily-editable files, but sometimes it can make it a bit of a chore to find the configuration directives that you're looking for.
 
Old 10-15-2013, 01:31 PM   #10
Reprovo
Member
 
Registered: Jul 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
I'll keep looking!
 
Old 10-22-2013, 04:47 AM   #11
Reprovo
Member
 
Registered: Jul 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
They're In apache2.conf.I didn't scroll down (insert blushing face here)!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Squeeze - remote access vs. local access permissions ?? billbrach Linux - Server 2 09-26-2012 05:29 PM
How to configure IfModule mpm_worker_module and mpm_prefork_module by memory axay_singh Linux - Server 0 08-17-2010 02:52 AM
How to configure IfModule mpm_worker_module by memory vuit Linux - Server 1 11-03-2008 10:20 PM
Debian Woody: Can't access internet through router, but can access network computers marales314 Linux - Networking 3 06-09-2006 01:33 PM


All times are GMT -5. The time now is 04:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration